Skip to content

Sessions enriched table (#191) - #266

Merged
unjica merged 1 commit into
developfrom
feature/sessions-enriched-table-191
Jul 7, 2026
Merged

unjica merged 1 commit into
developfrom
feature/sessions-enriched-table-191

Conversation

@unjica

@unjica unjica commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade /dashboard/sessions from a basic ID/timestamp table to an enriched Top Sessions table with duration bar, pages/events counts, status badge, and user identity
  • Extend GET /api/sessions and GET /api/sessions/:id with computed duration, event/page aggregates, and healthy/warning status (crash-free rule from Sessions page: summary KPIs API (users, duration, bounce rate, crash-free) #189)
  • Default list sort is duration desc with “Showing top sessions by duration” on page 1

Test plan

  • pnpm lint && pnpm test && pnpm build
  • Open /dashboard/sessions — verify duration bar, pages/events, status columns, default sort
  • Sort by events/pages/status and paginate — filters and pagination unchanged
  • Open a session detail — duration, pages/events, and status shown
  • Session with errors shows Warning badge; error-free session shows Healthy

Closes #191

Made with Cursor

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]>
@unjica
unjica merged commit 1ce0fb6 into develop Jul 7, 2026
4 checks passed
@unjica
unjica deleted the feature/sessions-enriched-table-191 branch July 7, 2026 21:36
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.

Sessions page: enriched table (duration, pages/events, status)

1 participant