Skip to content

Conversation

mootari
Copy link
Member

@mootari mootari commented Sep 1, 2024

In the workspace selection we sort workspaces by role and name, but default the selection to the first unsorted value. Example:
image

Because this selection may appear arbitrary to users, we should instead preselect the first option in the list.

@mbostock
Copy link
Member

mbostock commented Sep 1, 2024

Maybe it would be better to make the API smarter about what the default workspace should be? Like, it could be the one you most recently deployed to?

@mootari
Copy link
Member Author

mootari commented Sep 1, 2024

Sounds good to me! Ideally we also show a hint like "you recently deployed to" to explain the default.

I'll file a PR to have /cli/user return the additional metadata.

@mootari mootari marked this pull request as draft September 1, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants