mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
feat(ui): open Display on a first desktop visit to the tabbed rail
With every panel closed nothing shows that the sideways labels are launchers, so Display starts expanded for a first-time visitor on a desktop viewport; phones keep it collapsed and a share link decides for itself. A stored choice still wins. When the rail picks its one owner, a panel the visitor or a share link opened outranks one open only by default, so a stored CCTV choice is not displaced by the Display default. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
575ff3678f
commit
f383174f3e
6 files changed
+72
-23
No files matched your search
+12
-1
@@ -1524,6 +1524,15 @@ open panel's minimum height, so a short panel such as Context still reaches
|
||||
its tab. A first tab level with the panel's top shares its top edge, with no
|
||||
corner between them; Cyber's strip starts below the frame's upper chamfer.
|
||||
|
||||
A first-time visitor on a desktop viewport finds Display open
|
||||
(`src/ui/panelPositionControls.js`): with every panel closed nothing shows
|
||||
that the sideways labels are launchers, so the first panel opens to
|
||||
demonstrate the strip. Phones keep it closed (their sheets present the
|
||||
rail), a share link decides for itself, and a stored choice wins either way.
|
||||
When the rail picks its one owner, a panel the visitor or a share link opened
|
||||
outranks one open only by default, so a stored CCTV choice is not displaced
|
||||
by the Display default.
|
||||
|
||||
## Phone layout
|
||||
|
||||
At 720px and narrower, `src/ui/mobileShell.js` keeps the globe full screen and
|
||||
@@ -2157,7 +2166,9 @@ fetching, trailing-24-hour filtering and partial-success caching are unchanged.
|
||||
> Missions · Environmental · Explore manually**. No layer and no optional API
|
||||
> call happens until a tile is clicked. The right-hand DISPLAY rail
|
||||
> (`pp-toggles`) now starts **collapsed** on a first run rather than expanded —
|
||||
> a stored collapse state still wins, as before.
|
||||
> a stored collapse state still wins, as before. (Superseded 2026-10-27 by the
|
||||
> right rail tabs: on a desktop viewport DISPLAY starts open again on a first
|
||||
> run; see "Right rail tabs".)
|
||||
>
|
||||
> **The ENVIRONMENTAL tile is quakes AND fires** — live USGS earthquakes plus
|
||||
> NASA FIRMS active fires (`layerIds: ['earthquakes', 'local-firms']`), with the
|
||||
|
||||
Reference in new issue
Block a user