Enable chronological sort order for other items in the performance bar

What does this MR do?

This is a follow up MR of !56830 (merged).

The previous MR adds a summary section, and the ability to let the items in active record sortable in chronological order. Only Active Record items are supported by default. This MR continues on other tabs, including Gitaly, External HTTP, and the frontend resources.

In current UI, this bar makes me confused: Screen_Shot_2021-04-05_at_17.52.24. This MR also tweak the look and feel of the frontend resource tab a little bit so that the duration is broken down and explained.

Screenshots (strongly suggested)

Before: External HTTP tab

Screen_Shot_2021-04-05_at_17.55.49

After: External HTTP tab

Screen_Shot_2021-04-05_at_14.34.07

Before: Gitaly tab

Screen_Shot_2021-04-05_at_17.50.08

After: Gitaly tab

Screen_Shot_2021-04-05_at_14.40.06

Before: Frontend resources

Screen_Shot_2021-04-05_at_17.50.26

After: Frontend resources

Screen_Shot_2021-04-05_at_17.22.49

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Quang-Minh Nguyen (Ex-GitLab)

Merge request reports

Loading