Commit 2bfe0fe
committed
feat(tui): add parent picker modal for changing bean parents
- Add parentpicker.go with filterable parent selection
- Press 'p' in list or detail view to open the picker
- Renders as a centered modal overlay with dimmed background
- Filters eligible parents based on type hierarchy
- Prevents cycles by excluding descendants
- Includes "(No Parent)" option to clear parent assignment1 parent ec3e159 commit 2bfe0fe
File tree
5 files changed
+493
-16
lines changed- .beans
- internal/tui
5 files changed
+493
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
317 | 327 | | |
318 | 328 | | |
319 | 329 | | |
| |||
382 | 392 | | |
383 | 393 | | |
384 | 394 | | |
385 | | - | |
| 395 | + | |
| 396 | + | |
386 | 397 | | |
387 | 398 | | |
388 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
260 | 271 | | |
261 | 272 | | |
262 | 273 | | |
| |||
314 | 325 | | |
315 | 326 | | |
316 | 327 | | |
| 328 | + | |
317 | 329 | | |
318 | 330 | | |
319 | 331 | | |
320 | 332 | | |
| 333 | + | |
321 | 334 | | |
322 | 335 | | |
323 | 336 | | |
| |||
0 commit comments