wp1 icon indicating copy to clipboard operation
wp1 copied to clipboard

Redesign of Selection/Builder/ZIM table (MyLists.vue)

Open audiodude opened this issue 9 months ago • 9 comments

We need to think about the information that is shown in this table, especially given the changes in GSoC '25 (scheduled ZIM creation).

We already know that we need to acknowledge when the ZIM is never going to arrive (#1013) and we should also have a way for the user to access the ZIM screen (ZimFile.vue) even when they have a downloadable ZIM, in order to manage their schedule (#991).

When the ZIM expires (2 weeks), the date turns red, there is a little info icon next to the button, which has become "Create ZIM" again.

But those are just some of the problems with this screen.

Image

Looking at the annotations on the table:

A - Is it important for someone to know the exact date and time that they created a Selection? If we simply allow for sorting by creation time/update time would that be enough?

B - Are users really creating Selections/ZIMs across multiple projects? Are their own names not enough for them to remember which project it targets? Or if this is really needed, is there a way we can hide this information behind like a "zippy"/collapsable?

C - More about times, now considering the "Download Updated" timestamp (which is a confusing name in itself because it refers to the TSV, not the ZIM). In practice, the TSV will be updated whenever the selection is, so the 2nd timestamp column will be very close to this column. My vote is to remove it entirely.

D - Self explanatory

E - This failure message is not actionable, which must be frustrating to the user. There is no method provided for "starting over".

Would love to know your thoughts @kelson42

audiodude avatar Feb 27 '26 15:02 audiodude

Also discussed in #1000

audiodude avatar Feb 27 '26 15:02 audiodude

I've been following the discussions around the ZIM generation workflow, and this redesign of MyLists.vue feels like the perfect next step to unify the recent changes.

Having just worked on #1100 (Refactoring DELETED status), I strongly agree with the need for more actionable states in this table. Here are my thoughts on the points raised:

Actionable States (Point E & D): Since I've implemented the DELETED status logic in ZimFile.vue, we can easily mirror that in the table. If a ZIM is expired/deleted, the 'Download' button should dynamically switch back to 'Create ZIM' with a clear visual cue (like the red date you mentioned).

Decluttering (Point A & C): Removing the 'Download Updated' timestamp makes a lot of sense. It currently confuses users into thinking the ZIM is ready when it's just the TSV. A single 'Last Activity' or 'Selection Updated' column would be much cleaner.

Accessing ZIM Management (#991): Users shouldn't be locked out of the ZimFile.vue view just because a file is ready. I can help refactor the table row so that the 'Title' or a 'Manage' icon always leads to the ZIM screen, allowing users to handle their schedules regardless of the file status.

I am very interested in picking this up. Since I’ve already touched the status logic and handled the Dark Mode CSS variables, I can ensure the redesign is both functional and visually consistent with the new theme.

Would love to hear your thoughts on where to start! @audiodude

AryaBhatt45 avatar Mar 04 '26 02:03 AryaBhatt45

I appreciate your input on this matter @arybhatt4533!

But we need to wait for @kelson42 to weigh in, he is essential the "project manager" for WP1. I would advise you not to start on any code changes just yet.

audiodude avatar Mar 05 '26 07:03 audiodude

Will do my best to come back within a few days

kelson42 avatar Mar 05 '26 10:03 kelson42

@kelson42 For "Acknowledge when ZIM is never going to arrive" that you assigned me, one approach that was discussed was an on-demand Zimfarm status sync. I've implemented this in my PR #1101 : whenever WP1 serves ZIM status and a task is stuck in REQUESTED, it queries the Zimfarm API directly and updates the DB to the real state (FILE_READY or FAILED), similar to how zimit-frontend handles missed webhooks. This is wired into both the individual ZIM status endpoint and the My Selections list.

For the redesign: This could also help address Point E —> once a failed state is detected through the sync, the table could surface an actionable option for the user instead of a dead end.

Happy to adapt my work to fit whatever direction is decided.

abhiraj75 avatar Mar 10 '26 18:03 abhiraj75

I don't know why my annotated screenshot isn't showing up, but that's very upsetting!

EDIT: Nevermind, hard refresh fixed it.

audiodude avatar Mar 12 '26 13:03 audiodude

By the way, I'm happy to YOLO a "develeper design" for a new page. Really just looking for confirmation on what information you consider "essential" @kelson42 .

audiodude avatar Mar 12 '26 13:03 audiodude

@audiodude @kelson42 any updates on that?

I just made a very basic design I think it comply with the current approach, but I'm waiting for the final decisions from @kelson42

Image

Best2Two avatar Apr 01 '26 21:04 Best2Two

This is a good start, it definitely fits the goal of "decluttering".

But now the layout looks very sparse, like we're wasting a lot of space. I don't know of I mentioned it, but I was thinking of moving more towards "cards" and away from "table rows".

audiodude avatar Apr 14 '26 04:04 audiodude