-
-
Notifications
You must be signed in to change notification settings - Fork 0
"Create Project" Option Remains Selected in Project Dropdown After Use #25
Description
Description
The project dropdown menu is retaining "Create Project" as the selected option after a user clicks it, instead of reverting to the default placeholder text "Projects". This creates a confusing user experience as it makes an action item appear as a selectable project option. The dropdown should either clear its selection or show the newly created project after the creation process, rather than keeping "Create Project" as the selected value.
Reproduction
Steps to Reproduce:
- Log in to the GuardQL dashboard
- Navigate to the dashboard page
- Click on the project dropdown menu
- Select "Create Project" from the dropdown
- Complete project creation process
- Observe that "Create Project" remains as the selected option in the dropdown
Expected Behavior:
- After creating a project, the dropdown should either:
- Show the newly created project as selected, or
- Return to its default state showing placeholder text
Actual Behavior:
- "Create Project" remains selected in the dropdown
- The action item is being treated as a selectable option
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!