Skip to content

Quieter homepage: masthead CTA, language dropdown, strip edition noise - #203

Merged
jimdc merged 6 commits into
mainfrom
priority-homepage-change-direct-from-the-owner-a
Jul 30, 2026
Merged

Quieter homepage: masthead CTA, language dropdown, strip edition noise#203
jimdc merged 6 commits into
mainfrom
priority-homepage-change-direct-from-the-owner-a

Conversation

@jimdc

@jimdc jimdc commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

User feedback asked for a quieter homepage and a clearer path to email updates — without a full redesign.

What changed

  1. Edition banner removed — date line, "N notices today, from M agencies", and the section-count strip (Procurement / Special Materials / …) are gone.
  2. Task scenario grid removed — the "What are you here to do?" block is gone.
  3. Language control — the row of language pills is a compact dropdown at the top right. All locales remain; the closed control shows the current language; selection still persists.
  4. Email CTA under the tagline — "Want email updates?" with an email field signs people up for general weekly contract updates through the existing double-opt-in /subscribe flow. 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

Masthead before, desktop

After

Masthead after, desktop

Mobile (390px)

Before

Masthead before, mobile

After

Masthead after, mobile

Validation

  • Characterization: node --test test/homepage_cta.test.mjs test/scenario_routing.test.mjs
  • Worker subscribe path: cd worker && node --test test/home_cta_subscribe.test.mjs
  • Local axe (en/es load) on the quiet masthead
  • Reading-level ratchet passes on all pages
  • Screenshot raw URLs curl-verified HTTP 200 at commit 1eb620bb24dc5e6eb2379cb0987a918de4af3ba9

@jimdc
jimdc enabled auto-merge July 30, 2026 22:49
@jimdc
jimdc added this pull request to the merge queue Jul 30, 2026
@jimdc
jimdc removed this pull request from the merge queue due to a manual request Jul 30, 2026
@jimdc jimdc changed the title Quieter homepage: drop edition cards, language dropdown, email signup Quieter homepage: masthead CTA, language dropdown, strip edition noise Jul 30, 2026
@jimdc
jimdc enabled auto-merge July 30, 2026 23:22
jimdc added 6 commits July 30, 2026 19:36
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
jimdc force-pushed the priority-homepage-change-direct-from-the-owner-a branch from 342c164 to 84c9057 Compare July 30, 2026 23:42
@jimdc
jimdc added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit 52bfdd3 Jul 30, 2026
11 checks passed
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>
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.

1 participant