refactor(street-level): the panel cuts deferred until the new sources landed

HAL-530 left five panel cuts until Street View, KartaView and Panoramax
were in:

- SINCE is a select of the nine windows instead of a slider with its own
  thumb-sync code; a link's day count between them gets its own option and
  the tooltip names the cut-off date.
- IMAGERY and FIT/FILL are toggle buttons (aria-pressed), each a tab stop,
  instead of ARIA radiogroups with roving tabindex and arrow-key handling.
- The panel opens by itself only when a photo opens (a map or line click
  would load it out of sight); a switch-on no longer opens it, so the
  enable-origin subscription goes.
- Clean View, recording and the cockpit call shrinkViewer() as they hide
  the panels, instead of a MutationObserver on <body> classes.
- FIT/FILL stays (three providers use it) but is no longer kept in
  localStorage: each session starts at FIT.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
German KhokhlovandClaude Opus 5.5 committed 2026-10-19 19:42:44 +04:00
1 parent d983ef23d8
commit bdf3848dbc
12 files changed
+203 -238

No files matched your search

+3
View File
@@ -1182,6 +1182,9 @@ export class ShellFacade {
* @returns {void}
*/
setRecordingMode(enabled, options) {
// Recording hides the panels: an expanded street-level photo goes too.
if (enabled && options?.hidePanels !== false)
this._streetLevelControls?.shrinkViewer();
return this._recording.setRecordingMode(enabled, options);
}