Story #3546
closedAs a user, when I list all tasks, then I see a minimal representation.
100%
Description
The full representation of the task will only be visible in a "detail" view.
A new serializer should be created for the "List" view. It should contain all the fields that need to be filterable for the list view.
- state (equality, state_in_list)
- started_at(started_in_range)
- finished_at(finished_in_range)
- worker (equality)
- parent (equality)
Related issues
Updated by milan over 6 years ago
- Subject changed from As a user, when I list all tasks, they I see a minimal representation. to As a user, when I list all tasks, then I see a minimal representation.
Updated by amacdona@redhat.com over 6 years ago
- Description updated (diff)
If there are more fields that we want to display, it is much easier to do an additive change, so lets keep it to that list for now. Also, I'd bet that any fields we want to add will be filterable. "created_resource" comes to mind.
Updated by milan over 6 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
+1 on keeping the fields list short for now.
LGTM
Updated by bmbouter over 6 years ago
+1 to this, this looks good.
FWIW, I think 'parent' can be removed altogether from the filterset and the detail list view too. It's not even used anywhere in Pulp3 since we don't use sub-tasks currently.
Updated by amacdona@redhat.com over 6 years ago
- Tracker changed from Issue to Story
- % Done set to 0
- Sprint set to Sprint 35
Updated by dalley over 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dalley
Updated by dalley over 6 years ago
- Status changed from ASSIGNED to POST
Added by dalley over 6 years ago
Added by dalley over 6 years ago
Revision 0f234caf | View on GitHub
Show a minimal representation of tasks when listing
Updated by dalley over 6 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|0f234cafbcd226087e6219dc928561d4e7f96dce.
Updated by dalley over 6 years ago
- Related to Story #3061: As a user, I can list all tasks without progress reports included added
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Show a minimal representation of tasks when listing
closes #3546 https://pulp.plan.io/issues/3546