Repository navigation
Conversation
…idth, not the window's
flamboh
marked this pull request as ready for review
December 1, 2026 08:30
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Narrow Workflows panes now prioritize the open run or panel rather than squeezing two columns together. The change is limited to responsive presentation and leaves workflow execution and saved settings unchanged. You can add or adjust custom eligibility rules. Learn more. |
macroscopeapp
Bot
dismissed
their stale review
December 1, 2026 08:36
Dismissing prior approval to re-evaluate 233d4c6
This was referenced Dec 1, 2026
flamboh
marked this pull request as draft
December 2, 2026 08:39
The redesign's run panel picks its split from the window width again, in both WorkflowsPage and WorkflowRunsView. A 460px pane in a wide window put the run list in a 100px column beside a 360px run. Both now also measure their own row and stop splitting below PREVIEW_PANEL_SPLIT_MIN_ROW_WIDTH, as Pull Requests and Issues do. The definition editor's padding goes back to the base's sm:p-6, since the page container it keyed off is gone.
flamboh
marked this pull request as ready for review
December 3, 2026 10:19
flamboh
marked this pull request as draft
December 3, 2026 18:52
…e-width # Conflicts: # apps/web/src/components/workflows/WorkflowsPage.browser.test.tsx
…e the base's case
flamboh
marked this pull request as ready for review
December 3, 2026 19:12
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
🤖 Claude Opus 5.5 on behalf of Oliver
Problem
Workflows decides whether the run list sits beside the open run from the window's width (
useMediaQuery("md")/"xl"). This happens twice: inWorkflowRunsView(the list beside the run) and inWorkflowsPage(the runs view beside the side pane). With workspace panes, a narrow Workflows pane in a wide window still splits. In a 460px pane inside a 1400px window, the run takes its 360px minimum and the run list gets squeezed into a 100px column next to it. The same happens one level up when a thread is open beside the run.Fix
Both components now also measure their own row and stop splitting when the row is narrower than
PREVIEW_PANEL_SPLIT_MIN_ROW_WIDTH(720px, room for the list and the run at their minimums). Pull Requests and Issues already do this. Below that width the open run (or the side pane) fills the pane on its own and the list is hidden, the same as on a phone. The window check stays, so phone layouts don't change.Before and after
Real app, 1400px window, Workflows in a 460px pane.
What to look for: before, the run list is squeezed into a 100px column beside the open run; after, the run fills the pane and "Runs" leads back to the list.
What to look for: with a thread open beside the run, before, the whole runs view is squeezed to 100px and the run title wraps one letter per line; after, the thread fills the pane.
Tests
WorkflowRunsView.browser.test.tsxputs the runs view in a 460px box inside a 1280px window with a run open. It checks that the run fills the box and the run list is gone. It fails on the base branch.WorkflowsPage.browser.test.tsxrenders the whole app over a fake socket, like the other case in that file. A run is open with a thread beside it, in a 460px box inside a 1400px window. It checks that the thread fills the row and the run list column is gone. It fails on the base branch.vp run check:changed origin/maria/redesign/6-workspace-panespasses.Claude Opus 5.5 via Claude Code