Skip to content

add SavedObjectType.management.displayName#113091

Merged
pgayvallet merged 7 commits intoelastic:masterfrom
pgayvallet:kbn-105575-som-displayName
Sep 28, 2021
Merged

add SavedObjectType.management.displayName#113091
pgayvallet merged 7 commits intoelastic:masterfrom
pgayvallet:kbn-105575-som-displayName

Conversation

@pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Sep 27, 2021

Summary

Fix #105575

Introduce a new management.displayName option when registering a SO type to allow type owners to specify the label used for the type in SO management.

(Note: dashboard only has a displayName for testing and screenshot purposes)

Screenshot 2021-09-27 at 15 06 07

Screenshot 2021-09-27 at 15 06 21

Screenshot 2021-09-27 at 15 06 32

Checklist

@pgayvallet pgayvallet added Feature:Saved Objects Management Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Sep 27, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
savedObjectsManagement 85 90 +5

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
savedObjectsManagement 84.0KB 84.3KB +238.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
savedObjectsManagement 16.6KB 16.6KB -9.0B
Unknown metric groups

API count

id before after diff
core 2292 2293 +1
savedObjectsManagement 98 103 +5
total +6

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pgayvallet pgayvallet marked this pull request as ready for review September 28, 2021 09:22
@pgayvallet pgayvallet requested a review from a team as a code owner September 28, 2021 09:22
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pgayvallet pgayvallet merged commit daaa6f8 into elastic:master Sep 28, 2021
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Sep 28, 2021
* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
# Conflicts:
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx
#	src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx
pgayvallet added a commit that referenced this pull request Sep 28, 2021
* add `SavedObjectType.management.displayName` (#113091)

* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
# Conflicts:
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx
#	src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx

* fix types

* fix allowedTypes usage

* fix unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Saved Objects Management release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.16.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent terminology in the Saved Objects UX

4 participants