[Shared] Add @kbn/dashboards-selector package#233445
Conversation
b38c330 to
19e996c
Compare
35ebc88 to
620942c
Compare
| @@ -0,0 +1,48 @@ | |||
| # `@kbn/dashboards` | |||
There was a problem hiding this comment.
Can we rename this to something more specific? Maybe something like @kbn/dashboards-selector?
There was a problem hiding this comment.
Thanks, I had a hard time finding a good name 😂
package.json
Outdated
| "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", | ||
| "@kbn/dashboard-markdown": "link:src/platform/plugins/shared/dashboard_markdown", | ||
| "@kbn/dashboard-plugin": "link:src/platform/plugins/shared/dashboard", | ||
| "@kbn/dashboards": "link:src/platform/packages/shared/dashboards", |
There was a problem hiding this comment.
Ideally, the new package lives under the dashboards folder, something like link:src/platform/packages/shared/dashboards/dashboard-selector or something like that. Then we have room for other dashboard packages in the same folder.
There was a problem hiding this comment.
Sorry, I didn't fully get what you said in that Slack thread, it should be good now.
620942c to
905b332
Compare
905b332 to
1a845cf
Compare
1a845cf to
f26d53b
Compare
nickpeihl
left a comment
There was a problem hiding this comment.
lgtm! just a nit about package type.
src/platform/packages/shared/dashboards/dashboards-selector/kibana.jsonc
Outdated
Show resolved
Hide resolved
…bana.jsonc Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
|
This pull request introduces a new shared package, `@kbn/dashboards-selector`, to enable reuse of the combobox component. This component is currently used to link dashboards to rules, and it will now also be used to link dashboards to SLOs. The component I want to reuse in SLO: <img width="1166" height="283" alt="Screenshot 2025-08-29 at 12 07 18" src="https://github.com/user-attachments/assets/c6aff5cc-1a7a-4371-9b13-46025dd38904" /> This update is necessary for the implementation of elastic#233265. --------- Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
This pull request introduces a new shared package, `@kbn/dashboards-selector`, to enable reuse of the combobox component. This component is currently used to link dashboards to rules, and it will now also be used to link dashboards to SLOs. The component I want to reuse in SLO: <img width="1166" height="283" alt="Screenshot 2025-08-29 at 12 07 18" src="https://github.com/user-attachments/assets/c6aff5cc-1a7a-4371-9b13-46025dd38904" /> This update is necessary for the implementation of elastic#233265. --------- Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
This pull request introduces a new shared package, `@kbn/dashboards-selector`, to enable reuse of the combobox component. This component is currently used to link dashboards to rules, and it will now also be used to link dashboards to SLOs. The component I want to reuse in SLO: <img width="1166" height="283" alt="Screenshot 2025-08-29 at 12 07 18" src="https://github.com/user-attachments/assets/c6aff5cc-1a7a-4371-9b13-46025dd38904" /> This update is necessary for the implementation of elastic#233265. --------- Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
This pull request introduces a new shared package,
@kbn/dashboards-selector, to enable reuse of the combobox component. This component is currently used to link dashboards to rules, and it will now also be used to link dashboards to SLOs.The component I want to reuse in SLO:

This update is necessary for the implementation of #233265.