Skip to content

Commit

Permalink
cap the display and mounting of more than 50 pinboards - since Apollo…
Browse files Browse the repository at this point in the history
… doesn't support more than 100 subscriptions and more than 50 suggests people aren't transitioning workflow items to the right statuses
  • Loading branch information
twrichards committed Nov 21, 2024
1 parent eff5862 commit 827034e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/selectPinboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SectionHeading: React.FC = ({ children }) => (
<div css={{ ...textMarginCss, color: palette.neutral["46"] }}>{children}</div>
);

export const MAX_OPEN_PINBOARDS_TO_DISPLAY = 1;
export const MAX_OPEN_PINBOARDS_TO_DISPLAY = 50;

interface SelectPinboardProps {
pinboardsWithClaimCounts: PinboardDataWithClaimCounts[];
Expand Down Expand Up @@ -470,7 +470,8 @@ export const SelectPinboard = ({
{numberOfPinboardsOverDisplayLimit > 0 && (
<div
css={css`
padding: ${space[1]};
padding: ${space[2]}px;
font-weight: normal;
font-style: italic;
`}
>
Expand Down

0 comments on commit 827034e

Please sign in to comment.