Skip to content

fix(web): the Settings dialog hosts its embedded Insights route at the runs path (CL-9786) - #1086

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-9786-fixweb-settings-dialog-section-buttons-close-the-dialog
Oct 3, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-9786-fixweb-settings-dialog-section-buttons-close-the-dialog

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

What changed and why: the dialog embedded the full-page InsightsRoute with no path prop, so it fell back to the host URL (/settings/insights), parsed as a landing page, and redirected top-level — unmounting the dialog. The embedded route is now hosted at the runs path, which renders inline. Includes a red/green keeper test asserting the section hands the route an explicit non-landing path. Fixes CL-9786.

@linear-code

linear-code Bot commented Oct 3, 2026

Copy link
Copy Markdown

CL-9786

…proof (CL-9786)

The Settings dialog hosts its embedded Insights route with embedded: crumb
links, run-row top-level navigation, and the host sidebar toggle are all
suppressed (a run opens inline in local state with a back button), so
nothing inside the dialog navigates the host app out from under it.

Adds e2e/browser/settings-dialog.test.ts: open Settings, click Insights,
assert the dialog stays mounted with the runs panel, assert no embedded
chrome links/toggle, then Close and assert dismissal.
@TheGreatAxios
TheGreatAxios merged commit 69050db into main Oct 3, 2026
3 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-9786-fixweb-settings-dialog-section-buttons-close-the-dialog branch October 3, 2026 17:06
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