opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.7k stars 898 forks source link

[Workspace] feat: optimize recent items and filter out items whose workspace is deleted #8900

Open raintygao opened 6 days ago

raintygao commented 6 days ago

Description

  1. optimize recent items
  2. filter out items whose workspace is deleted

Screenshot

No UI change

Testing the changes

  1. Update internal users to emit app updaters and recent items would not send extra request
  2. Filter out items whose workspace is deleted

Changelog

Check List

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.87%. Comparing base (89265b6) to head (03c6825).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #8900 +/- ## ======================================= Coverage 60.87% 60.87% ======================================= Files 3802 3802 Lines 91060 91060 Branches 14370 14370 ======================================= + Hits 55435 55436 +1 + Misses 32085 32084 -1 Partials 3540 3540 ``` | [Flag](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [Linux_1](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `29.01% <0.00%> (ø)` | | | [Linux_2](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `56.38% <100.00%> (-0.01%)` | :arrow_down: | | [Linux_3](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `37.90% <0.00%> (?)` | | | [Linux_4](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `29.00% <0.00%> (ø)` | | | [Windows_1](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `29.03% <0.00%> (ø)` | | | [Windows_2](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `56.34% <100.00%> (-0.01%)` | :arrow_down: | | [Windows_3](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `37.90% <0.00%> (ø)` | | | [Windows_4](https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards/pull/8900/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `29.00% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: