Skip to content

ui: add "Open in default workspace" button to slice details - #6940

Open
zezeozue wants to merge 2 commits into
mainfrom
dev/zezeozue/slice_default_ws
Open

ui: add "Open in default workspace" button to slice details#6940
zezeozue wants to merge 2 commits into
mainfrom
dev/zezeozue/slice_default_ws

Conversation

@zezeozue

@zezeozue zezeozue commented Aug 2, 2026

Copy link
Copy Markdown
Member

Show a button in the slice details panel that switches to the default workspace and scrolls to the selected slice there. It appears only when the selection is in a non-default workspace and the track also exists in the default workspace.

Show a button in the slice details panel that switches to the default
workspace and scrolls to the selected slice there. It appears only when
the selection is in a non-default workspace and the track also exists in
the default workspace.

Change-Id: I30605bf17ee50d2dc0d3a42ccbb13890bbabc1cf
@zezeozue
zezeozue requested a review from stevegolton August 2, 2026 16:33
@zezeozue
zezeozue requested a review from a team as a code owner August 2, 2026 16:33
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

@stevegolton stevegolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you find a way to do this more generically? E.g. if you're not on the main workspace, and your selected track exists on a the main workspace, add a button to all details panels.

I think it might be awkward to inject a button into all details panels, but if you can think of a nice way to do it that could be a much neater solution.

The UI really suffers from inconsistent features like this that are implemented for some tracks/plugins but not others.

Render the button once in CurrentSelectionTab, the single host through
which every selection's details panel is rendered, instead of adding it to
individual panels. It is merged into the details panel's DetailsShell for
track_event and track selections whose track is in a non-default workspace
but also exists in the default one.

Change-Id: I899ddfd8b9151dea07d20c461263bd69f3336b55
@zezeozue

zezeozue commented Aug 3, 2026

Copy link
Copy Markdown
Member Author

Can you find a way to do this more generically? E.g. if you're not on the main workspace, and your selected track exists on a the main workspace, add a button to all details panels.

I think it might be awkward to inject a button into all details panels, but if you can think of a nice way to do it that could be a much neater solution.

The UI really suffers from inconsistent features like this that are implemented for some tracks/plugins but not others.

Lmk what you think of the current approach. Seems to work fine for slices, thread_state, counters

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.

2 participants