feat: editor project chip wiring (multi-project stage 2 host side)
Some checks failed
Security / Security check (push) Failing after 2s

FlowsPage passes the active workspace to the editor and switches the
workspace when the operator accepts a file-wins mismatch. Rebuilds the
chip live on workspace change. Editor package bumped to 0.22.0.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-12 14:21:20 +02:00
parent 2592a23cc0
commit 984c91f91d
3 changed files with 42 additions and 15 deletions

View file

@ -5,6 +5,22 @@ version + `kStudioVersion` in `lib/main.dart` stay in lockstep.
## Unreleased
### Added (multi-project, stages ① + ②)
- **Workspace switcher.** The Audit and Approvals AppBars carry a
workspace control listing the hub's project registry (colour dot per
project, a shield for `protected`, an honesty tooltip). "All projects"
stays reachable — a filter, not a jail. The selection is persisted and
shared across pages; it re-scopes the audit list AND live stream
hub-side, scopes approvals (pending + history), and drives the sidebar
approval badge. Runs launched from the editor are stamped with the
active workspace — unless the flow file declares its own `project:`,
in which case the file wins (CLI semantics).
- **Editor project chip + file-wins guard.** A flow file's own
`project:` shows as a chip; on mismatch with the active workspace an
amber pill offers a one-click switch (the file still wins for the run).
Backed by editor package 0.22.0.
### Fixed (usertest 2026-07-10 findings)
- **Approval prompts localize.** An approval whose flow step gave no