fix updating changed file contents, styling
[?]
Apr 15, 2025, 7:35 PM
AXSXZQDGLPSLBYY3WEI5CCJFWFY33HPRVW6QQFL46OKWZH4G4YSACDependencies
- [2]
WT3GA27Padd cursor with selection - [3]
S2NVIFXRallow to enter record msg - [4]
YBJRDOTCmake all repo actions async - [5]
A5YBC77Vrecord! - [6]
Z2CJPWZEfocus record message text_editor on spawn - [7]
4WO3ZJM2show untracked files' contents - [8]
BJXUYQ2Yshow untracked file contents in read-only text editor - [9]
CFYW3HGZwip: display changed files - [10]
W4LFX7IHgroup diffs by file name - [11]
AMPZ2BXKshow changed files diffs (only Edit atm) - [12]
IQDCHWCPload a pijul repo - [13]
UB2ITZJSrefresh changed files on FS changes - [14]
6YZAVBWUInitial commit - [15]
PTFDJ567add untracked files encoding - [16]
NOB64XMRfmt and clippy
Change contents
- replacement in crates/flowers_ui/src/main.rs at line 11[3.99]→[2.437:508](∅→∅),[6.113]→[2.437:508](∅→∅),[11.1394]→[2.437:508](∅→∅),[2.437]→[2.437:508](∅→∅)
use iced::{Border, Color, Element, Length, Subscription, Task, Theme};use iced::{font, Border, Color, Element, Font, Length, Subscription, Task, Theme,}; - edit in crates/flowers_ui/src/main.rs at line 418
state.changed_files_contents =changed_files_contents(&repo.changed_files); - edit in crates/flowers_ui/src/main.rs at line 456
state.changed_files_contents.remove(path); - replacement in crates/flowers_ui/src/main.rs at line 923
el(column([el(text(format!("{path} diff:"))), diff]))el(column([view_diff_header(format!("{path} diff:")), diff])) - replacement in crates/flowers_ui/src/main.rs at line 936
el(text(format!("{path} diff:"))),view_diff_header(format!("{path} diff:")), - edit in crates/flowers_ui/src/main.rs at line 959
}fn view_diff_header(header: String) -> Element<'static, Message> {el(text(header).font(Font {weight: font::Weight::Bold,..default()})) - replacement in crates/flowers_ui/src/main.rs at line 974
match content {let change_type = diff.to_string();let content = match content { - replacement in crates/flowers_ui/src/main.rs at line 987
}};el(column([el(text(change_type)), content]))