Commit cb80b01
committed
feat(directory-browser): add custom dialog for project and folder select
- Add DirectoryBrowserDialog component with breadcrumb navigation, filtering, and keyboard shortcuts
- Implement browseDirectories server endpoint for listing directory contents
- Replace native picker with custom dialog in add project and add folder flows
- Add addProjectBaseDirectory setting to remember last project path
- Simplify Sidebar state management by consolidating add-project logic
- Support keyboard shortcuts (↑/↓ to navigate, Enter to select, Backspace/Cmd+Enter for navigation)
- Add integration guard test for directory browser1 parent b0ca20c commit cb80b01
12 files changed
Lines changed: 680 additions & 211 deletions
File tree
- apps
- server/src
- web/src
- components
- chat
- settings
- lib
- packages/contracts/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
212 | 230 | | |
213 | 231 | | |
214 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
583 | 592 | | |
584 | 593 | | |
585 | 594 | | |
586 | | - | |
587 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
588 | 599 | | |
589 | 600 | | |
590 | 601 | | |
591 | 602 | | |
592 | 603 | | |
593 | 604 | | |
594 | 605 | | |
595 | | - | |
| 606 | + | |
596 | 607 | | |
597 | 608 | | |
598 | 609 | | |
| |||
627 | 638 | | |
628 | 639 | | |
629 | 640 | | |
630 | | - | |
| 641 | + | |
631 | 642 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5171 | 5171 | | |
5172 | 5172 | | |
5173 | 5173 | | |
| 5174 | + | |
| 5175 | + | |
5174 | 5176 | | |
5175 | 5177 | | |
5176 | 5178 | | |
| |||
0 commit comments