-
Notifications
You must be signed in to change notification settings - Fork 43
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
✨ Update business services table to use ActionsColumn #1921
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1921 +/- ##
==========================================
+ Coverage 39.20% 42.05% +2.85%
==========================================
Files 146 166 +20
Lines 4857 5340 +483
Branches 1164 1298 +134
==========================================
+ Hits 1904 2246 +342
- Misses 2939 3078 +139
- Partials 14 16 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM, I just want to check on the edit pencil icon in some other tables
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.
LGTM
@mguetta1 - I like the one with the edit pencil. Which option do you want to use? |
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.
@mguetta1 @ibolton336
AppTableActionButtons
is a wrapper that provides RBAC access check. Please provide some more context why we need to remove it.
The idea initially was to standardize on a common approach in the table now that this new table component was available. Modifying the AppTableActionButtons component to make use of the ActionsColumn may be a better approach. The use of PF Flex inside the AppTableActionButtons causes some inconsistent spacing when compared to the tables using ActionsColumn. |
Structurally I like the "new" style for the component layout. However, with the different containing component, are we dropping some RBAC checks? That could be ok so long as there is a new effort soon (i.e. in the release after 0.5) to refactor RBAC and apply it on all actions. Humm, I may need to write up an issue to capture that work (and keycloak lib upgrades). |
This option |
@rszwajko @ibolton336 @sjd78 |
I think it'd be worth trying to save the component for reuse as Radek mentioned. That way we don't need a new PR for each place we make these changes & can avoid maintenance headaches. |
…m PF5 Signed-off-by: Maayan Hadasi <[email protected]>
Signed-off-by: Maayan Hadasi <[email protected]>
Signed-off-by: Maayan Hadasi <[email protected]>
Signed-off-by: Maayan Hadasi <[email protected]>
Signed-off-by: Maayan Hadasi <[email protected]>
bs-new.mp4 |
Signed-off-by: Maayan Hadasi <[email protected]>
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.
This looks good. I'd just like to see the new component in a different folder.
Signed-off-by: Maayan Hadasi <[email protected]>
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.
LGTM
Signed-off-by: Scott Dickerson <[email protected]>
Related to #1318
OR