scania-digital-design-system / tegel

Tegel Design System
https://tegel.scania.com
MIT License
15 stars 12 forks source link

fix(table): sorting arrow default and direction correction #669

Closed theJohnnyMe closed 2 weeks ago

theJohnnyMe commented 3 weeks ago

Describe pull-request

Fixing two issue:

Improvement:

Issue Linking:

Choose one of the following options

How to test

  1. Open preview link, go to sortable table story
  2. On initial state, all unsorted columns on hover should have icon with two arrows, one pointing down, one up to indicate this columns is sortable.
  3. Clicking on header, ascending has arrow pointing up, descending has arrow pointing down.

Checklist before submission

Suggested test steps

Screenshots

Include before/after screenshots for UI changes.

Additional context

aws-amplify-eu-north-1[bot] commented 3 weeks ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-669.d3fazya28914g3.amplifyapp.com

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud