-
Notifications
You must be signed in to change notification settings - Fork 1
feat(greenhouse): add plugin preset detail view #1442
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: dd35f2b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
apps/greenhouse/src/components/admin/PluginPresetDetail/Overview/index.tsx
Fixed
Show fixed
Hide fixed
|
eb511f3 to
7fa8a94
Compare
edda
left a comment
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 like it! Two comments (see below)
| <Section> | ||
| <PluginPresetStats pluginPreset={pluginPreset} /> | ||
| </Section> | ||
| <Section> |
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.
To save some vertical space and utilize the horizontal space better please change the layout here so that the BasicInformation section and the ClusterSelector section are rendered in a two-column layout next to each other.
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.
fixed!
| const ready = isPluginReady(plugin) | ||
|
|
||
| return ( | ||
| <DataGridRow key={plugin.metadata?.name} onClick={() => {}}> |
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.
Will the onClick navigate to the detail view of this plugin instance in the future? If yes, then this is fine, if not please remove the empty onClick as it leads users to believe that the rows are interactive.
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.
yes that onClick is an entry point for the plugin instance detail page.
Summary
This PR implements plugin preset details view. That can be accessed at
/admin/plugin-presets/:pluginPresetName.Changes Made
Related Issues
Screenshots (if applicable)
Testing Instructions
pnpm ipnpm TASKChecklist
PR Manifesto
Review the PR Manifesto for best practises.