Keep Context's follow, clicks, Radio, Cockpit entry and credits right

- Following comes only from the camera's own follow, never claimed ahead
  of it; vessels, which the camera does not follow, are flown to.
- A drag or a long press never selects, and only a clean click on open map
  closes the card; a card painted on the overlay is not open map.
- Closing the card lets go through its own layer only, as the person's
  action, leaving other layers' selections alone.
- Radio's panel, with its local SDR tuner, shows whether or not the Radio
  layer is on; Contacts' Cockpit entry hides only while the card offers its
  own.
- Expanded Context keeps the credits beside it right to left and with the
  minimal HUD.
- Context counts as closed until its panel says it is open; closed, the
  card's refresh and the view reading pause, and opening reads the view.
- The five-minute re-read fetches again past the caches, keeps what is
  shown meanwhile, and an empty brief is not kept.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-16 14:59:18 -08:00
1 parent 547687fecf
commit 57f9c03eaa
10 files changed
+599 -188

No files matched your search

+25 -1
View File
@@ -202,8 +202,32 @@ body.mobile-shell .context-dock-btn {
display: none;
}
/* With the minimal HUD the credits sit at the bottom right, where the
column is: they move out to its left. */
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
#intel-hud[data-variant='minimal'].active
)
:is(#cesium-credits, #gev-credits) {
right: calc(36px + var(--context-dock-width));
}
/* Right to left, the rail sits on the left edge (rtl.css), and so does the
expanded column. */
expanded column; the credits start past it. */
html[dir='rtl']
body.context-docked:not(.ui-clean-view):not(.recording-mode)
:is(#cesium-credits, #gev-credits) {
left: calc(36px + var(--context-dock-width));
}
html[dir='rtl']
body.context-docked:not(.ui-clean-view):not(.recording-mode):has(
#intel-hud[data-variant='minimal'].active
)
:is(#cesium-credits, #gev-credits) {
right: 36px;
left: auto;
}
html[dir='rtl'] body.context-docked #right-context-rail {
right: auto !important;
left: 0 !important;
+4 -4
View File
@@ -325,13 +325,13 @@
}
}
/* Radio can move between Context's two body hosts. Keep its visibility
tied to the Inspector and layer state in either location. */
/* The Properties tab shows only the layers' settings. The idle hint gives
way to the view summary, and Contacts' Cockpit entry to the card's own
while the card offers one. */
#global-context-panel[data-context-tab='props']
:is(.global-context-modes, .context-mode-view, #radio-panel),
#global-context-panel #radio-panel:not(.radio-enabled),
#global-context-panel #context-mode-standby,
#global-context-panel #cockpit-entry {
#global-context-panel:has([data-entity-cockpit-entry]) #cockpit-entry {
display: none !important;
}