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

[TableColumnCustomizationModal] Option to sort the Available Columns by name #3698

Open
1 task done
bogy0 opened this issue Jan 18, 2023 · 1 comment
Open
1 task done
Labels
status: needs design 🎨 Items that require the input of a visual/ux designer status: needs triage 🔍 type: enhancement 💡 New feature or request val: 3

Comments

@bogy0
Copy link
Contributor

bogy0 commented Jan 18, 2023

What package is this for?

  • React

Summary

Since we have the option to show column name rather than column id in the TableColumnCustomizationModal, then we also need the option to sort by column name so that users are not confused. A user might be looking for a column name and not see it if it is not displayed alphabetically. Also, sorting by name is important when text is translated.

@bogy0 bogy0 added status: needs priority 📥 Enhancements without a `val #` label status: needs triage 🔍 type: enhancement 💡 New feature or request labels Jan 18, 2023
@JordanWSmith15 JordanWSmith15 added the status: needs design 🎨 Items that require the input of a visual/ux designer label Jan 19, 2023
@dianasanborn
Copy link
Collaborator

Since this is using the list component and not the data table, we won't have column sorting in the column header. Especially when there are lists with multiple columns, column sorting wouldn't work on the single header.

Though, I've seen teams explore having a sort action paired with the search input. (The example below is not exactly to spec, but to show what I've seen).

Screenshot 2023-01-25 at 3 19 19 PM

Clicking on the sort icon would give you a menu to sort by ascending, descending, etc.

@JordanWSmith15 JordanWSmith15 added val: 3 and removed status: needs priority 📥 Enhancements without a `val #` label labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs design 🎨 Items that require the input of a visual/ux designer status: needs triage 🔍 type: enhancement 💡 New feature or request val: 3
Projects
None yet
Development

No branches or pull requests

3 participants