[GH-ISSUE #40] Index: Add a way to sort the index table by column #27

Closed
opened 2026-03-01 14:39:57 +03:00 by kerem · 5 comments
Owner

Originally created by @nodiscc on GitHub (Aug 3, 2017).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/40

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.

  • Sort items by reverse/chronological order
  • Sort items by title
  • Sort items by original URL

This would probably require a bit of Javascript

Originally created by @nodiscc on GitHub (Aug 3, 2017). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/40 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. * Sort items by reverse/chronological order * Sort items by title * Sort items by original URL This would probably require a bit of Javascript
kerem 2026-03-01 14:39:57 +03:00
Author
Owner

@pirate commented on GitHub (Aug 3, 2017):

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.

<!-- gh-comment-id:320022224 --> @pirate commented on GitHub (Aug 3, 2017): 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.
Author
Owner

@nodiscc commented on GitHub (Aug 3, 2017):

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.

Not super keen on adding JS either since right now it's pure HTML+CSS.

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

<!-- gh-comment-id:320045464 --> @nodiscc commented on GitHub (Aug 3, 2017): 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: * https://l3net.wordpress.com/2016/07/23/firejail-0-9-42rc1-release-announcement/ post date * http://www.ibiblio.org/harris/500milemail.html post author * https://httpd.apache.org/docs/trunk/mod/directives.html revision * URLs are hierarchical in nature * ... Sorting by title is not as important. > Not super keen on adding JS either since right now it's pure HTML+CSS. 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
Author
Owner

@pirate commented on GitHub (Aug 5, 2017):

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.

<!-- gh-comment-id:320385634 --> @pirate commented on GitHub (Aug 5, 2017): 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.
Author
Owner

@pirate commented on GitHub (Aug 26, 2017):

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.

<!-- gh-comment-id:325155756 --> @pirate commented on GitHub (Aug 26, 2017): Woah guys I just found this https://github.com/jlord/sheetsee-pocket ([DEMO](http://jlord.us/sheetsee-pocket/)), 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.
Author
Owner

@jlord commented on GitHub (Aug 29, 2017):

Hi @pirate! Sorry about the delay! I don't have any bandwidth to help unfortunately but feel free to take inspiration!

<!-- gh-comment-id:325648318 --> @jlord commented on GitHub (Aug 29, 2017): Hi @pirate! Sorry about the delay! I don't have any bandwidth to help unfortunately but feel free to take inspiration! ✨
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#27
No description provided.