-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Feature Controls - Simplify Saved Objects Management UI Capabilities #38461
Conversation
💔 Build Failed |
💚 Build Succeeded |
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've pointed out opportunities to further simplify the UI components. I didn't undertake that effort yet, but I can if we find benefit to doing so. I wasn't sure if we'd want that flexibility in the future, but that alone might be reason enough to simplify now
edit: done
..._plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js
Outdated
Show resolved
Hide resolved
..._plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js
Outdated
Show resolved
Hide resolved
Pinging @elastic/kibana-security |
💚 Build Succeeded |
ACK: reviewing right now |
...kibana/public/management/sections/objects/components/objects_table/components/table/table.js
Outdated
Show resolved
Hide resolved
x-pack/test/ui_capabilities/security_and_spaces/tests/saved_objects_management.ts
Outdated
Show resolved
Hide resolved
unableToDeleteSavedObjectTypes.length > 0 ? `Unable to delete ${unableToDeleteSavedObjectTypes.join(', ')}` : undefined | ||
this.props.canDelete | ||
? undefined | ||
: i18n.translate( |
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.
🥇
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 on green CI
💚 Build Succeeded |
…lastic#38461) * start simplifying saved objects management UI Capabilities * update tests * simplify UI * address PR feedback * remove savedObjectsManagement UI Capabilities tests
Summary
This is a prerequisite to to implementing the Copy To Space API.
This simplifies the Saved Objects Management UI Capabilities by changing the capabilities from being type-specific, to just feature specific.
Previously:
Now: