Commit 8f2cf16
fix(workflow): no frame flash or empty stack card during load
The chrome-frame flag now flips in a layout effect, so the content card's
border drops in the same paint the floating cards appear — never a frame
behind them mid-load. A deep link whose resource id resolves to nothing
(not in the strip, not a page id) now collapses the stack immediately inside
the restore instead of stranding an empty "add a resource" card — the
auto-collapse effect can't catch that case since clearing the pending ref
changes none of its deps.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 44f7229 commit 8f2cf16
1 file changed
Lines changed: 10 additions & 3 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/docked-chat
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
166 | | - | |
| 171 | + | |
167 | 172 | | |
168 | 173 | | |
169 | 174 | | |
| |||
287 | 292 | | |
288 | 293 | | |
289 | 294 | | |
| 295 | + | |
| 296 | + | |
290 | 297 | | |
291 | | - | |
| 298 | + | |
292 | 299 | | |
293 | 300 | | |
294 | 301 | | |
| |||
0 commit comments