-
Notifications
You must be signed in to change notification settings - Fork 15
Limited collaborator UI #2960
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
Limited collaborator UI #2960
Changes from all commits
715c605
2a6079f
1a3d6dc
eb5d2a4
6650f4a
3cc46c8
955df89
c1dd1b2
4b3731d
a5646b8
38881d4
59167e5
f63e66c
7e40272
a5ce69b
58611cb
f3fc028
c6bffdc
0f86eaf
b607d6b
c7d60a5
04db59b
5808180
3d2dd5a
18c257c
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| 9617f40aa6f35b58ffd6b4e92c02ba8e7dd95033 | ||
| a6e111cf72ab987b2ea5acd7d26610ea2a55bf0f |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -394,34 +394,19 @@ export default function CreateInstanceForm() { | |
| </Tabs.Trigger> | ||
| </Tabs.List> | ||
| <Tabs.Content value="general"> | ||
| <RadioFieldDyn | ||
| name="presetId" | ||
| label="" | ||
| control={control} | ||
| disabled={isSubmitting} | ||
| > | ||
| <RadioFieldDyn name="presetId" control={control} disabled={isSubmitting}> | ||
|
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. these were the only other 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. nice |
||
| {renderLargeRadioCards('general')} | ||
| </RadioFieldDyn> | ||
| </Tabs.Content> | ||
|
|
||
| <Tabs.Content value="highCPU"> | ||
| <RadioFieldDyn | ||
| name="presetId" | ||
| label="" | ||
| control={control} | ||
| disabled={isSubmitting} | ||
| > | ||
| <RadioFieldDyn name="presetId" control={control} disabled={isSubmitting}> | ||
| {renderLargeRadioCards('highCPU')} | ||
| </RadioFieldDyn> | ||
| </Tabs.Content> | ||
|
|
||
| <Tabs.Content value="highMemory"> | ||
| <RadioFieldDyn | ||
| name="presetId" | ||
| label="" | ||
| control={control} | ||
| disabled={isSubmitting} | ||
| > | ||
| <RadioFieldDyn name="presetId" control={control} disabled={isSubmitting}> | ||
| {renderLargeRadioCards('highMemory')} | ||
| </RadioFieldDyn> | ||
| </Tabs.Content> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
The fact that the only existing callers don't pass a label means that I can change the spacing here without consequence. Looks fine. I considered
mb-4but it was slightly too much. I think the real issue here is that the label and the values have the same treatment, so there's no sense of hierarchy. A problem for another time.