fix(app-shell): new flows start with a trigger; edge "+" no longer hides branch labels#1433
Open
xuyushun441-sys wants to merge 1 commit into
Open
fix(app-shell): new flows start with a trigger; edge "+" no longer hides branch labels#1433xuyushun441-sys wants to merge 1 commit into
xuyushun441-sys wants to merge 1 commit into
Conversation
…des labels - Empty editable flow's "Add node" now seeds a `start` (trigger) node instead of a generic `task` — flows open on their canonical entry point. - The edge "insert node" + button and the branch/condition label pill were both centered on the edge midpoint, so the + overlapped the label on labeled edges. The + now slides right of the label when one is present; unlabeled edges keep a centered +. Verified in-browser (labeled edges show label + a separate insert handle); tsc --noEmit clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
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.
What
Two more dogfooding fixes for the Studio flow designer (follow-ups to #1430 / #1432):
tasknode. It now seeds astart(trigger) node — the canonical entry point every flow needs — so the canvas opens on the trigger and the author builds forward.+button and the branch/condition label pill were both centered on the edge midpoint, so on a labeled edge (approve,if budget > …) the+sat on top of the label. The+now slides to the right of the label when one is present; unlabeled edges keep the centered+.Verification
In-browser (Studio →
showcase_budget_approval→ designer): labeled edges ("approve", "if budget > 500000") now show the label with a clear, separate insert handle to its right; unlabeled edges keep a centered+.tsc --noEmitclean on@object-ui/app-shell. (The empty-flow start-node path is a 1-line type change, verified by inspection — reaching the empty state needs the runtime create-flow path, which is unrelated-broken in this dev env.)🤖 Generated with Claude Code