Skip to content

feat(desktop): persist window bounds across launches - #83

Open
jiezhengj wants to merge 1 commit into
wassgha:mainfrom
jiezhengj:feat/persist-window-state
Open

feat(desktop): persist window bounds across launches#83
jiezhengj wants to merge 1 commit into
wassgha:mainfrom
jiezhengj:feat/persist-window-state

Conversation

@jiezhengj

Copy link
Copy Markdown

Splits the desktop-window work out of #80 for focused review (3/4).

Summary

  • use a roomier 1280 x 820 first-launch size
  • persist normal window position, dimensions, and maximized state
  • clamp restored bounds to the closest currently available display
  • stop upload/editor project transitions from overriding user-selected dimensions
  • preserve the existing two-step native Close behavior without using project mode for resizing

Validation

  • npx tsc --noEmit
  • npm run typecheck:electron
  • npm run lint
  • npm run build:electron
  • manually verified that 1180 x 760 restores exactly after restart and remains unchanged after importing media

Restore window position, size, and maximized state, clamp saved bounds to available displays, and stop project transitions from overriding user-selected dimensions.
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

@jiezhengj is attempting to deploy a commit to the wassgha's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant