-
Notifications
You must be signed in to change notification settings - Fork 39
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
✨ Introducing ActionsColumn Component in Assessment Table #1314
Conversation
ibolton336
commented
Aug 25, 2023
•
edited
Loading
edited
- This PR introduces the ActionsColumn component in the assessment table
8782c88
to
41545ea
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1314 +/- ##
=======================================
Coverage 43.04% 43.04%
=======================================
Files 145 145
Lines 4330 4330
Branches 999 999
=======================================
Hits 1864 1864
Misses 2454 2454
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
36a056b
to
cfb3c9f
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.
Awesome! Nitpicks with self-closing tags, take them or leave them.
TIL about the ActionsColumn component, I suppose we should update the other composable tables to use it too
onClick={() => | ||
setSaveApplicationModalState(application) | ||
} | ||
></Button> |
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.
You can make this empty Button tag self-closing
setApplicationDependenciesToManage(application), | ||
}, | ||
]} | ||
></ActionsColumn> |
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.
Same here with ActionsColumn
4b48443
to
d9d513c
Compare
Signed-off-by: ibolton336 <[email protected]>
d9d513c
to
725febc
Compare
+1 Opened this issue to track #1318 |
Part of #1264. Uses the ActionsColumn component pattern introduced in #1314 to add a kebab menu for actions shown in [this mockup](https://www.sketch.com/s/af50e991-8061-4b69-84c1-c11241e274f2/a/eldjjKW). All 3 actions are currently stubs to unblock @sjd78 from integrating his Edit functionality. PR to implement Duplicate and Delete will be next. Follows the pattern found in this PF example for "danger" menu items (red text below a separator): https://www.patternfly.org/components/menus/menu#danger-menu-item --------- Signed-off-by: Mike Turley <[email protected]>