-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Revert Manage Themes dialog group/theme name input change #2883
Conversation
|
@@ -175,7 +178,7 @@ export const CreateOrEditThemeForm: React.FC<React.PropsWithChildren<React.Props | |||
)} | |||
<Stack direction="column" gap={1}> | |||
{activeTab === ThemeFormTabs.SETS && ( | |||
<Stack direction="column" gap={1} css={{ padding: '0 $4 $3' }}> | |||
<Stack direction="column" gap={1} css={{ padding: '$3 $4 $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.
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.
A few minor comments. Looks good :)
@@ -118,6 +117,7 @@ export const CreateOrEditThemeForm: React.FC<React.PropsWithChildren<React.Props | |||
autofocus | |||
data-testid="create-or-edit-theme-form--group--name" | |||
{...register('group')} | |||
placeholder="Add group" |
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.
Maybe use createNewGroup
as it's a translated string? Or anything similar.
full | ||
data-testid="create-or-edit-theme-form--input--name" | ||
{...register('name', { required: true })} | ||
placeholder="Theme name" |
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.
Similar comment about this placeholder being a translated string if possible
variant="secondary" | ||
icon={<IconPlus />} | ||
size="small" | ||
css={{ display: 'flex', alignItems: 'center', height: '28px' }} |
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.
css={{ display: 'flex', alignItems: 'center', height: '28px' }} | |
css={{ display: 'flex', alignItems: 'center', height: $controlMedium }} |
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.
Actually, none of this CSS is needed? Just tried disabling it and there's other styling that takes over, and is the same as this.
@macintoshhelper would you want to make these changes in a follow-up PR? I'll merge this in for rc8 given the requested changes dont change behavior too much 👍 |
Why does this PR exist?
Fixes #2880
What does this pull request do?
Testing this change
Theme: None
orTheme: {theme_name_here}
Manage Themes
+ New Theme
buttonAdditional Notes (if any)
Add group
andTheme name