Skip to content

Release v1.5.9 — sessions enriched table (#191) - #267

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

unjica merged 3 commits into
mainfrom
release/v1.5.9-changelog

Conversation

@unjica

@unjica unjica commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Release v1.5.9 for the v1.5.0 analytics milestone
  • Ships enriched sessions table with duration bar, pages/events counts, and status badge (#266, #191)

Test plan

  • pnpm lint && pnpm test && pnpm build
  • Merge to main → Railway deploy
  • Tag v1.5.9 and publish GitHub release
  • Update milestone and sync develop

Made with Cursor

unjica and others added 3 commits July 7, 2026 23:34
Upgrade the sessions list and detail views with computed duration, page/event aggregates, crash-free status badges, and default sort by duration aligned with summary KPI rules.

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

@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 4c451bb. Configure here.

THEN EXTRACT(EPOCH FROM (ev.last_event_at - s."started_at"))
END,
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.

Avg duration mismatches table

Medium Severity

The sessions list now computes duration_sec with a last_event_at fallback for open sessions, but the summary KPI still averages only ended_at − started_at for closed sessions. On the same page, long open sessions can rank at the top by duration while Avg duration stays much lower, so the headline metric and table disagree.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c451bb. Configure here.

const h = Math.floor(m / 60);
const remM = m % 60;
return remM > 0 ? `${h}h ${remM}m` : `${h}h`;
}

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.

Duration labels format inconsistently

Low Severity

This PR adds shared formatDurationSec with hour-level formatting for the table and session detail, but the sessions summary row still uses a separate local formatter without hours. The same duration in seconds can read differently between Avg duration and per-row duration on one screen.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c451bb. Configure here.

@unjica
unjica merged commit f5fce75 into main Jul 7, 2026
4 checks passed
@unjica
unjica deleted the release/v1.5.9-changelog branch July 7, 2026 21:41
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