Skip to content

Release v1.5.11 — overview KPI row and layout (#183) - #273

Merged
unjica merged 10 commits into
mainfrom
release/v1.5.11-changelog
Jul 7, 2026
Merged

unjica merged 10 commits into
mainfrom
release/v1.5.11-changelog

Conversation

@unjica

@unjica unjica commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Promotes develop to main as v1.5.11 (patch).
  • Overview KPI row with prior-period compare, sparklines, request latency/Apdex, and polished layout (#272, #183).

Test plan

Database

No new migrations.

Made with Cursor

unjica and others added 10 commits July 8, 2026 00:11
…-v1.5.10

Sync develop with main after v1.5.10
Align the overview page with the v1.5.0 dashboard mockup by exposing compare sparklines, optional Node $request latency/Apdex, and a top-errors / recent-sessions grid.

Co-authored-by: Cursor <[email protected]>
Apply started_at and event created_at upper bounds so sessions outside the metrics window no longer appear in sparklines and volume charts.

Co-authored-by: Cursor <[email protected]>
Add metricsTopErrorGroups so the grid matches recent sessions when the time picker is unselected, while paginated error lists keep the list window.

Co-authored-by: Cursor <[email protected]>
Rank top errors by in-window occurrence counts and bound environment-filtered session totals to the same started_at and event window as sparklines.

Co-authored-by: Cursor <[email protected]>
Bound environment-filtered session EXISTS to the metrics window and omit Apdex sparkline points when buckets have no request samples.

Co-authored-by: Cursor <[email protected]>
Apply per-window environment/release EXISTS in summary scalars and sparklines so headline counts match filtered list totals.

Co-authored-by: Cursor <[email protected]>
Skip compare deltas when the prior window has no timed $request rows and use null avg-response sparkline buckets instead of zero.

Co-authored-by: Cursor <[email protected]>
…ompare-183

Overview: KPI compare, sparklines, and latency (#183)

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.

listPageSize,
series,
sessionDurationSeries,
kpiSparklines: sparklinesFromTimeSeries(series),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KPI sparklines truncate metrics window

Medium Severity

Overview KPI headline counts use the full metrics window, but mini sparklines are built from chart series that query only from overviewChartQuerySince (capped at 120 buckets). On long ranges, events/errors/sessions totals and request latency scalars can include data the sparklines omit, so the row misrepresents the same period.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.

const stroke = color ?? colors.error;
const chartData = data.map((p) => ({ value: p.count }));
const hasData = chartData.some((p) => p.value > 0);
const hasData = chartData.some((p) => p.value != null && p.value > 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apdex sparkline hidden at zero

Low Severity

MiniSparkline treats a series as empty unless some point is strictly greater than zero. Apdex bucket values can legitimately be 0 (all frustrated samples), so a KPI can show 0.0% Apdex while the sparkline renders “—” instead of a flat zero trend.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.

@unjica
unjica merged commit b50695e into main Jul 7, 2026
4 checks passed
@unjica
unjica deleted the release/v1.5.11-changelog branch July 7, 2026 23:08
@unjica unjica mentioned this pull request Jul 7, 2026
1 task done
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.

1 participant