-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dashboard] keep team selection #13318
Conversation
@svenefftinge See also #10496 and #10603, in case they contain any useful information or we can close as duplicates. |
c1e71cd
to
9139415
Compare
9139415
to
c7247d5
Compare
169b5a4
to
dabd407
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropping below two UX issues.
<span | ||
className={`${classes} rounded-tl-2xl rounded-bl-2xl border-r pl-3 pr-2 py-1 bg-gray-50 font-semibold`} | ||
> | ||
{teams?.find((t) => t.slug === getSelectedTeamSlug())?.name || userFullName} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: I can no longer select personal account, although you get redirected to the projects of the personal account when you select your personal account from the dropdown. 😭
<span | ||
className={`${classes} rounded-tl-2xl rounded-bl-2xl border-r pl-3 pr-2 py-1 bg-gray-50 font-semibold`} | ||
> | ||
{teams?.find((t) => t.slug === getSelectedTeamSlug())?.name || userFullName} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: Going from workspaces back to the team-scope always goes back to the personal account projects, regardless what the selected team scope is. This should get you back to the projects of the last selected team, right?
Thanks for this, @svenefftinge! The team persistence works well, but too well :P I can switch between teams but unable to go back to my personal account. Probably |
dabd407
to
d9a57a4
Compare
/werft run with-clean-slate-deployment=true 👍 started the job as gitpod-build-se-team-selection.8 |
d9a57a4
to
d5ed38c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as advertised!
Description
This PR changes remembers the selection of the team, so that it doesn't jump back to the individual account whenever I visit the workspaces list.
Related Issue(s)
Fixes #10496
How to test
Use the preview App and verify the promised behavior.
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide