Skip to content

feat: F11 fullscreen + cleaner "What's new" update dialog#75

Merged
Razee4315 merged 1 commit into
mainfrom
feat/fullscreen-and-update-dialog
Jun 16, 2026
Merged

feat: F11 fullscreen + cleaner "What's new" update dialog#75
Razee4315 merged 1 commit into
mainfrom
feat/fullscreen-and-update-dialog

Conversation

@Razee4315

Copy link
Copy Markdown
Owner

What

Two features:

1. Fullscreen (F11)

Cross-platform fullscreen toggle via the Tauri window API (setFullscreen/isFullscreen) — one code path for Windows, Linux, and macOS. The custom title bar stays visible so there's always an obvious way back, plus a one-time "press F11 to exit" toast. Available from the keyboard (F11), the command palette, and listed in the cheatsheet.

2. Cleaner "What's new" update dialog

The updater popup previously dumped a generic install blurb as raw text — users never saw the actual changes. Now:

  • release.yml injects the top CHANGELOG.md section into the release body, so the updater shows real release notes.
  • UpdateDialog renders them as a clean, scrollable "What's new" list via react-markdown (a sanitizer strips install boilerplate, so old releases degrade gracefully). Links open in the OS browser, not the webview.

Notes

  • The richer dialog fully applies from the next release (it ships the new body format). Older releases' bodies strip to empty, so the dialog shows just the version line.
  • Since the popup now feeds from ## [Unreleased], keep that section trimmed to current highlights.

Testing

  • tsc --noEmit clean
  • Full vitest suite: 123 passed (added an F11 test)

Fullscreen (F11):
- Toggle OS fullscreen on Windows/Linux/macOS via the Tauri window API
  (one cross-platform code path, no native code). Title bar stays visible
  so there is always an obvious way back, with a one-time "press F11 to
  exit" hint. Also available from the command palette and cheatsheet.
- Add core:window:allow-set-fullscreen capability.

Update dialog:
- Root cause: the release body was a generic install blurb, shown as raw
  text. release.yml now injects the top CHANGELOG section as the release
  body, so the updater shows the actual changes.
- UpdateDialog renders the notes as a clean, scrollable "What's new" list
  via react-markdown; a sanitizer strips install boilerplate so old
  releases degrade gracefully. Links open in the OS browser.
@Razee4315 Razee4315 merged commit 8eb98b7 into main Jun 16, 2026
2 checks passed
@Razee4315 Razee4315 deleted the feat/fullscreen-and-update-dialog branch June 16, 2026 15:43
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