fix: version display & update check - #117
Merged
Merged
Conversation
…tes on startup The sidebar footer previously hardcoded "McpMux v0.1.0" and "Gateway: localhost:9315" which never reflected the actual app version or gateway URL. Now fetches the real version via get_version Tauri command and tracks gateway status reactively via getGatewayStatus + useGatewayEvents. Also surfaces a dismissible update banner at the top of the content area when a new version is detected on startup. https://claude.ai/code/session_01K876wXjp55HfRLDCAG9FmU Signed-off-by: Claude <noreply@anthropic.com>
https://claude.ai/code/session_01K876wXjp55HfRLDCAG9FmU Signed-off-by: Claude <noreply@anthropic.com>
…banner 12 new tests covering: - Version display: fetches from get_version command, handles loading/error states - Gateway URL: default "Not running" state, null URL handling, reactive updates via useGatewayEvents (started/stopped) - Update banner: shows when update available, hidden when no update or check fails, dismiss button, "Update now" navigates to Settings Also adds @tauri-apps package aliases to vitest config so vi.mock() calls resolve to the same module IDs as source imports from apps/desktop/src/. https://claude.ai/code/session_01K876wXjp55HfRLDCAG9FmU Signed-off-by: Claude <noreply@anthropic.com>
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 does this PR do?
How was it tested?
pnpm testpassespnpm lintpassespnpm typecheckpassesChecklist
git commit -s)