Visitar URL original
USWDS-Site - Monthly calls: Shorten the in-page navigation links by AKnassa · Pull Request #3260 · uswds/uswds-site · GitHub
Skip to content

USWDS-Site - Monthly calls: Shorten the in-page navigation links - #3260

Open
AKnassa wants to merge 1 commit into
uswds:mainfrom
AKnassa:ak-3077-monthly-calls-nav
Open

AKnassa wants to merge 1 commit into
uswds:mainfrom
AKnassa:ak-3077-monthly-calls-nav

Conversation

@AKnassa

@AKnassa AKnassa commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Shortened the in-page navigation links on the Monthly Calls page by replicating the design the USWDS team prototyped on the dw-mc-titles branch: date-only headings with the call title as bold text below.

Related issue

Closes #3077

Problem statement

Each Monthly Calls section heading combined the date and the full call title (for example, "December 2024 : USWDS and Federal Website Standards"). The in-page navigation builds its links from those headings, so the nav was a column of very long links that were hard to scan.

Solution

Replicated @thisisdano's prototype from the dw-mc-titles branch — the template is now byte-identical to it — per @amyleadem's comment that "We should use this design as a starting point." Headings become just the date ("December 2024"), and the call title renders as bold text directly below the heading.

Two things inherent to the prototype's design, flagged for reviewers rather than hidden:

  • The bold line below the heading now shows the call title where the subtitle used to render, so subtitles (present on most entries) no longer appear on the page. This matches the prototype exactly, which has no subtitle reference.
  • Heading anchor IDs shorten (for example #december-2024--uswds-and-federal-website-standards → #december-2024), so any external deep links to old anchors won't land on the heading anymore.

Testing and review

  • Rendered page verified: date-only headings, bold titles below, short in-page nav link text; also verified an entry without a title renders cleanly (no stray colon or empty bold line).
  • bundle exec rspec passes (10 examples, 0 failures).
  • To review: open About → Monthly calls in the preview and compare the in-page nav against the prototype branch.

Section headings combined date and title, producing very
long in-page nav links. Replicate the design maintainers
prototyped on the dw-mc-titles branch and endorsed in the
issue: date-only h2 headings with the call title as bold
text below. Faithful to the prototype, which renders the
title in place of the former subtitle line.

Fixes uswds#3077
@AKnassa
AKnassa marked this pull request as ready for review July 19, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Triage

Development

Successfully merging this pull request may close these issues.

USWDS-Site - Bug: Shorten in-page nav links on Monthly Calls page

1 participant