Quieter homepage: masthead CTA, language dropdown, strip edition noise - #203
Merged
Merged
Conversation
jimdc
enabled auto-merge
July 30, 2026 22:49
jimdc
enabled auto-merge
July 30, 2026 23:22
Remove the three-card edition strip, move language choice into a compact top-right dropdown, add a general-interest email CTA that uses the existing double-opt-in /subscribe path, and make section counts without a lens look non-interactive. Screenshots and characterization tests included.
Shorten the new signup strings (Want email updates? / Sign up / or pick topics) and drop the extra Language label text that nudged subpage grades above their committed baselines. Locales stay in parity.
rerenderForLang still read crol_today_v2 while loadToday wrote v3, so the edition summary stayed English after a language switch and tripped the stray-English guard. Point both at the same key and guard it with a test.
Drop the date/counts edition banner and the What are you here to do? section so the homepage is masthead, email signup, category tabs, then content. Update readiness waits, characterization tests, and after shots.
Task routes remain deep-link hash panes; homepage no longer links them from a scenario grid, so stop requiring those entry anchors in markup.
Scenario shortcuts still validate live against Open Data and the receipt, but the homepage no longer ships scenario-route anchors, so the gate must not demand or rewrite that markup.
jimdc
force-pushed
the
priority-homepage-change-direct-from-the-owner-a
branch
from
July 30, 2026 23:42
342c164 to
84c9057
Compare
jimdc
added a commit
that referenced
this pull request
Jul 31, 2026
#203) * Reduce homepage noise and add email signup under the masthead Remove the three-card edition strip, move language choice into a compact top-right dropdown, add a general-interest email CTA that uses the existing double-opt-in /subscribe path, and make section counts without a lens look non-interactive. Screenshots and characterization tests included. * Simplify homepage CTA copy for the reading-level ratchet Shorten the new signup strings (Want email updates? / Sign up / or pick topics) and drop the extra Language label text that nudged subpage grades above their committed baselines. Locales stay in parity. * Fix today-strip language re-render after cache key bump rerenderForLang still read crol_today_v2 while loadToday wrote v3, so the edition summary stayed English after a language switch and tripped the stray-English guard. Point both at the same key and guard it with a test. * Remove homepage edition strip and task scenario grid Drop the date/counts edition banner and the What are you here to do? section so the homepage is masthead, email signup, category tabs, then content. Update readiness waits, characterization tests, and after shots. * Update task-first characterization after homepage scenario removal Task routes remain deep-link hash panes; homepage no longer links them from a scenario grid, so stop requiring those entry anchors in markup. * Stop requiring homepage scenario routes in preset validation Scenario shortcuts still validate live against Open Data and the receipt, but the homepage no longer ships scenario-route anchors, so the gate must not demand or rewrite that markup. --------- Co-authored-by: James Carroll <jimdc@users.noreply.github.com>
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
User feedback asked for a quieter homepage and a clearer path to email updates — without a full redesign.
What changed
/subscribeflow. A secondary link ("or pick topics") goes to the Alerts tab for topic-specific watches.Page flow
Masthead + tagline → email CTA → category tabs → content.
What this means for you
The homepage opens quieter. You can choose a language from a small menu at the top right. If you want email updates, enter your address under the title — you get a confirmation email before anything is saved. Use the category tabs to browse Contracts, Staffing, Zoning, and the rest, or open Alerts to watch specific topics.
Before / after (masthead)
Desktop (1440px)
Before
After
Mobile (390px)
Before
After
Validation
node --test test/homepage_cta.test.mjs test/scenario_routing.test.mjscd worker && node --test test/home_cta_subscribe.test.mjs1eb620bb24dc5e6eb2379cb0987a918de4af3ba9