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

🐛 Use initialSort property #1962

Merged
merged 3 commits into from
Jun 17, 2024
Merged

🐛 Use initialSort property #1962

merged 3 commits into from
Jun 17, 2024

Conversation

rszwajko
Copy link
Collaborator

Before, initialSort property passed as parameter to useTableControlState() hook was not used as default value. Instead the defaults were calculated based on available sortable columns.

Before, initialSort property passed as parameter to
useTableControlState() hook was not used as default value.
Instead the defaults were calculated based on available sortable
columns.

Signed-off-by: Radoslaw Szwajkowski <rszwajko@redhat.com>
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 42.12%. Comparing base (b654645) to head (bf256b3).
Report is 163 commits behind head on main.

Files Patch % Lines
...c/app/hooks/table-controls/sorting/useSortState.ts 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1962      +/-   ##
==========================================
+ Coverage   39.20%   42.12%   +2.91%     
==========================================
  Files         146      166      +20     
  Lines        4857     5330     +473     
  Branches     1164     1334     +170     
==========================================
+ Hits         1904     2245     +341     
- Misses       2939     3069     +130     
- Partials       14       16       +2     
Flag Coverage Δ
client 42.12% <0.00%> (+2.91%) ⬆️
server ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@sjd78 sjd78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants