piker/piker
Gud Boi 81373f6a2e Fix focused gap routing in `ChartView`
The keyboard loop treated every display not owning the focused
history chart as a realtime target. One `Ctrl+G` could therefore
toggle unrelated cached symbols.

Match the focused chart explicitly before selecting its timeframe.
Factor startup registration and toggle routing into testable
helpers, and use scoped PyQt6 enums throughout the input path.

Deats,
- preserve independent 60s startup layers per display;
- toggle only the focused 1s or 60s chart;
- drive the production event relay with a real `QKeyEvent`.

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-11-14 16:04:10 -05:00
..
accounting .clearing: lazily spawn `brokerd` from `emsd` 2026-11-09 17:05:43 -05:00
brokers Retry incomplete IB schedule coverage 2026-11-13 17:30:25 -05:00
clearing .clearing: lazily spawn `brokerd` from `emsd` 2026-11-09 17:05:43 -05:00
cli brokerd: slim RPC caps + `ib` client-id offset 2026-11-09 17:05:43 -05:00
data Expose storage state through `piker store` 2026-11-12 09:48:06 -05:00
fsp Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
service Add `datad` daemon machinery to `.data` 2026-11-09 17:05:39 -05:00
storage Own gap overlays in chart-local `GapOverlayMngr` 2026-11-14 16:04:10 -05:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Own gap overlays in chart-local `GapOverlayMngr` 2026-11-14 16:04:10 -05:00
ui Fix focused gap routing in `ChartView` 2026-11-14 16:04:10 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Retry incomplete IB schedule coverage 2026-11-13 17:30:25 -05:00
config.py Fix `pytest` config-dir isolation in subactors 2026-10-07 03:10:41 -04:00
log.py Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
types.py Point `.types.Struct` to `tractor.msg.pretty_struct` 2026-02-22 16:07:53 -05:00