[Proposal][DeAngular][table] table visualization re-write to get rid of angular #2139
Labels
de-angular
de-angularize work
tableVis
table visualization
technical debt
If not paid, jeapardizes long-term success and maintainability of the repository.
v2.5.0
'Issues and PRs related to version v2.5.0'
visualizations
Issues and PRs related to visualizations
Statement
Currently, table visualization is written in Angular. Angular is not supported since 12/2021 and cause high severity CVE issues. Since we decided to remove angular from current code base, table visualization needs to be refactored ore re-written in ReAct. Meanwhile, our current table visualization is old and we see new requests from users to get it updated.
In this issue, I would like to first introduce the core features of the current table visualization. Then make some high-level proposals for the new table visualization. We will leave the implementation details in another design issue.
Current Table Visualization
The table visualization is used to show data in a table format. It is bootstrapped when a table is rendered.
create and access
create a table visualization
visualize
Create visualization
Data Table
as the visualization type and then choose the index patternaccess an existing table visualization
There are three ways to access the saved visualizations.
Stack Management
-->Saved objects
)features
sort the column (asc, desc)
Currently, there are only two ways to sort: asc and desc (see below image)
pagination
export table as csv
There are two options,
Raw
andFormatted
Raw
to export the data table in csvFormatted
to export the data table in csvoptions
-->percentage column
.split table in columns and rows
Rows
Columns
show total
options
-->show total
. Then you will be able to select different metrics.see there is a calculated total at the bottom:
show partial rows
options
-->show partial rows
. This option will allow table visualization to show partial rows if there are many columns.show metrics for every bucket/level
show percentage column
options
--> choosePercentage column
and the metricsDon't show
Proposal
The purpose to create a new table visualization is to remove Angular code and upgrade our table visualization. It should be easy to use with minimum learning curve. Therefore, I would like to propose minimal changes from usage perspective:
(a) the black up-pointing/down-pointing triangle is not clear to me
(b) the column width is not adjustable. when there are a lot of columns, users don't have the choice to adjust the column.
Providing feedback
The purpose of this proposal is to introduce our current table visualization and our thoughts to enhance the usability. We would like to collect feedback from the community. This proposal is meant to cover the high-level proposal and functionality but does not go into implementation details and architecture. Once we get feedback from the community we will publish a more detailed design doc.
For any feedback on the problem statement, the proposal, or any open questions please leave your comments on this issue. Looking forward to your input!
The text was updated successfully, but these errors were encountered: