mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
refactor(ui): drop the dead right rail policy and unused tab join hooks
shouldHideCollapsedRightPanels had become a constant: collapsed right-rail panels always hide behind the tab strip on desktop, so the function, its re-exports, the hud option of layoutRightPanelRail and the test of the constant go. The rail takes the theme's width as its content box instead of restating it per theme. Remove the unread --rail-tab-top property, dead CSS (an unset clip-path variable, an invisible Cyber highlight, redundant radius rules), an unused strip class, per-tab resize observation and guards that only served the test double, which now carries a style object. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
cf37e80b7f
commit
ff017c99ca
12 files changed
+58
-137
No files matched your search
@@ -306,18 +306,6 @@ test('right layout lets a stored or shared choice outrank a panel open only by d
|
||||
f.run();
|
||||
assert.equal(f.first.classList.contains('rail-owner-collapsed'), true);
|
||||
assert.equal(f.second.classList.contains('collapsed'), false);
|
||||
const g = fixture('right');
|
||||
g.expand(g.first, 900);
|
||||
g.expand(g.second, 900);
|
||||
g.first.dataset.collapsedPreference = 'default';
|
||||
g.second.dataset.collapsedPreference = 'default';
|
||||
g.run();
|
||||
assert.equal(
|
||||
g.first.classList.contains('collapsed'),
|
||||
false,
|
||||
'all default: first wins',
|
||||
);
|
||||
assert.equal(g.second.classList.contains('rail-owner-collapsed'), true);
|
||||
});
|
||||
|
||||
for (const collapsed of [true, false]) {
|
||||
|
||||
Reference in new issue
Block a user