-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Serverless] Visualizations team changes #154307
Comments
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations) |
About the functional testing, we haven't figured out about the serverlerss tests yet but we could create a new suite with the readonly yaml settings set to true and test the above scenarios (no edit buttons for the readonly visualizations etc) |
Configurina yaml settings only for serverless #156837 |
part of #154307 PR adds ability to put TSVB into read only mode - preventing TSVB visualizations from being created and edited. To test: * start kibana with `yarn start --serverless=es` * add `vis_type_timeseries.readOnly: true` to kibana.yml Visualization public plugin changes: * Removes `hideTypes` from VisualizationSetup contract. Used by Maps plugin to set "hidden" to true for tile_map and region_map visualization types. In 8.0, tile_map and region_map visualization type registration moved into maps plugin so `hideTypes` no longer needed. * Renamed vis type definition `hidden` to `disableCreate`. * Added `disableEdit` to vis type definition. * Hide edit link in dashboard panel options when `disableEdit` is true * Does not display links and edit action in listing table when `disableEdit` is true Visualization server plugin changes: * Add `readOnlyVisType` registry to set up contract * Update visualization savedObject.management.getInAppUrl to return undefined when vis type has been registered as readOnly. * Prevents "readOnly "visualization types from being displayed in global search results * Prevents "readOnly "visualization types from having links in saved object management listing table. Timeseries server plugin changes: * Add `readOnly` yaml configuration * Expose `readOnly` yaml configuration to public * When `readOnly` is true, call VisualizationsServerSetup.registerReadOnlyVisType to mark vis type as read only Timeseries public plugin changes: * Set disableCreate and disableEdit to true when `readOnly` is true --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Stratoula Kalafateli <[email protected]>
Part of #154307 ### Overview PR adds `readOnly` configuration to all vis_type plugins. ### Test * Start kibana with `yarn start --serverless=es` * set the following yaml configuration values ``` vis_type_gauge.readOnly: true vis_type_heatmap.readOnly: true vis_type_metric.readOnly: true vis_type_pie.readOnly: true vis_type_table.readOnly: true vis_type_tagcloud.readOnly: true vis_type_timelion.readOnly: true vis_type_timeseries.readOnly: true vis_type_vislib.readOnly: true vis_type_xy.readOnly: true ``` --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Stratoula Kalafateli <[email protected]>
Part of #154307 ### Test * Start kibana with `yarn start --serverless=es` * set the following yaml configuration values ``` input_control_vis.readOnly: true ``` --------- Co-authored-by: kibanamachine <[email protected]>
Part of #154307 Closes #95542 PR adds tagcloud visualization to lens <img width="600" alt="Screen Shot 2023-05-31 at 1 11 00 PM" src="https://github.com/elastic/kibana/assets/373691/f54f76a3-9757-4a00-ac65-a203e5bb113a"> --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Stratoula Kalafateli <[email protected]>
#158962) Part of #154307 Closes #116421 PR adds `Significance` selection to `Rank by` select. When selected, top values are fetched with [significant_terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html) <img width="600" alt="Screen Shot 2023-06-02 at 12 56 29 PM" src="https://github.com/elastic/kibana/assets/373691/b6a4f70a-4121-4c38-b6d5-7d46dc48ab1a"> --------- Co-authored-by: kibanamachine <[email protected]>
Part of #154307 Add convert to lens logic for tag cloud visualization --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Stratoula Kalafateli <[email protected]>
Part of #154307 Update convert to lens functionality to support significant terms aggregation <img width="500" alt="Screen Shot 2023-06-13 at 8 58 09 AM" src="https://github.com/elastic/kibana/assets/373691/949199ee-24e2-45d0-84b1-512698abecb4"> --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Stratoula Kalafateli <[email protected]>
Closing, all items have been completed |
Describe the feature:
In serverless the available editors/visualizations will be:
Timelion, aggbased will be on readonly mode, Graph will be disabled
Some features will be unavailable in v1, eventually will will add Lens feature parity for:
Things we need to do:
The text was updated successfully, but these errors were encountered: