Skip to content

Conversation

@guechhouth
Copy link

SUMMARY

Sort tags alphabetically (case-insensitive) across the application. Changes:

  • Updated TagsList.tsx to sort tags alphabetically using localeCompare() with memoization
  • Changed initialSort in Tags page from changed_on_delta_humanized (desc) to name (asc) for consistent alphabetical ordering

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

video link: https://drive.google.com/file/d/1iH2tXN7Igmf-yKuXvWF2n8C3lSIYg-Ep/view?usp=sharing

TESTING INSTRUCTIONS

  1. Navigate to the Tags page
  2. Create tags with mixed case names (e.g., "Apple", "banana", "Cherry", "zebra")
  3. Verify tags are displayed in alphabetical order (case-insensitive)
  4. Refresh the page and confirm sort order persists
  5. Check tag pills displayed on charts/dashboards are also sorted alphabetically

ADDITIONAL INFORMATION

michael-s-molina and others added 30 commits February 3, 2025 14:07
… the SQL query (apache#30903)

Co-authored-by: Kamil Gabryjelski <[email protected]>
(cherry picked from commit f3e7c64)
…ns (apache#32218)

Co-authored-by: Erkka Tahvanainen <[email protected]>
(cherry picked from commit 9da3095)
msyavuz and others added 30 commits May 23, 2025 09:42
Co-authored-by: Amaan Nawab <[email protected]>
Co-authored-by: Geido <[email protected]>
… in caret style (apache#30514) (apache#30577)

Co-authored-by: garriscp <[email protected]>
(cherry picked from commit b7d3ff1)
Co-authored-by: richardfn <[email protected]>
(cherry picked from commit 38868f9)
…#33285)

Co-authored-by: Michael S. Molina <[email protected]>
Co-authored-by: Michael S. Molina <[email protected]>
(cherry picked from commit 57183da)
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.

Issue #11 - [BUG] Tags display in inconsistent order instead of alphabetically