Skip to content

feat(gui): show app version in sidebar footer (v0.2.3)#25

Merged
GregTheGreek merged 1 commit into
mainfrom
feat/sidebar-version
May 14, 2026
Merged

feat(gui): show app version in sidebar footer (v0.2.3)#25
GregTheGreek merged 1 commit into
mainfrom
feat/sidebar-version

Conversation

@GregTheGreek
Copy link
Copy Markdown
Owner

Summary

Adds a small v0.2.3-style label at the bottom of the sidebar, sourced from Tauri's getVersion() (which reads the running .app's Info.plist - set during build from Cargo.toml). Lets you confirm at a glance which build is installed.

What changed

  • crates/rompatch-gui/ui/src/components/Sidebar.tsx
    • new useAppVersion hook (cancellable, silent on error so non-Tauri dev contexts don't break)
    • footer <div> pinned to the sidebar bottom via mt-auto
  • Version bumps 0.2.2 -> 0.2.3 (Cargo.toml, the two explicit rompatch-core pins, ui/package.json, Cargo.lock)

Test plan

  • cargo check --workspace --exclude rompatch-gui clean
  • pnpm typecheck + pnpm build clean
  • After merge + tag v0.2.3: installed v0.2.2 sees the update popup, installs, relaunches, and the sidebar now shows v0.2.3 at the bottom

Renders the running app's version (via @tauri-apps/api/app
getVersion()) at the bottom of the sidebar in a small mono caption.
Useful for confirming which build is installed post-update without
opening a separate About dialog.

Version: 0.2.2 -> 0.2.3.

Co-Authored-By: Claude
@GregTheGreek GregTheGreek marked this pull request as ready for review May 14, 2026 17:38
@GregTheGreek GregTheGreek merged commit b3516d2 into main May 14, 2026
7 checks passed
@GregTheGreek GregTheGreek deleted the feat/sidebar-version branch May 14, 2026 17:38
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