refactor: harmonize pending / queued
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
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
Context:
- DisplayStatus component
- At the moment, we have these values in Storybook:
Request:
-
[ ] To comply with the back-end, I suggest we replace them with the following ones (search for DisplayStatus in Figma):
-
[ ] 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"
This issue is stale because it has been open for 40 days with no activity.
This issue was closed because it has been inactive for 20 days since being marked as stale.
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?
Yes, it's possible! I like "clock-countdown"
This issue is stale because it has been open for 40 days with no activity.