ai-yang opened a new pull request, #715: URL: https://github.com/apache/rocketmq-dashboard/pull/715
Fixes #714 ## Summary - navigate directly to `/login` after clearing the local logout session - replace browser history so Back cannot restore the protected route - add a route-level regression test starting from `/instance/topic` ## Root cause The previous logout path navigated to `/`, which is another protected child under the already-mounted `AuthGate`. The gate retained its `allowed` state, so clearing the local store did not unmount the protected layout or render the login page. ## Validation - deterministic baseline reproduction: failed 5/5 before the fix - focused regression: passed 20/20 after the fix - full Node 20 frontend suite: 64 files / 266 tests - `npm run lint`: 0 errors (4 existing Fast Refresh warnings) - `npm run build`: passed - `git diff --check`: passed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
