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
Index: Add a way to sort the index table by column #40
Comments
I can sort of see the appeal of chronological order, but what's the use case for sorting by Title/URL? Not super keen on adding JS either since right now it's pure HTML+CSS. |
Sorting by URL would be nice to group articles by website, even if they have been bookmarked months apart. As you said in #41 Ctrl+F works, but is less practical. You can then group pages from the same website together in the list. Many pages/articles/blog posts have an URL that is relevant to some sorting method, for example:
Sorting by title is not as important.
Enabling JS should be optional and the index page should still work with js disabled (without sorting features though). I'm in favor of using a simple script, not relying on large frameworks like jquery, etc Edit: examples |
Cool, that's a pretty good use case, I didn't think of that. I'll keep this open until I have some time to hack on it. |
Woah guys I just found this https://github.com/jlord/sheetsee-pocket (DEMO), it looks awesome, and has a bunch of cool features! I pinged @jlord to see if she's interested in working on bookmark-archiver, but if not I still plan on borrowing some inspiration from her cool index design, including sortable columns and clickable tags. |
Hi @pirate! Sorry about the delay! I don't have any bandwidth to help unfortunately but feel free to take inspiration! ✨ |
The table has advanced features now. One can filter over all columns, sort all columns asc/desc and paginate the table. The state (filtered result, current page, sorting order and number of entries shown) will be saved in localStorage so the user can open the page in another window or tab and see the same output again.
Currently, archived items on the index page are sorted by reverse chronological order (most recent first), most likely they are presented in the same order as the original HTML bookmarks export.
It would be nice to be able to sort the table by clicking on each column's header. Eg.
This would probably require a bit of Javascript
The text was updated successfully, but these errors were encountered: