Repository navigation
docs(ui): correct BrowserPanel narrow-layout comment to reflect #824 - #826
Merged
Merged
Conversation
Follow-up to #818. The narrow-layout CSS comment said "the user recovers by collapsing ArtifactPane or closing the browser (tracked in the PR notes)", which overstates reachability at the shortest window heights (closing the browser alone usually recovers the chat column, but at extreme short heights the ArtifactPane collapse control may be clipped, so recovery may require both) and points at the ephemeral PR notes instead of the durable tracker. Replace with the wording from the #818 review consult: the chat row (not "column") can collapse from the two 220px minima, the shared-height policy is tracked in #824, and recovery may require closing the browser and/or collapsing ArtifactPane. Doc-only; the browser-panel-layout contract test strips comments and stays green (2/2). Refs #546.
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
Corrects one CSS comment in
apps/desktop/src/renderer/styles/chat-detail.cssto accurately describe the both-present + short-window recovery path and point at the durable tracker. Doc-only — no behavior change.Why
The narrow-layout comment landed by #818 read: "the user recovers by collapsing ArtifactPane or closing the browser (tracked in the PR notes)." That overstates reachability at the shortest window heights (closing the browser alone usually recovers the chat column, but at extreme short heights the ArtifactPane collapse control may be clipped, so recovery may require both) and references the ephemeral PR notes instead of the durable tracker. A review consult on #818 recommended the more accurate wording; the edit was prepared for #818 but lost during its TDD mutation proof (a
git checkoutrestored the file before the comment edit was committed), so it lands here as a separate doc-only PR.Scope
Non-goals: any behavior change; the shared-height policy itself (tracked in #824).
Verification
browser-panel-layout.test.tsstrips comments before parsing, so the contract is unaffected — 2/2 green.npm run build:mainpasses.Impact
None — doc-only, no IPC/contract/data or visual change.
Reviewer notes
Follow-up to #818 (which is merged). The comment edit was intended for #818 but discarded by a
git checkout -- chat-detail.cssduring #818's TDD mutation proof (HEAD did not yet contain the comment edit, so the checkout reverted it); #818 merged with the old wording. This PR lands the accurate wording. Refs #546.Ready for review
Verificationexplains why it is not applicable (no UI change)