Commit 92f47ed
authored
feat: slimmed down focus ui and move default terminal position (#780)
# Add Terminal Tab to Default Panel Layout and Improve Focus Workspace UX
### TL;DR
Adds a Terminal tab to the default panel layout and improves the Focus Workspace UX by moving it from the bottom panel to the Changes panel.
### What changed?
- Added a Terminal tab to the default panel layout in the bottom panel
- Removed the `BottomPanel` component from the right sidebar
- Simplified the `RightSidebarContent` component by removing the bottom panel section
- Enhanced the `ChangesPanel` component with Focus Workspace functionality:
- Added a Focus CTA button at the top of the Changes panel
- Integrated focus status indicators (synced/not synced)
- Added toggle functionality for focusing and unfocusing
### How to test?
1. Open the application and verify that the Terminal tab appears in the default panel layout
2. Check that the right sidebar no longer has a separate bottom panel
3. Navigate to a worktree workspace and verify that the Focus Workspace controls appear at the top of the Changes panel
4. Test focusing and unfocusing the workspace using the new controls
5. Verify that the focus status is correctly displayed
### Why make this change?
This change improves the user experience by:
1. Making the Terminal more accessible as a default tab
2. Simplifying the UI by removing the redundant bottom panel
3. Placing the Focus Workspace controls in a more logical location within the Changes panel
4. Providing clearer visual feedback about the focus state
The new design creates a more intuitive workflow for users working with worktree workspaces and reduces UI clutter.
[focus state.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.com/user-attachments/thumbnails/d132e8c8-7d40-4883-ad58-202c3d5c2a76.mov" />](https://app.graphite.com/user-attachments/video/d132e8c8-7d40-4883-ad58-202c3d5c2a76.mov)1 parent 68b4ad9 commit 92f47ed
4 files changed
Lines changed: 96 additions & 143 deletions
File tree
- apps/twig/src/renderer/features
- panels/store
- right-sidebar/components
- task-detail/components
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
128 | 140 | | |
129 | 141 | | |
130 | 142 | | |
| |||
Lines changed: 0 additions & 136 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 24 | | |
31 | 25 | | |
32 | 26 | | |
Lines changed: 84 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
376 | 380 | | |
377 | 381 | | |
378 | 382 | | |
| 383 | + | |
| 384 | + | |
379 | 385 | | |
380 | 386 | | |
381 | 387 | | |
| |||
443 | 449 | | |
444 | 450 | | |
445 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
446 | 519 | | |
447 | 520 | | |
448 | 521 | | |
| |||
454 | 527 | | |
455 | 528 | | |
456 | 529 | | |
457 | | - | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
458 | 540 | | |
459 | 541 | | |
460 | 542 | | |
461 | 543 | | |
462 | 544 | | |
| 545 | + | |
463 | 546 | | |
464 | 547 | | |
465 | 548 | | |
| |||
0 commit comments