-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[t&p] add workspaces to teams #5555
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ export function StartWorkspaceModal(p: StartWorkspaceModalProps) { | |
<div className="border-t border-gray-200 dark:border-gray-800 mt-2 -mx-6 px-6 pt-2"> | ||
<div className="flex"> | ||
<TabMenuItem name='Recent' selected={selection === 'Recent'} onClick={() => setSelection('Recent')} /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue: This is more accurately Recent Projects for team-level and project-level pages, right? Could it make sense to rename this to Projects and mention in the description below the sorting aspect?
|
||
<TabMenuItem name='Examples' selected={selection === 'Examples'} onClick={() => setSelection('Examples')} /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thought: For project-level workspaces, this modal could surface in the future (❗) more relevant links, as we've discussed for the Project Overview page, like Assigned Issues or Authored Pull Requests. Food for thought. 🍔 |
||
{p.examples.length>0 && <TabMenuItem name='Examples' selected={selection === 'Examples'} onClick={() => setSelection('Examples')} />} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue: Works great for team-level workspaces but does not make much sense for project-level workspaces, right? I'd expect New Workspace action to create a new workspace for the associated project without asking for confirmation or project selection. What do you think? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thought: For project-level workspaces, triggering the new workspace modal could be helpful if in the future we'd like to ask for branch or workspace-specific variables before starting a workspace. Food for thought. 🍔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Nice! However, a single item tab group does not make much sense, right? Maybe we could hide the tabs altogether for team-level and project-level level workspaces (new workspace modal)? |
||
</div> | ||
</div> | ||
<div className="border-t border-gray-200 dark:border-gray-800 -mx-6 px-6 py-2"> | ||
|
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: Do we need to change this? Spacing works great with
pb-8 pt-6
as the heading font and height provide the visual balance needed here. 💭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.
I adjusted it to match your designs