[Discover] Remove the legacy table#201254
Conversation
|
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
… 167582-remove-legacy-table
There was a problem hiding this comment.
Is it safe to remove them from the schema?
There was a problem hiding this comment.
Is it safe to remove them from this types?
There was a problem hiding this comment.
Is it safe to remove them from this schema?
There was a problem hiding this comment.
Yes... this schema is for informational purposes, and it doesn't directly apply to mappings.
The idea was that the telemetry dictionary would tell us when it was removed. But we never managed to fully build that internal feature 😅
|
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
sabarasaba
left a comment
There was a problem hiding this comment.
kibana management changes lgtm
Dosant
left a comment
There was a problem hiding this comment.
packages/kbn-management/settings/setting_ids/index.ts lgtm! :)
pheyos
left a comment
There was a problem hiding this comment.
Functional test service changes for data_grid and doc_table LGTM
jbudz
left a comment
There was a problem hiding this comment.
.buildkite/ftr_platform_stateful_configs.yml
nreese
left a comment
There was a problem hiding this comment.
kibana-presentation changes LGTM
code review only
There was a problem hiding this comment.
Yes... this schema is for informational purposes, and it doesn't directly apply to mappings.
The idea was that the telemetry dictionary would tell us when it was removed. But we never managed to fully build that internal feature 😅
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
References to deprecated APIs
Total ESLint disabled count
History
cc @jughosta |
- Closes elastic#167582 ## Summary This PR removes the code related to the legacy doc table and 2 Advanced Settings: `doc_table:legacy` and `truncate:maxHeight`. The legacy table in Discover was replaced by the new data grid in v8.3. The `doc_table:legacy` Advanced Setting was added to let users switch back to the legacy table if necessary. The removal of the setting and the legacy table entirely would allow us to reduce bundle size, maintenance burden, and code complexity. Also the legacy table does not support many new features which were added to the grid only (e.g. comparing selected documents, context-aware UI based on current solution project, column resizing, bulk row selection, copy actions, new doc viewer flyout, and more). Since v8.15 `doc_table:legacy` is marked as deprecated on Advanced Settings page via elastic#179899 Since v8.16 `truncate:maxHeight` is marked as deprecated too via elastic#183736 The removal of these 2 settings and the associated code is planned for v9. ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Summary
This PR removes the code related to the legacy doc table and 2 Advanced Settings:
doc_table:legacyandtruncate:maxHeight.The legacy table in Discover was replaced by the new data grid in v8.3. The
doc_table:legacyAdvanced Setting was added to let users switch back to the legacy table if necessary. The removal of the setting and the legacy table entirely would allow us to reduce bundle size, maintenance burden, and code complexity.Also the legacy table does not support many new features which were added to the grid only (e.g. comparing selected documents, context-aware UI based on current solution project, column resizing, bulk row selection, copy actions, new doc viewer flyout, and more).
Since v8.15
doc_table:legacyis marked as deprecated on Advanced Settings page via #179899Since v8.16
truncate:maxHeightis marked as deprecated too via #183736The removal of these 2 settings and the associated code is planned for v9.
Checklist
release_note:breakinglabel should be applied in these situations.