Repository navigation
Correct Tool header story widths and stale comments in browser-host, theme.css, and the website docs rail - #1888
Open
dormouse-bot wants to merge 1 commit into
Open
dormouse-bot wants to merge 1 commit into
dormouse-bot wants to merge 1 commit into
Conversation
- BrowserChromeHeader stories: the Tool header's tier boundaries are 382/187/151px, not 356/161/125; TinyTool (140px) and NarrowDirtyTool (126px) rendered the tiny tier, so move them to 170px and 151px. - browser-host: drop a viewport clause the dpr null check already decides; point the parseBrowserRequest comment at the rationale marker. - theme.css: the rationale lives in theme.rationale.md. - globals.d.ts, docs-pages.ts: drop consumer lists and a producer count that had gone stale. - windows-audit/prepare.mjs: use the createHash already imported.
Deploying mouseterm with
|
| Latest commit: |
43de625
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://84d7f8a3.mouseterm.pages.dev |
| Branch Preview URL: | https://fix-nightly-stale-comments-2-bl44.mouseterm.pages.dev |
This branch was successfully deployed
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.
Two Tool header stories rendered a different tier than their comments say, and a few comments had drifted from the code. Found by tonight's rolling survey; no runtime behavior changes.
lib/src/stories/BrowserChromeHeader.stories.tsx:toolHeaderTierreserves two 26px control slots and the 36px Display slot before applyingterminalHeaderTier's 293/173/98 cut-offs, so a Tool's splits go below 382px, Display below 187px, and minimize/kill below 151px. The comments said 356/161/125.TinyTool(140px) therefore rendered the tiny tier, the same asSmallestTool, andNarrowDirtyTool(126px) did too. They move to 170px and 151px so each lands in the tier its comment names. Expect an Argos diff onTinyToolandNarrowDirtyTool.lib/src/host/browser-host.ts: the viewport case's(r.dpr === undefined || dpr)can never be false after thedpr === nullreturn just above it, so it's removed. TheparseBrowserRequestcomment pointed at the rationale "in docs/specs/dor-browser.md"; the evidence is indor-browser.rationale.md, so it now uses the(…; rationale)marker form.lib/src/theme.css: the rationale pointer now namesdocs/specs/theme.rationale.md.lib/src/globals.d.ts,website/src/lib/docs-pages.ts: dropped a consumer list that missed Hosted and the VS Code extension, and a "five producers" count that named three.scripts/windows-audit/prepare.mjs: uses thecreateHashalready imported instead of a dynamic re-import.tsc -binlibandbrowser-host.test.tspass locally.