Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Performance: Reduce layout shifts in search results #39617

@umpox

Description

@umpox

Description

Goal: Improve perceived performance when navigating through search results by reducing CLS
Areas to fix:

  • Selecting search filters: “Show more matches on all results” button to pops in and out
  • Submitting search: Loading result count -> 0 results in 0.00s -> 5 results in 1s shifts
  • Submitting search: Dynamic filters and repositories pop-in suddenly in sidebar
  • Selecting dynamic filters and repositories cause themselves to pop-out and back in

Note: This might be affected by future search/file UX changes

A/C

  • All the mentioned layout shifts are fixed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.0items under consideration for 4.0UI performanceImprovements to the actual page rendering performance as well as perceived performance.frontend-platformIssues related to our frontend platform, owned collectively by our frontend crew.sourcegraph-refinement-bot

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions