add selection callback to channel list UI (& fix deselect)
Dependencies
- [2]
VU6Z6IPYmade channel entries interactable - [3]
G2CHQAOPparsed `pijul log` text blob into individual entries & fields - [4]
337EO2TUadd selection callback to changelog UI (& fix deselection) - [5]
ZGSCV5DIsplit channel labels into discrete component - [6]
XERTHGSYconsolidated `pijul log` UI elements into their own component - [*]
NSE6BLWAinit slint project from https://github.com/slint-ui/slint-rust-template - [*]
6ECOC7L5parsed `pijul channel` text blob into individual UI components
Change contents
- replacement in ui/app-window.slint at line 119[3.359]→[2.254:379](∅→∅),[2.379]→[3.872:882](∅→∅),[3.403]→[3.872:882](∅→∅),[3.872]→[3.872:882](∅→∅),[3.882]→[3.882:888](∅→∅)
in-out property <bool> is-selected: false;touch := TouchArea {clicked => {is-selected = true;}}in property <bool> is-selected: false;in property <bool> has-hover: false; - replacement in ui/app-window.slint at line 127
lowlighted when !is-selected && touch.has-hover: {lowlighted when has-hover: { - replacement in ui/app-window.slint at line 131
off when !is-selected && !touch.has-hover: {off when true: { - edit in ui/app-window.slint at line 141[9.196][3.890]
in-out property <int> selected: -1;callback selection-changed(/*new selection*/ int); - edit in ui/app-window.slint at line 155[3.525][9.758]
is-selected: selected == index;has-hover: touch.has-hover;touch := TouchArea {clicked => {root.selected = index;root.selection-changed(index);}}