[Frontend SSR] Implement Server-Side Rendered Release Notes Page & HTML Templates - #6676
Closed
jcscottiii wants to merge 1 commit into
Closed
Conversation
|
|
||
| <div class="milestone-select-group"> | ||
| <label for="milestone-select">Milestone:</label> | ||
| <select id="milestone-select" class="milestone-select" onchange="window.location.href='/releasenotes/' + this.value"> |
jcscottiii
changed the base branch from
main
to
jcscottiii/pr10-milestone-curation-api
July 28, 2026 21:01
jcscottiii
force-pushed
the
jcscottiii/pr11-frontend-ssr-releasenotes-page
branch
6 times, most recently
from
July 29, 2026 17:53
03a55a5 to
7e5fe1c
Compare
…ML Templates ## Summary Implements the public Server-Side Rendered (SSR) Release Notes page (`GET /release-notes/<int:milestone>` and `GET /release-notes`) using hyphenated URL paths to match existing `developer.chrome.com/release-notes` URL conventions. Provides fast initial load time, zero JS bundle dependencies, search engine SEO indexing, public CDN caching (`HTTP_CACHE_TYPE = 'public'`), a Symmetrical Navigation Strip (Channel Quick-Jumps + Milestone Combobox Selector), M151 cutoff HTTP 302 redirect handling, and responsive category-grouped feature cards styled via native `main.css` design tokens. ## Key Changes - **Controller (`pages/releasenotes.py` & `main.py`)**: Implements `ReleaseNotesHandler(basehandlers.FlaskHandler)` with `HTTP_CACHE_TYPE = 'public'` registered under `/release-notes/<int:milestone>` and `/release-notes`. Assembles template context with channel milestone mappings (`stable`, `beta`, `dev`), M151 cutoff redirect (`MIN_SSR_RELEASE_NOTES_MILESTONE = 151`), and category-grouped features. - **Template (`templates/release-notes.html`)**: Extends `_base.html`. Implements the Symmetrical Navigation Strip, native `main.css` button classes, hyphenated `/release-notes/` href links, and responsive Flexbox feature cards. - **Testing (`pages/releasenotes_test.py` & Playwright)**: Added 16 Python unit tests covering public cache configuration, M151 cutoff HTTP 302 redirects, parameter resolution, and a modular Playwright test suite (`packages/playwright/tests/chromedash-release-notes-ssr_pwtest.js`). TAG=agy CONV=86f63625-bdb5-4d50-ac8d-2f8ca5128ca9
jcscottiii
force-pushed
the
jcscottiii/pr11-frontend-ssr-releasenotes-page
branch
from
July 29, 2026 17:59
7e5fe1c to
6a80312
Compare
jcscottiii
changed the base branch from
jcscottiii/pr10-milestone-curation-api
to
jcscottiii/pr11a-shared-seo-infrastructure
July 29, 2026 18:02
Collaborator
Author
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
Implements the public Server-Side Rendered (SSR) Release Notes page (
GET /release-notes/<int:milestone>andGET /release-notes) using hyphenated URL paths to match existingdeveloper.chrome.com/release-notesURL conventions.Provides fast initial load time, zero JS bundle dependencies, search engine SEO indexing, public CDN caching (
HTTP_CACHE_TYPE = 'public'), a Symmetrical Navigation Strip (Channel Quick-Jumps + Milestone Combobox Selector), M151 cutoff HTTP 302 redirect handling, and responsive category-grouped feature cards styled via nativemain.cssdesign tokens.Key Changes
pages/releasenotes.py&main.py): ImplementsReleaseNotesHandler(basehandlers.FlaskHandler)withHTTP_CACHE_TYPE = 'public'registered under/release-notes/<int:milestone>and/release-notes. Assembles template context with channel milestone mappings (stable,beta,dev), M151 cutoff redirect (MIN_SSR_RELEASE_NOTES_MILESTONE = 151), and category-grouped features.templates/release-notes.html): Extends_base.html. Implements the Symmetrical Navigation Strip, nativemain.cssbutton classes, hyphenated/release-notes/href links, and responsive Flexbox feature cards.pages/releasenotes_test.py& Playwright): Added 16 Python unit tests covering public cache configuration, M151 cutoff HTTP 302 redirects, parameter resolution, and a modular Playwright test suite (packages/playwright/tests/chromedash-release-notes-ssr_pwtest.js).TAG=agy
CONV=86f63625-bdb5-4d50-ac8d-2f8ca5128ca9