refactored UI update logic into discrete functions
Dependencies
- [2]
3W2E3DX2added counter for pending diff files - [3]
DBJYTADPclear selections on refresh - [4]
IQY5LHENadd GUI element to display simple `pijul log` results - [5]
SOTD66FOset Changelog UI to display log from selected channel in ChannelsList UI - [6]
BD456SZFadded diff view - [7]
NSE6BLWAinit slint project from https://github.com/slint-ui/slint-rust-template - [8]
F6YAQWVDadded UI for `pijul change` - [9]
4RPYR65Cconnect GUI to pijul to display simple channel list - [10]
NBBTJI4Ifixed bug s.t. choosing a new channel clears the log selection & delta view
Change contents
- replacement in ui/app-window.slint at line 251
function fill-diff-view() {function fill-chs() {chs.deselect();root.request-channel-list();}function fill-log() {log.deselect();root.request-changes-log(chs.channels[chs.selected]); - edit in ui/app-window.slint at line 260
}function fill-diff-view() { - replacement in ui/app-window.slint at line 275[4.407]→[3.68:100](∅→∅),[3.100]→[4.170:215](∅→∅),[4.407]→[4.170:215](∅→∅),[4.215]→[3.101:133](∅→∅),[3.133]→[4.43:113](∅→∅),[4.215]→[4.43:113](∅→∅)
chs.deselect();root.request-channel-list();log.deselect();root.request-changes-log(chs.channels[chs.selected]);fill-chs();fill-log(); - replacement in ui/app-window.slint at line 286
root.request-changes-log(chs.channels[chs.selected]);log.deselect();root.request-diff-delta(chs.channels[chs.selected])fill-log();fill-diff-view();