getsentry / getsentry/sentry

Session Replay: Expand collapsed breadcrumb

Open
#91,338 1 comment 1 reaction 0 assignees View on GitHub
Improvement Product Area: Replays
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

When breadcrumbs have `data`, the SDK shows a single line with a count of items, which is expanded when clicked:

![Image](https://github.com/user-attachments/assets/4738505a-c8ea-4ecd-9604-02e57163dce2)

The problem is that the data is all that's relevant to these breadcrumbs.
And there's a lot of horizontal space.

Suggestion:

Expand the data horizontally, and add `...` if max length is reached.
The click to expand behavior can stay, and the json can be indented when clicked.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Session Replay breadcrumb renderer and its collapsed data view, then inspect how click-to-expand currently works. The change is done when breadcrumb data uses available horizontal space, adds an ellipsis at the maximum length, preserves click expansion, and shows indented JSON when expanded.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.