fix: show spinner during mobile init instead of connect form#177
Open
jfversluis wants to merge 1 commit intomainfrom
Open
fix: show spinner during mobile init instead of connect form#177jfversluis wants to merge 1 commit intomainfrom
jfversluis wants to merge 1 commit intomainfrom
Conversation
On mobile, the connect screen (QR scan / manual URL entry) was shown immediately on app launch even when saved connection settings exist. This was confusing because the app was already connecting in the background via InitializeAsync. Now shows a 'Connecting…' spinner while _initializationComplete is false, and only shows the connect form after init finishes without a successful connection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.
Problem
On mobile, the connect screen (QR scan + manual URL entry) flashed immediately on app launch, even when saved connection settings existed and the app was already connecting in the background.
Fix
Added a check for
_initializationComplete— while initialization is still running, a "Connecting…" spinner is shown (reusing the existingrestoring-indicatorCSS class). The connect form only appears after initialization finishes without a successful connection.1 file changed, 7-line addition in Dashboard.razor.