Skip to content

Conversation

@revaarathore11
Copy link

🐛 Fix header logo navigation

Problem
Clicking the RUXAILAB logo in the top navigation bar did not always return users to the Dashboard.
Since the Dashboard is controlled by internal state within the /admin view, simple route navigation was not sufficient.

Solution

  • Updated the header logo to navigate via Vue Router with a query parameter.
  • Synced Dashboard state in AdminView.vue by reacting to router query changes.
  • Removed reliance on custom window events for navigation.

Result

  • Clicking the RUXAILAB logo now always resets the view to the Dashboard.
  • Works even when the user is already on /admin.
  • No UI or design changes were made.

Files Changed

  • src/features/navigation/components/GlobalToolbar.vue
  • src/features/navigation/views/AdminView.vue

Issue Reference
Fixes #1282

@revaarathore11
Copy link
Author

@marcgc21 please review.

@revaarathore11 revaarathore11 force-pushed the fix/header-logo-redirect branch from f1ff7f5 to 8c821b4 Compare January 5, 2026 16:56
@Nirvanjha2004
Copy link
Contributor

Hi @revaarathore11, greetings!
I tested this from multiple pages, and clicking on the logo correctly redirects to the /admin page in all cases. Considering the requirement “Works even when the user is already on /admin”, it seems to be functioning as expected, so I don’t think any additional handling is necessary.

If you’re referring to any specific pages or scenarios that I might have missed, please let me know. It would also be very helpful if you could add a short video demonstrating the issue.

Thanks!

@rakshityadav1868
Copy link
Contributor

Hey @revaarathore11, there are some conflicts you should take a look at it.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐞 BUG]: Clicking RUXAILAB logo/text does not redirect to Home

3 participants