Skip to content

Clean up Tracking subtabs: shared styles file, alphabetize, fix lint warnings#4819

Merged
DaleMcGrew merged 1 commit into
wevote:developfrom
ric0de:WV-4237MergeJoinedInvited
May 20, 2026
Merged

Clean up Tracking subtabs: shared styles file, alphabetize, fix lint warnings#4819
DaleMcGrew merged 1 commit into
wevote:developfrom
ric0de:WV-4237MergeJoinedInvited

Conversation

@ric0de
Copy link
Copy Markdown
Contributor

@ric0de ric0de commented May 19, 2026

  • Move the shared Tracking styled-components into their own file (Style/SupporterTrackingStyles.jsx) so they don't pollute Style/ManageMyCandidates or SupporterTracking.

  • Add a small TrackingHeaderActionContext file so the three subtabs can share the header-action slot without a circular import.

  • Alphabetize the styled-components in all the Tracking files and the shared style files, just to keep things easy to find.

  • Add PropTypes to ActionPill, the Menus exports, SupportersJoined/Invited/ToRemind, and CardOpinionRow. Also move getPendingActions/getActionsLabel out of SupportersJoined so the useMemo hook stops complaining about missing deps.

…warnings

- Move the shared Tracking styled-components into their own file (Style/SupporterTrackingStyles.jsx)
  so they don't pollute Style/ManageMyCandidates or SupporterTracking.
- Add a small TrackingHeaderActionContext file so the three subtabs can share the
  header-action slot without a circular import.
- Alphabetize the styled-components in all the Tracking files and the shared style files,
  just to keep things easy to find.
- Add PropTypes to ActionPill, the Menus exports, SupportersJoined/Invited/ToRemind, and
  CardOpinionRow. Also move getPendingActions/getActionsLabel out of SupportersJoined so
  the useMemo hook stops complaining about missing deps.
@ric0de ric0de force-pushed the WV-4237MergeJoinedInvited branch from 51c32ef to 0c6e6e1 Compare May 19, 2026 05:48
@DaleMcGrew
Copy link
Copy Markdown
Member

👍

@DaleMcGrew DaleMcGrew merged commit 50a5e5b into wevote:develop May 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants