-
Notifications
You must be signed in to change notification settings - Fork 182
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
frontend: refactor row action menus #2621
base: main
Are you sure you want to change the base?
Conversation
farodin91
commented
Nov 30, 2024
•
edited
Loading
edited
- only show view or edit
- move function out of resourcetable to make it more readable
- Merge Row actions menus and details view header actions
42947e0
to
8b1cc78
Compare
@@ -27,6 +27,7 @@ const checkExports = [ | |||
'ResourceListView', | |||
'ResourceTable', | |||
'resourceTableSlice', | |||
'ResourceTableSingleActions', |
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 wonder if this should actually be exported.
8b1cc78
to
884b4b7
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.
Left a comment about backward compatibility. Also check out the unsorted imports.
actions?: null | RowAction[]; | ||
actions?: null | HeaderAction[]; |
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 think we need to leave this with the previous type because plugins may be using it and it would mean a type break for them.
Signed-off-by: farodin91 <[email protected]>
884b4b7
to
68179b8
Compare
@joaquimrocha I merged header and row action to make the equal. What do you think? |