Commit 688142e
authored
refactor!: bar status icons -> entries list (caelestia-dots#1761)
* refactor: bar status icons -> list
Also add shorthand macro for defining entries
* refactor: unify network/ethernet popout
Also rename audio popout component due to name clash
* refactor: bar status icons -> list qml side
* chore: remove wifi status icon
It was unified into the network one
* feat: improve status icon styling
Fill icons and fix spacing
* docs: update readme example config
* fix: mic status icon not opening popout
* chore: remove useless id
* feat: add initial list editor
No functionality yet except drag to move
* feat: add item placeholder + better held colours
* fix: start drag from press point not center
* feat: add item deleted signal
* feat: add x movement
Also refactor to use return anim cause drag does not have initial move
anymore
* feat: implement reordering
* feat: add anims for list editor
* fix: z order issues
* feat: add itemsCommitted signal
* refactor: single committed signal
No deleted signal, use the commit one instead
* feat: allow customising icon/label for items
* feat: allow edit list being first item
* feat: allow editing items + remove leading icon
Leading icon is now drag indicator, no custom icons
* feat: add dialog row button
* feat: add dialog select button
* fix: list editor manual delete
* feat: wire up status icons list editor
* refactor: use typed status icons list
* fix: reuse list elements by content
Instead of by position
* fix: animate list editor height
* fix: dialog close anim when layout changes
* fix: hover layer for list entries
* fix: better rounding for selected dialog item
Full looks kinda strange
* feat: allow editing enabled state of list items
Remove edit button in favour of enabled toggle
* fix: use primary container for held list item
Tertiary container is too bright on most schemes + the switch doesnt fit
with it, primary container looks better
* fix: item toggling writing to per monitor overlay
Write to global config instead. Also, need to match by key instead of
content on global sync since the content changed
* fix: force update when status icons reordered
* fix: font -> fontStyle
* fix: status icon spacing1 parent 7fc6f15 commit 688142e
16 files changed
Lines changed: 1156 additions & 298 deletions
File tree
- modules
- bar
- components
- status
- popouts
- nexus
- common
- pages/panels/taskbar
- plugin/src/Caelestia/Config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 469 | | |
480 | 470 | | |
481 | 471 | | |
482 | 472 | | |
483 | 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 | + | |
484 | 504 | | |
485 | 505 | | |
486 | 506 | | |
| |||
844 | 864 | | |
845 | 865 | | |
846 | 866 | | |
847 | | - | |
848 | | - | |
849 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
850 | 873 | | |
851 | 874 | | |
852 | 875 | | |
| |||
0 commit comments