Commit 7f940d7
committed
Address review: focus, invalid wrapper cleanup, observer, docs, demo
- Avoid stealing focus on load and on global arrow-key navigation; drop
autofocus from connectedCallback, update(), and _move().
- When the tool is invalid (<2 options), clear wrapper attrs and unhide
option roots; track hidden/display writes in hideExcludedOptions for the
observer.
- Resync when data-roid-tool or data-roid-option attributes change even if
removed; keep hidden filtered to Roid nodes.
- Cache document.fonts.ready at module load; clarify SKILL.txt tooltip and
finalization attrs; hide inactive demo variants until JS runs.
Made-with: Cursor1 parent e268592 commit 7f940d7
3 files changed
Lines changed: 48 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | | - | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
98 | 125 | | |
99 | 126 | | |
100 | 127 | | |
| |||
342 | 369 | | |
343 | 370 | | |
344 | 371 | | |
345 | | - | |
346 | 372 | | |
347 | 373 | | |
348 | 374 | | |
| |||
399 | 425 | | |
400 | 426 | | |
401 | 427 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 428 | | |
409 | 429 | | |
410 | 430 | | |
411 | 431 | | |
412 | 432 | | |
413 | 433 | | |
414 | | - | |
415 | 434 | | |
416 | 435 | | |
417 | 436 | | |
| |||
447 | 466 | | |
448 | 467 | | |
449 | 468 | | |
450 | | - | |
451 | | - | |
| 469 | + | |
| 470 | + | |
452 | 471 | | |
453 | 472 | | |
454 | 473 | | |
| |||
462 | 481 | | |
463 | 482 | | |
464 | 483 | | |
465 | | - | |
466 | 484 | | |
467 | 485 | | |
468 | 486 | | |
| |||
496 | 514 | | |
497 | 515 | | |
498 | 516 | | |
| 517 | + | |
499 | 518 | | |
500 | 519 | | |
501 | 520 | | |
502 | 521 | | |
503 | 522 | | |
504 | | - | |
| 523 | + | |
505 | 524 | | |
506 | 525 | | |
507 | 526 | | |
| |||
539 | 558 | | |
540 | 559 | | |
541 | 560 | | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
542 | 568 | | |
| 569 | + | |
543 | 570 | | |
544 | | - | |
545 | | - | |
546 | | - | |
| 571 | + | |
547 | 572 | | |
548 | 573 | | |
549 | 574 | | |
| |||
0 commit comments