VSA table: Change the default sort by to 'Duration time'
Problem to solve
When analyzing the work-stream, VSA users need to know quickly where their time is spent during each stage. They need to detect bottlenecks that are slowing down the SDLC.
Related to this note.
Proposal
Change the default sorting of the VSA table from 'Last event' to 'Duration'.
Current default - by 'Last event':
Proposed default - 'Duration':
Implementation Guide
-
Replace the PAGINATION_SORT_FIELD_END_EVENT
default setting with thePAGINATION_SORT_FIELD_DURATION
:- https://gitlab.com/gitlab-org/gitlab/-/blob/8362dce8002bfacdc4876d2c85493abe2cc7513f/app/assets/javascripts/analytics/cycle_analytics/store/mutations.js#L44
- https://gitlab.com/gitlab-org/gitlab/-/blob/8362dce8002bfacdc4876d2c85493abe2cc7513f/ee/app/assets/javascripts/analytics/cycle_analytics/store/mutations.js#L215
- https://gitlab.com/gitlab-org/gitlab/-/blob/8362dce8002bfacdc4876d2c85493abe2cc7513f/app/assets/javascripts/analytics/cycle_analytics/store/state.js#L32
- https://gitlab.com/gitlab-org/gitlab/-/blob/8362dce8002bfacdc4876d2c85493abe2cc7513f/ee/app/assets/javascripts/analytics/cycle_analytics/store/state.js#L48
-
Update related tests
Edited by Himani Mehra