Repository navigation
fix: preserve workspace navigation after delayed creation - #131
Merged
Merged
Conversation
Refs #11 Signed-off-by: Vitor Mattos <1079143+vitormattos@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.
Refs #11
A completed workspace creation used to overwrite a later browser navigation and open company onboarding in the wrong UI context. Keep the successful server write and refresh the authorized list, but only select the new workspace and start onboarding when the originating dialog still owns the action. Preserve the first-run selection and the submitted workspace kind, and do not clear a reopened dialog. Verify the created ID is present in the authorized list before selecting it.
Evidence: an installed Nextcloud Chromium regression used the real server POST, delayed only its response, navigated back, and reproduced the wrong selected workspace on the original main. After the fix, 51 frontend tests and the production build passed. The final focused installed-browser run passed 3/3: normal company onboarding/history, delayed completion after history navigation, and completion after cancel/reopen. Two synthetic context-only screenshots were captured and inspected locally. PHP/API/database behavior is unchanged. Full hosted CI and independent review remain pending; no generated assets are committed.