Skip to content

Pass known politician name into loading cards so drawers don’t show page titles - #4929

Merged
DaleMcGrew merged 1 commit into
wevote:developfrom
Almee98:WV-5130
Sep 25, 2026
Merged

DaleMcGrew merged 1 commit into
wevote:developfrom
Almee98:WV-5130

Conversation

@Almee98

@Almee98 Almee98 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What github.com/wevote/WebApp/issues does this fix? WV-5130

Changes included this pull request?

  • Gate URL-derived name/state parsing to politician SEO paths (…/-/) so host routes like /ballot no longer become card titles
  • Add namePreviewText through the politician/candidate card loading path (CardForListBodySkeleton, CardForListBody, CardForListBodyPlaceholder)
  • Wire the known ballotItemDisplayName from OrganizationModal, CandidateCardForList, and RepresentativeCardForList, and set politicianWeVoteId earlier in the drawer mount

@DaleMcGrew
DaleMcGrew merged commit b129ab2 into wevote:develop Sep 25, 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