Commit 700eac4
committed
UX: Volume selector polish, HMR crash recovery
- Volume selector: space bar area is now clickable and hoverable (selects the volume)
- Volume selector: use `position: fixed` so the dropdown renders over the function key bar, not behind it
- Volume selector: dropdown resizes on window resize via `resize` event listener
- Volume selector: submenu ("Connect directly") rendered outside the scrollable dropdown to prevent clipping
- HMR crash recovery: catch SvelteKit TDZ crash on root layout HMR and auto-reload with `sessionStorage` debounce
- Move `virtual:uno.css` HMR handler to `hmr-recovery.ts` (stable module that survives layout re-evaluation)
- Fix `effect_orphan`: move `initAiToastSync()` to synchronous `onMount` (before any `await`)
- UnoCSS: restrict `content.filesystem` to the 3 files that use icon classes (stops redundant HMR updates)1 parent 76671bf commit 700eac4
4 files changed
Lines changed: 93 additions & 55 deletions
Lines changed: 57 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
118 | 129 | | |
119 | 130 | | |
120 | 131 | | |
| |||
326 | 337 | | |
327 | 338 | | |
328 | 339 | | |
| 340 | + | |
329 | 341 | | |
330 | 342 | | |
331 | 343 | | |
| |||
334 | 346 | | |
335 | 347 | | |
336 | 348 | | |
| 349 | + | |
337 | 350 | | |
338 | 351 | | |
339 | 352 | | |
| |||
531 | 544 | | |
532 | 545 | | |
533 | 546 | | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | 547 | | |
565 | 548 | | |
566 | 549 | | |
567 | | - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
568 | 558 | | |
569 | 559 | | |
570 | 560 | | |
| |||
630 | 620 | | |
631 | 621 | | |
632 | 622 | | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
633 | 653 | | |
634 | 654 | | |
635 | 655 | | |
| |||
699 | 719 | | |
700 | 720 | | |
701 | 721 | | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
| 722 | + | |
706 | 723 | | |
707 | 724 | | |
708 | 725 | | |
709 | 726 | | |
710 | 727 | | |
711 | 728 | | |
712 | 729 | | |
713 | | - | |
| 730 | + | |
714 | 731 | | |
715 | 732 | | |
716 | 733 | | |
| |||
1004 | 1021 | | |
1005 | 1022 | | |
1006 | 1023 | | |
1007 | | - | |
1008 | | - | |
| 1024 | + | |
| 1025 | + | |
1009 | 1026 | | |
1010 | 1027 | | |
1011 | 1028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 12 | | |
28 | 13 | | |
29 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments