feat: add interactive workspace overview - #39
Merged
Merged
Conversation
- Add configurable workspace overview with zoom and window previews - Support navigation, focus, and drag-and-drop window placement
|
| Filename | Overview |
|---|---|
| Sources/DefiMacOS/OverviewPreviewCapture.swift | Captures optional previews through ScreenCaptureKit and now validates the captured window owner before accepting pixels. |
| Sources/DefiMacOS/OverviewController.swift | Implements overview panels, selection, navigation, dragging, viewport animation, and guarded preview caching. |
| Sources/DefiRuntime/OverviewRuntime.swift | Adds validated pure-runtime transitions for overview focus, workspace selection, and window drops. |
| Sources/DefiDaemon/DaemonOverview.swift | Wires overview interactions into runtime transitions, native layout application, focus, persistence, and snapshot refresh. |
| Sources/DefiCore/Overview.swift | Adds pure overview projection, hit-testing, viewport interpolation, and drop-target calculation. |
Sequence Diagram
sequenceDiagram
participant User
participant Controller as OverviewController
participant Daemon
participant Runtime as DefiRuntime
participant Platform as macOS Platform
User->>Controller: Navigate, select, or drag
Controller->>Daemon: Focus/workspace/drop intent
Daemon->>Runtime: Validate and reduce state
Runtime-->>Daemon: Updated monitor/workspace result
Daemon->>Platform: Apply layout and focus
Daemon->>Controller: Refresh overview snapshot
Controller-->>User: Render updated overview
Reviews (3): Last reviewed commit: "Merge branch 'main' into feat/niri-overv..." | Re-trigger Greptile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
toggle-overviewcommand and default<mod>-ohotkey.Testing
swift buildswift test./script/build_and_run.sh --verify./script/test_desktop.sh