mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
refactor: separate application UI state owners
This commit is contained in:
1 parent
ddc1edf3af
commit
dc81cf585c
34 files changed
+3378
-2201
No files matched your search
@@ -461,3 +461,19 @@ render requests and detection invalidation. It owns hidden-panel refresh and
|
||||
listener cleanup. Application data assembly constructs both owners explicitly;
|
||||
`data/manager` is the compatibility facade for direct callers. The ordinary
|
||||
state subscriptions retain their existing event contract.
|
||||
|
||||
## UI state owners
|
||||
|
||||
- `ui/navigation` owns navigation generations, pending search presentation and
|
||||
tracking handoff. It reads Cockpit admission and uses supplied tracking operations.
|
||||
- `ui/share-restoration` owns the initial restore transaction, layer coordinator,
|
||||
status notices and gesture/timer cleanup.
|
||||
- `ui/visual-settings` owns style preferences, detection overrides, display inputs
|
||||
and IR cleanup. Its engine services and panel operations are explicit.
|
||||
- `ui/panel-chrome` owns disclosure, docking, collapse preferences and temporary
|
||||
Cockpit panel snapshots, composing the existing positioning/layout controllers.
|
||||
|
||||
These package groups contain their own dependencies and exclude application
|
||||
assembly. `applicationShell` retains composition and compatibility methods;
|
||||
those methods delegate to the state owner. Source-based regression checks inspect
|
||||
that implementation owner, and browser acceptance exercises the assembled UI.
|
||||
@@ -1,5 +1,14 @@
|
||||
# God's Eye View Current State
|
||||
|
||||
The UI facade composes separate owners for navigation authority, share restoration,
|
||||
visual settings and panel chrome. Navigation owns request generations and follow
|
||||
handoff; restoration owns its coordinator, deferred notices, gestures and timer;
|
||||
visual settings own style/detection overrides and sensor cleanup; panel chrome
|
||||
owns disclosure, docking and Cockpit panel snapshots. Each takes explicit
|
||||
operations and reads instead of the complete shell. Existing controls, share
|
||||
formats and one-application-per-page behavior are preserved.
|
||||
|
||||
|
||||
Layer lifecycle transactions are owned by `data/lifecycle`, which has no panel,
|
||||
render-governor or detection imports. Application composition mounts a separate
|
||||
layer presentation owner that reacts to status, accepted visibility/parameter
|
||||
|
||||
Reference in new issue
Block a user