Skip to content

ui: Fix several issues with counter tracks#5449

Merged
stevegolton merged 2 commits intomainfrom
dev/sg/countertrack-refactor
Apr 15, 2026
Merged

ui: Fix several issues with counter tracks#5449
stevegolton merged 2 commits intomainfrom
dev/sg/countertrack-refactor

Conversation

@stevegolton
Copy link
Copy Markdown
Member

@stevegolton stevegolton commented Apr 14, 2026

  • Fix bug where min-max and log modes renders the bottom of the graph offscreen.
  • Print a label on the top and bottom of the graph showing the values at those points. If the top or the bottom of the graph are 0, the label is omitted for clarity.
  • Remove the zero axis dashed line. The line graph includes a fill down to (or up to) the 0 axis anyway.
  • Improved number formatting for labels and y-axis ticks + added a ton of unit tests.
  • Massive internal refactor and simplification of BaseCounterTrack (& rename to CounterTrack to mirror SliceTrack).
  • Remove createQueryCounterTrack as CounterTrack now does everything it used to do.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

- Push all query state through the QuerySlot and remove invalidiate()
- Fix bug where in min-max and log mode the bottom of the graph would be
  offscreen.
- Print the top and bottom of the y axis as labels rather than just the
  range.
- Remove the zero y axis dashed line.
- Improved number formatting for labels and y-axis ticks.
@stevegolton stevegolton force-pushed the dev/sg/countertrack-refactor branch from 85d6177 to d00ca35 Compare April 14, 2026 17:02
@stevegolton stevegolton changed the title ui: Tidy up counter track ui: Fix several issues with counter tracks Apr 14, 2026
@stevegolton stevegolton marked this pull request as ready for review April 14, 2026 17:58
@stevegolton stevegolton requested a review from a team as a code owner April 14, 2026 17:58
@stevegolton stevegolton merged commit f6f38b5 into main Apr 15, 2026
25 checks passed
@stevegolton stevegolton deleted the dev/sg/countertrack-refactor branch April 15, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants