Repository navigation
Restyle lobbying beta banner as a slim one-line bar - #2304
Merged
Merged
Conversation
mvictor55
requested review from
Mephistic,
alexjball,
kiminkim724,
mertbagt,
nesanders,
sashamaryl and
timblais
as code owners
October 21, 2026 18:59
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Mephistic
approved these changes
Oct 22, 2026
Mephistic
left a comment
Collaborator
There was a problem hiding this comment.
LGTM - the new banner is much less intrusive.
We should probably prefer to either use styled-components (or switch back to CSS Modules) rather than dropping these styles in pure objects... but the trade-offs for that don't really matter for this component, so I'm fine merging this now and filing that under "problem for the React 19 upgrade" so we can get this out now.
Heads up - it looks like the screenshots in the PR description didn't quite make it in - only the filenames are there.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restyles the Lobbying Explorer's beta banner. It was three lines of large text that pushed the page down; it is now a slim, single-line orange bar with a small "BETA" tag and a shorter message: "The lobbying explorer is in beta. Send feedback to info@mapletestimony.org".
components/lobbying/LobbyingSubnav.tsx). The sharedBannercomponent used on bill, profile and conference committee pages is untouched.public/locales/en/lobbying.jsonare replaced (betaLine1/betaLine2→beta/feedback); nothing else used the old keys.Checklist
firestore.indexes.json. (N/A: no queries)Screenshots
lobbying-before-desktop.png
lobbying-after-desktop.png
lobbying-before-phone.png
lobbying-after-phone.png
Known issues
i18next/no-literal-stringlint warning, unchanged).Steps to test/reproduce
/lobbyingon the preview deployment./lobbying/bills,/lobbying/clientsand/lobbying/firmsand confirm the same bar appears.