Repository navigation
desktop: version in sidebar footer; demo tour as first-open popup - #24
Merged
Merged
Conversation
…popup Replace the bottom-left footer block (Alpha disclaimer + absolute kit path) with a clean app-version display sourced from Tauri's getVersion(), keeping only a short authorized-use note. Remove the persistent 'Demo tour' sidebar button; the tour now auto-opens once on first open (idle localStorage state) and stops after the user completes or skips it.
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.
What
Two desktop-app UI changes requested by Adam.
1. Sidebar footer shows the app version (not the local path)
The bottom-left footer previously rendered:
It now renders a clean version display sourced from Tauri's
getVersion()(readstauri.conf.json/Cargo.tomlversion — the build's source of truth), with a short authorized-use note and no filesystem path:2. Demo Tour is a first-open popup, not a sidebar button
shouldAutoOfferDemoTour()now returns true whenever the tour has never been completed or skipped (first open), instead of only when there are zero assessments. Persistence is unchanged: it uses the existingphishkit.demoTourlocalStorage state (+ backendtutorialCompletedflag), so after the user finishes or dismisses it, it does not auto-show again.start-demo-tour-home) is untouched, so users still have a way to replay/start it.Files
apps/desktop/src/App.jsx— addgetVersion()fetch +appVersionstate; replace footer block; drop sidebar tour button; update auto-offer call site.apps/desktop/src/components/DemoTour.jsx—shouldAutoOfferDemoTour()gates purely on tour state (first-open).apps/desktop/src/App.css— styles for.app-version/.foot-note.Verification
npm run build(vite) passes.