Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: triggerdotdev/trigger.dev
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: triggerdotdev/trigger.dev
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: samejr/models-page-charts
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jul 3, 2026

  1. feat(webapp): sync hover + drag-to-zoom on Models "Your models" charts

    Wrap the three "Your models" activity charts (Cost / Tokens / Calls over
    time) in a ChartSyncProvider with useZoomToTimeFilter so they gain the same
    interactions as the agent landing page charts: a synced vertical hover line
    across all three, and drag-to-zoom that commits the range to the Time/Date
    filter. The maximize ("v") button and width-aware axes were already inherited
    from the shared query-widget primitives.
    
    DRY passes on the primitives shared with the agent charts:
    - Extract the duplicated "v" maximize-on-hover shortcut from ChartCard and
      QueryWidget into a shared useMaximizeShortcut hook.
    - ChartBar's drag From/To tooltip now looks up the real data point, so it
      renders on the query-widget path (keyed off __rawDate) as well as the
      activity-chart path (keyed off bucket).
    samejr committed Jul 3, 2026
    Configuration menu
    Copy the full SHA
    ab494b7 View commit details
    Browse the repository at this point in the history
Loading