codeforboston/maple

Legislator Profile - Hyperlink to Tab

Open

#2,212 opened on Jul 30, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (168 forks)auto 404
Ready for Developmentgood first issue

Repository metrics

Stars
 (56 stars)
PR merge metrics
 (PR metrics pending)

Description

Summary

On the new Legislator Profile, we have a variety of tabs exposing different data (e.g. Campaign Finance, Election, Votes, etc). We currently always load the "Priorities" tab on page load, but I think it would be valuable to allow users to link to specific tabs (e.g. /legislators/194/ABC1 always opens to the default "Priorities" tab, but /legislators/194/ABC1#elections opens to the "Elections" tab instead).

Success Criteria

  • Add the tab for legislator profiles (e.g. "campaignFinance", "elections", etc. ) to the URL so that we can link directly to a tab on the Legislator Profile page

Contributor guide