datashare icon indicating copy to clipboard operation
datashare copied to clipboard

refactor: harmonize pending / queued

Open Soliine opened this issue 9 months ago • 4 comments

Context: In all tasks page in Datashare, users can read different names both for "pending" and "queued"

Requests:

  • [ ] harmonize the vocabulary with the back-end
  • [ ] sometimes, tasks have a "information" icon (with the tooltip "Information") as a state while they should have one of the known states
  • [ ] on the front, change "Stop pending tasks" button with the new chosen name

Soliine avatar Mar 24 '25 16:03 Soliine

In the back, we have:

  • created
  • queued
  • running
  • cancelled
  • error
  • done "Pending" corresponds to queued and running Let's see what we do from this on the front

Soliine avatar Mar 31 '25 09:03 Soliine

Context:

  • DisplayStatus component
  • At the moment, we have these values in Storybook: Image

Request:

  • [ ] To comply with the back-end, I suggest we replace them with the following ones (search for DisplayStatus in Figma): Image

  • [ ] For the button "Stop pending tasks", I suggest:

  • we keep the Hand icon because it is associated with "Cancelled" status

  • we either keep "Stop pending tasks" or use "Stop ongoing tasks" (because "Stop queuend/running tasks" could be too long)

  • [ ] In the Batch searches, we see "Info" while we should see "Queued" or "Running"

Soliine avatar Mar 31 '25 15:03 Soliine

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar May 19 '25 00:05 github-actions[bot]

This issue was closed because it has been inactive for 20 days since being marked as stale.

github-actions[bot] avatar Jun 08 '25 00:06 github-actions[bot]

I tested several statuts:

  • Success and Failure work perfectly for both tooltip and icon
  • Pending (= queued or running) works for tooltip but the icon is the "i" while it would be better if it was clock-countdown or arrows-clockwise

Is it possible to change the "i" into clock-countdown or arrows-clockwise, as you prefer?

Soliine avatar Jun 30 '25 09:06 Soliine

Yes, it's possible! I like "clock-countdown"

pirhoo avatar Jun 30 '25 11:06 pirhoo

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Aug 18 '25 00:08 github-actions[bot]