konveyor / tackle2-ui

Tackle (2nd generation) UI component.
Apache License 2.0
8 stars 43 forks source link

:sparkles: Provide initial state for column management #1964

Closed rszwajko closed 5 months ago

rszwajko commented 5 months ago

Related improvements:

  1. support restoring columns to initial configuration
  2. clean up invalid columns stored in local storage

Part-of: https://github.com/konveyor/tackle2-ui/issues/1931

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 13.33333% with 13 lines in your changes missing coverage. Please review.

Project coverage is 42.05%. Comparing base (b654645) to head (d39d7b3). Report is 164 commits behind head on main.

Files Patch % Lines
.../app/hooks/table-controls/column/useColumnState.ts 14.28% 12 Missing :warning:
...c/app/hooks/table-controls/useTableControlState.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1964 +/- ## ========================================== + Coverage 39.20% 42.05% +2.85% ========================================== Files 146 166 +20 Lines 4857 5340 +483 Branches 1164 1337 +173 ========================================== + Hits 1904 2246 +342 - Misses 2939 3078 +139 - Partials 14 16 +2 ``` | [Flag](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1964/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | Coverage Δ | | |---|---|---| | [client](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1964/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `42.05% <13.33%> (+2.85%)` | :arrow_up: | | [server](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1964/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `?` | | 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=konveyor#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.