mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1273] Feature Request: UI Rework #783
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#783
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aitorllj93 on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1273
Type
What is the problem that your feature request solves
This comes from a conversation with @pirate in the REST API status question. We both agree that would be nice to add a new UI to the project including state-of art technologies and patterns and improving the user experience
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
New FrontEnd built on top of Django Templates. Tailwind for the styles instead of Bootstrap. Possibly HTMX in case we need to add some extra JS logic. Additionally, we might need some additional JS libraries or components, in those cases we should have an open talk about the specific cases and reach to an agreement, by trying to minimize the impact on the application overall
cc @pirate @zblesk
@aitorllj93 commented on GitHub (Nov 21, 2023):
@pirate feel free to assign me the issue, I can work on some prototyping this weekend so I can show you my ideas and we can define the scope and features that would be nice to include. I can also try to start including tailwind in the project although it's my first time with Django so I might need some help on that. Let me know if there's anyone else worth it to mention on the UI topic, I would love to hear some feedback on usability improvements we can include.
@aitorllj93 commented on GitHub (Nov 21, 2023):
This is an example of a previous pet project I worked on during my first try on HTMX. All the interactions, including the right drawer are built using htmx & tailwind. The only custom javascript there is for the epub reader library, which is an isolated template rendered after the html or htmx navigate to that specific page.
https://github.com/ArchiveBox/ArchiveBox/assets/5903438/59c94c3a-e3be-40b9-a25a-57b2cd237bce
@Victor239 commented on GitHub (Oct 17, 2024):
This would be enormously helpful to have thumbnails of all archived content, the current table is useful for seeing many items at a time but sometimes I'd rather be quickly reminded of what an item actually is via a thumbnail.
@pirate commented on GitHub (Oct 17, 2024):
There is actually already a thumbnail grid view in the upper right of the filters area (on the snapshots admin list).
The button to use it is way too small, so most people don't see it. We should make it more prominent.
@Victor239 commented on GitHub (Oct 17, 2024):
Thanks, yeah had never noticed that before. The thumbnails don't seem to load for me though, but when I click on each item I can see a thumbnail underneath their

SingleFilesection at least:@pirate commented on GitHub (Oct 17, 2024):
The Snapshot grid view thumbnails are only based on the
screenshotoutput, so if you're missing that output which it looks like you are, then nothing will show.Do you have chrome or the screenshot method disabled? If you open a new issue with the output of
archivebox versionI can help debug the missing screenshots.@Victor239 commented on GitHub (Oct 17, 2024):
I believe when I created these archives I only selected the
SingleFileoption. It's been a few years since I last used AB so getting familiar with it again after seeing the HN post.It would be useful to have AB utilise the thumbnail from
SingleFile, or whatever alternative archive types are available if screenshot wasn't selected. I think I might have not selectedScreenshotas an additional archive type to reduce storage usage.@pirate commented on GitHub (Oct 17, 2024):
Singlefile is fairly heavy to use for thumbnails, you'd effecitvley be loading iframes of 40 sites all at once to view the grid. I would re-enable screenshots, they're not too big usually, just an extra 1MB/url.
@Victor239 commented on GitHub (Oct 17, 2024):
Thanks, will do!
@TomK32 commented on GitHub (Jan 16, 2025):
Might make sense to generate a thumbnail (in landscape, or even better use the image provided in the open graph metadata if available) of the screenshot just for the grid view. I'll put some work into getting that grid/list view button into a spot where people can actually see it.
Other things about the grid: Link to the
index.html, I'm not a fan of this massive header and prefer to be sent to thesinglefile.htmlwhen I click the snapshot. Maybe I can make that configurable? There's too much noise on the grid view anyways: Do we care about the datetime, number of outputs or size in MB. Even the checkbox for selecting them is something that should be switched elsewhere or by tapping for a longer duration.The filters weren't mentioned, but I'd love to change them to something like the date filters that Firefox's History window has: Today, Yestday, Last 7 Days, This Month, December 2024, ... older than 3 Months. Thoughts?