Commit 45c7e1a
docs(footer): record what v3.0.0 changes for this footer
No markup change: the element, the `privacy` slot, and emit-jsonld all carry
across 1.0.6 -> 3.0.0 untouched, and the bundle pin lives in document_head.hbs
one commit down. Two things the bump makes true are worth writing down where
the next reader will look.
LANGUAGE SWITCHER, deliberately off. v2.0.0 added a built-in English/日本語
control. It is opt-in, so this file already gets the right behaviour by saying
nothing — but "we never considered it" and "we considered it and said no" read
identically in a diff, and this is the second one. Its options resolve to the
locale's SITE ROOT on a foreign host, not to a translation of the current page
(footer-data.js: `path` is the fallback; _languageHref only does better on the
www family). So on a support page it would look like a page-language toggle and
actually be an exit to www.postman.com/jp/.
RESERVED HEIGHT, corrected. The comment claimed "no layout shift". Measured:
the component reserves 320px by default and mounts to ~647px desktop /
~1348px mobile, so it grows the page. This is not a regression — 1.0.6 was
worse (682/1517px against the same 320px) — and the footer is below the fold,
so the cost is scroll position rather than CLS on the first view. Left
unfixed here on purpose: a per-consumer override picks a number that goes stale
on the next parity change, and every consumer would pick their own. It belongs
in the component's default. Noted in the file with what to do if support needs
it solved sooner.
The destination diff in the previous commit still holds at 3.0.0 — 49 links,
same five columns, no additions or removals since 1.0.6. What did change is
labels, not targets: v2.0.0 split the visible label from the JSON-LD name, so
the footer now reads "App Security" / "About" / "Academy" where it read "App
Security APIs" / "About Postman" / "Postman Academy", matching what
www.postman.com renders. The SEO names survive in the emitted
SiteNavigationElement.
Verified in headless Chromium against the real 3.0.0 bundle: mounts with all
five columns and 50 links, the Do Not Sell button is assigned to the `privacy`
slot and visible, JSON-LD is emitted exactly once, the copyright computes 2026,
and no language switcher renders.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d9ab16f commit 45c7e1a
1 file changed
Lines changed: 20 additions & 4 deletions
File tree
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | 35 | | |
20 | 36 | | |
| |||
0 commit comments