Skip to content

Project Selection Not Persisting After Page Refresh #23

@csrl23

Description

@csrl23

Description

The GuardQL dashboard is not maintaining the user's project selection when the page is refreshed. Currently, when a user selects a project to view its metrics and then refreshes the page, the selection is lost and they must reselect the project to continue viewing the metrics. This disrupts the user experience by requiring unnecessary repetitive actions and interrupts the workflow of monitoring project metrics.

Reproduction

Steps to Reproduce:

  1. Log in to the GuardQL dashboard
  2. Navigate to the dashboard page
  3. Select a specific project from the project dropdown
  4. Verify metrics are showing for the selected project
  5. Refresh the page
  6. Observe that the previously selected project is no longer selected

Expected Behavior:

  • The selected project should persist after page refresh
  • Metrics view should continue showing data for the previously selected project

Actual Behavior:

  • Project selection is lost upon page refresh
  • User must reselect the project to view metrics

System information

System:
OS: macOS 15.3.1
CPU: (10) arm64 Apple M4
Memory: 171.34 MB / 32.00 GB
Shell: 5.9 - /bin/zsh

Binaries:
Node: 23.4.0 - /opt/homebrew/bin/node
npm: 10.9.2 - /opt/homebrew/bin/npm

Browsers:
Chrome: 131.0.6778.140
Safari: 18.3

npmPackages:
@apollo/server: ^4.11.3 => 4.11.3

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd love to make a PR to fix this bug!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions