Skip to content

Improve session duration and user column readability - #2486

Merged
ejsmith merged 2 commits into
mainfrom
issue/improve-session-duration-user-columns
Aug 18, 2026
Merged

ejsmith merged 2 commits into
mainfrom
issue/improve-session-duration-user-columns

Conversation

@ejsmith

@ejsmith ejsmith commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Limit Sessions table durations to the two largest time units, preserving meaningful precision while omitting trailing seconds.
  • Widen the User column so typical email addresses remain readable.
  • Add focused coverage for duration formatting and column allocation.

Why

Session durations included every non-zero time part, which made the Duration column consume space needed by the User column. Email addresses were consequently truncated too aggressively.

Validation

  • npm run validate
  • npm run test:unit -- --run src/lib/features/sessions/components/session-table-columns.test.ts src/lib/features/sessions/components/session-duration-cell.svelte.test.ts
  • E2E_URL=https://web-ex.dev.localhost:39289 npm run test:e2e -- --project=chromium e2e/tests/session-investigation.e2e.ts
  • Browser-measured Duration at 160px and User at 224px at 1440px and 546px viewports; blake@exceptionless.com fit without truncation.

Breaking changes

None.

@ejsmith
ejsmith marked this pull request as ready for review August 18, 2026 02:19
@ejsmith
ejsmith merged commit aeca7f7 into main Aug 18, 2026
7 checks passed
@ejsmith
ejsmith deleted the issue/improve-session-duration-user-columns branch August 18, 2026 04:17
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 37% 35% 286 ❌
Exceptionless.Core 75% 67% 10184 ✔
Exceptionless.Web 85% 69% 8266 ✔
Exceptionless.AppHost 38% 41% 147 ❌
Summary 78% (25403 / 32431) 67% (12050 / 17915) 18883 ✔

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

⌂ 换网址