Add target screen selection and Forgejo CI #9
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mburchard/vite-electron-starter!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/target-screen-placement"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
TargetScreentype ('primary'|'app'|'active') onWindowPlacementallows directing windows and dialogues to a specific display
resolveTargetDisplay()in WindowController handles resolution with fallbacksetMainWindowId/getMainWindowId) enablesscreen: 'app'Test plan
pnpm lintcleanpnpm typecheckcleanpnpm testall 175 tests green- New `TargetScreen` type ('primary' | 'app' | 'active') and `screen?` property on `WindowPlacement` - `resolveTargetDisplay()` in WindowController resolves the target display and repositions the window before placement - Main window registry (`setMainWindowId` / `getMainWindowId`) enables `screen: 'app'` resolution - Display demo: three new buttons for screen targeting (primary, app, active with 5s delay) - WindowController test coverage: 51 tests, 100% statements/ lines/functions, 96% branches