Skip to content
Snippets Groups Projects

Aggregation: Polish up aggregation UI

Merged Administrator requested to merge vk/polish-aggregation-ui into main

Created by: vovakulikov

Closes https://github.com/sourcegraph/sourcegraph/issues/40766 Closes https://github.com/sourcegraph/sourcegraph/issues/40306 Closes https://github.com/sourcegraph/sourcegraph/issues/41053 Closes https://github.com/sourcegraph/sourcegraph/issues/41011

Background

This PR

  • Make chart smaller 182px or 11.385rem by height
  • Fixes missing label position
  • Improve full UI mode layout (make it centered and wraps it with Card UI)
  • Hide X ticks and make max label length dynamically defined based on UI mode in which we render chart (sidebar, full UI)
  • Improve non-active background algorithm. This algorithm aims to solve problem with colors in general for all bar charts in the product, in case of aggregation UI chart this color is close to the primary-
  • Fix missing label tooltip copy
  • Adds NonExhaustiveSearchAggregationResult label UI it closes this issue https://github.com/sourcegraph/sourcegraph/issues/41011 @AlicjaSuska I changed the copy there based on suggestions from Chris and Coury about limit hit.

Out of this PR scope (possibly)

Test plan

  • Make sure that implementation doesn't have any misaligments compared to the designs
  • Make sure that all blockers from this board are closed by this PR

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Merged by avatar (Jun 5, 2025 8:13pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading