-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem: Preservation activity task list is too condensed, not very accessible as a table #1077
Comments
@fiver-watson are you expecting the |
Have you considered replacing the "Started" and "Completed" times with a single task duration indicator. This could show the total duration for completed tasks or a dynamic counter for ongoing tasks, while detailed timestamps could be displayed only when the task is expanded. |
@djjuhasz admittedly, i hadn't fully considered - I assumed that all tasks would have SOME kind of STDOUT that we could display... though perhaps that is not the case. 2 initial thoughts on how we could proceed:
|
@sevein @fiver-watson I think what we show on the UI should be determined by what data is most relevant to the operator in the current context, and I think that in most cases task duration will be less relevant than the task start (for running tasks) or completion (for completed tasks) times in the preservation task list view. I would imagine that in most cases where SIP processing completes successfully the operator won't be looking at the preservation tasks at all. The preservation tasks interface mostly seems relevant when one or more of the tasks failed, and the operator wants to know which ones and why. The second scenario I can imagine where the preservation tasks are relevant is when a SIP is taking a long time to process and the operator is trying to find out why. For the first scenario (task failed) the time that the task failed could be relevant to correlate it with other activities in the environment (e.g. high network usage, disk issues, concurrent processing). In this scenario duration seems less relevant, but it might be informative if the task timed out. For the second scenario (long running task) the duration of a long running task seems highly relevant, and the time the task started would be slightly less relevant, but may also be helpful for correlating other events. In either of the above scenarios clicking on a task to get more details such as start and end time and task duration seems reasonable, and would also be necessary to see detailed error output. If the operator can get all the data they need by clicking the task, then I think the default, collapsed card view should show the start time for any pending or currently running task, or a completed time for any tasks that have completed or failed. I think the timestamps are useful on the list view because the list is ordered in reverse chronological order, and the timestamps reinforce this ordering. I also think that scanning a list of timestamps provides more information than a duration, and you can infer the duration of any particular task based on the timestamps of the preceding and subsequent tasks. Providing a duration is also more computationally expensive (it is a calculated value) and requires more frequent updates of the UI (it changes frequently for a running task). |
All good points! |
Refs #1077 Switch the preservation task list from a table to a list of "cards" to provide better display on small screens and to facilitate future work to expand cards to show logs and more error information in the Dashboard.
Refs #1077 Switch the preservation task list from a table to a list of "cards" to provide better display on small screens and facilitate future work to show detailed logs and error information.
Refs #1077 Switch the preservation task list from a table to a list of "cards" to provide better display on small screens and facilitate future work to show detailed logs and error information.
For the work to date, this is looking good to me! Let's pass it on to the client and see how they feel. |
I'm working on making the task cards expandable when there is more than one line of output. |
Fixes #1077. - Show only the first line of a multi-line task note by default - Show an icon on task cards with multi-line notes to toggle display of the subsequent lines of the note - Add css animations for the expansion and contraction of the additional note content
Fixes #1077. - Show only the first line of a multi-line task note by default - Show an icon on task cards with multi-line notes to toggle display of the subsequent lines of the note - Add css animations for the expansion and contraction of the additional note content
Fixes #1077. - Show only the first line of a multi-line task note by default - Show an icon on task cards with multi-line notes to toggle display of the subsequent lines of the note - Add css animations for the expansion and contraction of the additional note content
The problem
Proposed solution
After some rounds of discussion and wireframing, we have decided to try implementing cards for tasks, instead of a table. This should:
Mockup:
We will add the expandable sections with AM STDOUT/ERR information in a separate ticket. The mockup above should provide a general sense of the card design.
I also included some initial proposals for how these cards would display on narrow device widths - for example:
The text was updated successfully, but these errors were encountered: