Commit 9c30e4e
improvement: refine AI editing panel layout with overlay separation (#321)
* improvement: refine AI editing panel layout and move button to toolbar
- Change AI editing panel to fixed width with slide animation (Radix Collapsible)
- Move PropertyPanel to canvas overlay (allows coexistence with AI panel)
- Move AI edit button from canvas to toolbar (Other group)
- Reduce AI panel header height and update close button style
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: rename PropertyPanel to PropertyOverlay
- Rename component and file to reflect overlay behavior
- Update store state: isPropertyPanelOpen → isPropertyOverlayOpen
- Update store actions: openPropertyPanel/closePropertyPanel → openPropertyOverlay/closePropertyOverlay
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* improvement: apply panel separation to SubAgentFlowDialog
- Move AI edit button to header (left of submit button)
- Make PropertyOverlay canvas overlay (like main workflow)
- Use Radix Collapsible for RefinementChatPanel slide animation
- Use store's isRefinementPanelOpen instead of local state
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 4138d9c commit 9c30e4eCopy full SHA for 9c30e4e
9 files changed
+284-169Lines changed: 284 additions & 169 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/webview/src
- components
- dialogs
- constants
- stores
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+64-8Lines changed: 64 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | | - |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
| 51 | + |
52 | 52 | |
53 | 53 | |
54 | 54 | |
| ||
241 | 241 | |
242 | 242 | |
243 | 243 | |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
244 | 259 | |
245 | 260 | |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
252 | 269 | |
253 | 270 | |
254 | 271 | |
| ||
393 | 410 | |
394 | 411 | |
395 | 412 | |
| 413 | + |
| 414 | + |
| 415 | + |
| 416 | + |
| 417 | + |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
| 442 | + |
| 443 | + |
| 444 | + |
| 445 | + |
| 446 | + |
| 447 | + |
| 448 | + |
| 449 | + |
| 450 | + |
| 451 | + |
396 | 452 | |
397 | 453 | |
398 | 454 | |
|
Collapse file
…webview/src/components/PropertyPanel.tsx …bview/src/components/PropertyOverlay.tsxsrc/webview/src/components/PropertyPanel.tsx renamed to src/webview/src/components/PropertyOverlay.tsx src/webview/src/components/PropertyPanel.tsx renamed to src/webview/src/components/PropertyOverlay.tsx
Copy file name to clipboardExpand all lines: src/webview/src/components/PropertyOverlay.tsx+9-7Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
| 53 | + |
53 | 54 | |
54 | 55 | |
| 56 | + |
55 | 57 | |
56 | 58 | |
57 | 59 | |
| ||
77 | 79 | |
78 | 80 | |
79 | 81 | |
80 | | - |
| 82 | + |
81 | 83 | |
82 | 84 | |
83 | 85 | |
|
Collapse file
src/webview/src/components/Toolbar.tsx
Copy file name to clipboardExpand all lines: src/webview/src/components/Toolbar.tsx+93-10Lines changed: 93 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
59 | 60 | |
60 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
61 | 70 | |
62 | 71 | |
63 | 72 | |
| ||
349 | 358 | |
350 | 359 | |
351 | 360 | |
| 361 | + |
| 362 | + |
| 363 | + |
| 364 | + |
| 365 | + |
| 366 | + |
| 367 | + |
| 368 | + |
| 369 | + |
| 370 | + |
| 371 | + |
| 372 | + |
| 373 | + |
| 374 | + |
| 375 | + |
| 376 | + |
| 377 | + |
| 378 | + |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
| 384 | + |
| 385 | + |
| 386 | + |
| 387 | + |
| 388 | + |
| 389 | + |
| 390 | + |
| 391 | + |
| 392 | + |
| 393 | + |
| 394 | + |
| 395 | + |
| 396 | + |
| 397 | + |
| 398 | + |
| 399 | + |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
352 | 404 | |
353 | 405 | |
354 | 406 | |
| ||
588 | 640 | |
589 | 641 | |
590 | 642 | |
591 | | - |
592 | | - |
593 | | - |
594 | | - |
595 | | - |
596 | | - |
597 | | - |
598 | | - |
| 643 | + |
| 644 | + |
| 645 | + |
| 646 | + |
| 647 | + |
| 648 | + |
| 649 | + |
| 650 | + |
| 651 | + |
| 652 | + |
| 653 | + |
| 654 | + |
| 655 | + |
| 656 | + |
| 657 | + |
| 658 | + |
| 659 | + |
| 660 | + |
| 661 | + |
| 662 | + |
| 663 | + |
| 664 | + |
| 665 | + |
| 666 | + |
| 667 | + |
| 668 | + |
| 669 | + |
| 670 | + |
| 671 | + |
| 672 | + |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
| 677 | + |
| 678 | + |
| 679 | + |
| 680 | + |
| 681 | + |
599 | 682 | |
600 | 683 | |
601 | 684 | |
|
0 commit comments