rework text content in `ChangeEntry`
Dependencies
- [2]
I4NM4O3Zmake changelog elements interactable - [3]
G2CHQAOPparsed `pijul log` text blob into individual entries & fields - [4]
IQY5LHENadd GUI element to display simple `pijul log` results - [5]
XERTHGSYconsolidated `pijul log` UI elements into their own component - [6]
NSE6BLWAinit slint project from https://github.com/slint-ui/slint-rust-template
Change contents
- edit in ui/app-window.slint at line 67
// Each text element is given default text, in case it's empty// 1) it looks nicer// 2) it makes empty entries the same height as filled entries// -> uniform-height entries are more performant in a ListView - replacement in ui/app-window.slint at line 72
spacing: 0;Text {text: "hash \{root.hash}";}Text {text: "author \{root.author}";}spacing: 5px; - replacement in ui/app-window.slint at line 74
Text {text: "timestamp \{root.timestamp}";msg-text := Text {text: message == "" ? "(no message)" : "\{root.message}";overflow: elide;font-italic: message == ""; - edit in ui/app-window.slint at line 79
HorizontalBox {alignment: start;spacing: 0;padding: 5px;Rectangle {width: 10px;visible: false;} - replacement in ui/app-window.slint at line 80
Text {text: "\{root.message}";}author-text := Text {text: author == "" ? "(no author)" : "\{root.author}";overflow: elide;font-italic: true; - edit in ui/app-window.slint at line 92
msg-text.color: Palette.selection-foreground;author-text.color: Palette.selection-foreground; - edit in ui/app-window.slint at line 97
msg-text.color: Palette.alternate-foreground;author-text.color: Palette.alternate-foreground;