Skip to content
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

[Table Visualization][Test] Add unit tests #2856

Closed
ananzh opened this issue Nov 10, 2022 · 3 comments
Closed

[Table Visualization][Test] Add unit tests #2856

ananzh opened this issue Nov 10, 2022 · 3 comments
Assignees
Labels
roadmap tableVis table visualization test:unit v2.7.0 visualizations Issues and PRs related to visualizations

Comments

@ananzh
Copy link
Member

ananzh commented Nov 10, 2022

Should add unit tests using react test library.

@ananzh ananzh added bug Something isn't working untriaged labels Nov 10, 2022
@ananzh ananzh self-assigned this Nov 10, 2022
@ananzh ananzh added tableVis table visualization test:unit v2.5.0 'Issues and PRs related to version v2.5.0' visualizations Issues and PRs related to visualizations and removed bug Something isn't working untriaged labels Nov 10, 2022
@ananzh ananzh removed the v2.5.0 'Issues and PRs related to version v2.5.0' label Dec 16, 2022
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 16, 2023
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 17, 2023
@joshuarrrr joshuarrrr added v2.7.0 and removed v2.6.0 labels Feb 17, 2023
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Feb 21, 2023
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 5, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 5, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 14, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 14, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
@joshuarrrr
Copy link
Member

@ananzh Will this issue be resolved by #3397 ?

ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 17, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
joshuarrrr pushed a commit that referenced this issue Apr 17, 2023
…3397)

Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
#3395
#2856

Signed-off-by: Anan Zhuang <[email protected]>
@ananzh
Copy link
Member Author

ananzh commented Apr 17, 2023

unit tests are added. close this issue.

@ananzh ananzh closed this as completed Apr 17, 2023
@joshuarrrr
Copy link
Member

completed via #3397

ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 17, 2023
Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Apr 17, 2023
…d unit tests

Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Backport PR:
opensearch-project#3397

Issue Resolved:
opensearch-project#3395
opensearch-project#2856

Signed-off-by: Anan Zhuang <[email protected]>
ashwin-pc pushed a commit that referenced this issue Apr 18, 2023
…d unit tests (#3869)

Currently, table data is formatted by a until function convertToFormattedData
in TableVisComponent. In this PR, we moved the formatting data process
to table_vis_response_handler.ts to combine with other data process
logics. In this way, component render and data handling logics are
completely isolated. This PR also solidate some types.

Backport PR:
#3397

Issue Resolved:
#3395
#2856

Signed-off-by: Anan Zhuang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap tableVis table visualization test:unit v2.7.0 visualizations Issues and PRs related to visualizations
Projects
None yet
Development

No branches or pull requests

2 participants