Skip to content

Combine Newsroom and Awards into a single filterable page#18721

Open
dwahbe wants to merge 1 commit intopulumi:masterfrom
dwahbe:feature/combined-newsroom
Open

Combine Newsroom and Awards into a single filterable page#18721
dwahbe wants to merge 1 commit intopulumi:masterfrom
dwahbe:feature/combined-newsroom

Conversation

@dwahbe
Copy link
Copy Markdown

@dwahbe dwahbe commented Apr 29, 2026

Addresses #18717, feel free to ignore if not the right direction.

Proposed changes

This PR consolidates the existing Newsroom (/about/newsroom/) and Awards (/awards/) pages into a single Newsroom at /about/newsroom/, with filter tabs for News, Press, and Awards. The Awards URL aliases to the new page so external links and search rankings carry over.

A unified Newsroom page

  • Filter tabs at the top: All, News, Press, Awards. State lives in the URL hash so individual filters are linkable and the back/forward buttons work.
  • Featured cards for the most recent items, followed by an Archive list for older items.
  • The Archive paginates with a "Load more" button (page size 20). Pagination state is per-filter, so switching tabs starts fresh.
  • "All" interleaves press releases, news coverage, and awards in chronological order; each tab also has its own featured + archive split computed from its filtered feed.

Card design

  • A uniform card grid with image, type chip, date, title, and (for press releases) a short summary.
  • On the All tab, each card shows a colored chip indicating its type. On a single-type tab, the chips are hidden since the type is implied by the active filter.
  • The bold-on-active tab uses a hidden ghost label to reserve width, and the date and chip share matching vertical padding, so toggling tabs doesn't cause horizontal or vertical layout shifts.

Content and routing

  • content/about/newsroom.md becomes the unified page; content/awards/_index.md is removed and /awards/ aliases to the new URL.
  • data/awards.toml gets a date field on each entry (sourced from the original publication or announcement date) so awards sort chronologically alongside press and news.
  • Top nav and footer collapse the previous two entries into a single "Newsroom — News, press, and awards" entry.
  • The About page (/about/) keeps a compact "In the Newsroom" preview using the same card partial, with one item from each category.

Implementation notes

  • New layout in layouts/page/newsroom.html with four small partials in layouts/partials/newsroom/:
    • card.html — the featured-card layout
    • archive-row.html — the compact archive row
    • type-meta.html — single source of truth for type → label / badge color / track-name mapping
    • sort-key.html — parses the human-readable dates from the data files into a sortable `YYYY-MM-DD` key
  • Filter behavior in theme/src/ts/newsroom.ts. Uses the existing `analytics.track()` pattern (see `llm-menu.tsx`, `hubspot-form.tsx`) to fire `newsroom-filter` and `newsroom-load-more` events. Existing per-link `data-track` attributes carry over.
  • Tab styling follows the established `:target`-driven pattern from `_event-list.scss`, with the gradient-border mixin from `_mixins.scss`.

Consolidates /about/newsroom/ and /awards/ into one Newsroom page
with All / News / Press / Awards filter tabs, featured cards, and
a paginated archive list. /awards/ aliases to the new URL so
existing inbound links keep working.

Addresses pulumi#18717.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cnunciato cnunciato self-requested a review May 2, 2026 15:24
@cnunciato
Copy link
Copy Markdown
Contributor

Hello again @dwahbe! 👋🏻

Thanks for this submission as well! I generally like this idea, but there's a bunch here to consider, so I'll need to discuss it with the team. We may also want to provide you with some additional guidance to align more closely with the visual updates we've been making across the site lately. Will keep you posted!

@dwahbe
Copy link
Copy Markdown
Author

dwahbe commented May 7, 2026

Sounds great! Let me know :)

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.

2 participants