mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
8a0094ce70
resolves coder/internal#173, coder/internal#175 This PR does the following 1. Updates the left sidebar for organizations to use a dropdown to select the organization 2. Move the create organization button inside the dropdown 3. Update the design of the create organization page 4. Do not display the organization in the dropdown if there is only 1 org to display Figma: https://www.figma.com/design/OR75XeUI0Z3ksqt1mHsNQw/Dashboard-v1?node-id=139-1380&m=dev The loading state for the save button in the create organization form will be handled separately after #14978 is completed. Note: Since the dropdown is based off the cmdk component, navigation in the dropdown is handled by the arrow keys, https://cmdk.paco.me/ <img width="560" alt="Screenshot 2025-01-03 at 21 11 26" src="https://github.com/user-attachments/assets/ff6e61ab-c8d4-4f97-b603-306492e9bfec" /> <img width="641" alt="Screenshot 2025-01-03 at 21 11 39" src="https://github.com/user-attachments/assets/fedb28e0-9ef3-4b0f-8665-06215338f351" /> <img width="1178" alt="Screenshot 2025-01-03 at 21 12 05" src="https://github.com/user-attachments/assets/ee672533-2689-4b2e-a7bf-471ea72e1095" /> <img width="1177" alt="Screenshot 2025-01-03 at 21 12 39" src="https://github.com/user-attachments/assets/f13824a6-2581-4bff-b5b6-2024c2e145a4" />