docs: tighten the right rail tabs comments, docs and changelog

Drop change-history wording, shorten the module, stylesheet and rail comments, and document the owner rule's stored-over-default step in CURRENT-STATE. No runtime change.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Fable 5.1 committed 2026-10-27 18:37:15 +04:00
1 parent f383174f3e
commit cf37e80b7f
7 files changed
+101 -118

No files matched your search

+6 -7
View File
@@ -74,13 +74,12 @@ export function layoutRightPanelRail({
!panel.hidden &&
(hiddenByRail(panel) || getComputedStyle(panel).display !== 'none'),
);
// One expanded owner: the latest explicit disclosure, else the panel that
// holds keyboard focus, else one the visitor or a share link chose over one
// open only by default (panelPositionControls.js marks each), else the
// first. Peers are presentation-collapsed without overwriting saved panel
// preferences; the marker is distinct from the left rail's space-based
// collapse. Phones present the rail as tab sheets that show several panels
// at once, so they get every panel back.
// One expanded owner: the latest explicit disclosure, else the focused
// panel, else one the visitor or a share link chose over one open only by
// default (panelPositionControls.js marks each), else the first. Peers are
// presentation-collapsed; the marker is distinct from the left rail's
// space-based collapse. Phone sheets show several panels at once, so phones
// get every panel back.
const isMobile = windowRef.matchMedia('(max-width: 720px)').matches;
if (!isMobile) {
const expanded = panels.filter(