You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(inference): rework point-label toggle and default line labels on (#474)
* feat(inference): rework point-label toggle and default line labels on
- Rename the "Hide Labels" toggle to "Labels" and invert it: off by
default now means point labels are hidden; turning it on shows them.
State renamed hidePointLabels -> showPointLabels; URL param
i_nolabel -> i_label (=1 shows labels).
- Enable "Line Labels" by default. URL encodes the non-default OFF state
as i_linelabel=0 (on, the default, is stripped from share links).
- Turning "Parallelism Labels" on now auto-enables "Labels" if it's off,
so the parallelism text actually renders instead of being hidden.
Applied to both the latency Scatter chart and the GPU chart, including
the unofficial-run overlay label path. Updated mock context, the
line-labels e2e specs (default-on + i_linelabel=0 coverage), and docs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(inference): keep legacy ?i_nolabel=1 and ?i_advlabel=1 share links working
- Re-add `i_nolabel` as a read-only legacy alias so pre-rename share links
explicitly hide point labels (survives future default changes).
- Hydrate `showPointLabels=true` when `?i_advlabel=1` is present and
`?i_nolabel=1` is not, mirroring the toggle's auto-enable side-effect so
parallelism labels actually render on legacy links.
- Add Cypress coverage for the three URL combinations.
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>
0 commit comments