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

sortable table of styles #1820

Open
Eccenux opened this issue Sep 12, 2024 · 1 comment
Open

sortable table of styles #1820

Eccenux opened this issue Sep 12, 2024 · 1 comment

Comments

@Eccenux
Copy link

Eccenux commented Sep 12, 2024

I experiment with styles a lot, and sometimes I get lost in the list of style in Stylus. Would you mind adding some header columns to the styles table and integrating a sorting library?

Wikipedia uses jquery.tablesorter (I know there are other libraries, but this one is handy for me). You can see an example of a sortable table here:
https://www.mediawiki.org/wiki/Help:Sortable_tables?debug=2#Specifying_a_sort_key

For the time and size columns, you'll probably need to use data-sort-value= to ensure proper sorting.

@tophf
Copy link
Member

tophf commented Sep 13, 2024

Eventually, a sortable header would be nice, but you can already sort the styles:

image

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

No branches or pull requests

2 participants