-
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] add "with-options" buttons #15668
Conversation
started the job as gitpod-build-se-show-options-action.1 because the annotations in the pull request description changed |
020790a
to
146cbf2
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.
Code LGTM, and approving to unblock.
/hold due to build issues (looks unrelated), and maybe another check once the preview is there.
/werft run 👍 started the job as gitpod-build-se-show-options-action.3 |
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.
Nice touch! UX LGTM. ✨
separator: true, | ||
}, | ||
{ | ||
title: "New Workspace ...", |
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.
praise: Excellent ... 🥯
{ | ||
title: "New Workspace ...", | ||
href: gitpodHostUrl | ||
.withContext(`${branch.url}`, { showOptions: true }) | ||
.toString(), | ||
separator: true, | ||
}, |
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.
praise: Nice and much needed addition! ✨
menuEntries={ | ||
menuEntries={[ | ||
{ | ||
title: "New Workspace ...", |
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.
💭 thought: Next steps could include improving the modal to allow branch selection as mentioned in #5372, #12591, #10168, and a relevant discussion (internal).
{ | ||
title: "New Workspace", | ||
href: `/#${project.cloneUrl}`, | ||
href: gitpodHostUrl.withContext(`${project.cloneUrl}`).toString(), | ||
separator: true, | ||
}, |
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.
@@ -40,7 +41,14 @@ export const ProjectListItem: FunctionComponent<ProjectListItemProps> = ({ proje | |||
menuEntries={[ | |||
{ | |||
title: "New Workspace", |
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.
question(non-blocking): Could we measure how much this button link (New Workspace) is used on the projects page specifically? I created a report (internal) for measuring usage (clicks) but couldn't differentiate the clicks on the specific dropdown that exists on the projects cards. Cc @jakobhero
/unhold |
2 followup UX suggestions:
|
Thanks for the feedback, @jldec! 💯
|
Description
Adds a secondary "New Workspace ..." button the projects list on a team and the branches list on a project.
Related Issue(s)
Fixes #
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh