improve views

[?]
Nov 18, 2025, 7:10 PM
N256FH74YJDO7OYYVIHMV54IP7XA23UKVNMBDZ66LT3DRNEXUGYAC

Dependencies

  • [2] ACDXXAX2 refactor main's updates into smaller fns
  • [3] PTWZYQFR use nav-scrollable for repo status
  • [4] OJPGHVC3 entire log!
  • [5] 3XRG4BB6 rewritten nav-scrollable!
  • [6] WAOGSCOJ very nice refactor, wip adding channels logs
  • [7] PSKE5G36 view description of change
  • [8] AZ5D2LQU allow to set record description
  • [9] KF2LDB5Y handle repo init errors
  • [10] LFEMJYYD start of to_record selection
  • [11] 5O4FWCFP add tests to_record selection and improve it
  • [12] 7WCB5YQJ refactor msgs and modules
  • [13] A5YBC77V record!
  • [14] SASAN2XC use nav-scrollable
  • [15] CULHFNIV add error report view
  • [16] D7A7MSIH allow to defer or abandon record, add buttons
  • [17] AMPZ2BXK show changed files diffs (only Edit atm)
  • [18] 23SFYK4Q big view refactor into a new crate
  • [19] I2AG42PA new cols layout
  • [20] UBRT5BAU fix new nav-scrollable to jump to first non-skip section
  • [21] YK3MOJJL chonky refactor, wip other channels logs & diffs
  • [22] UR4J677R nav for log changes and refactors
  • [*] 6YZAVBWU Initial commit

Change contents

  • replacement in inflorescence_view/src/view.rs at line 276
    [6.6281][8.1804:1885]()
    view_header(format!("Untracked file {path} contents:")),
    [6.6281]
    [6.6421]
    view_header(format!("Untracked {path} contents:")),
  • replacement in inflorescence_view/src/view.rs at line 298
    [6.7307][6.7307:7339](),[6.7339][8.1886:1961](),[8.1961][6.7419:7512](),[6.7419][6.7419:7512]()
    el(column([
    view_header(format!("Changed file {path} diff:")),
    diffs,
    ])
    .spacing(SPACING))
    [6.7307]
    [6.7512]
    el(column([view_header(format!("{path} diff:")), diffs])
    .spacing(SPACING))
  • replacement in inflorescence_view/src/view.rs at line 422
    [4.3787][4.3787:3894](),[4.3894][10.2194:2350](),[10.2350][4.3943:4072](),[4.3943][4.3943:4072]()
    [el(text("Untracked files:"))]
    .into_iter()
    .chain(view_untracked_files())
    .chain([el(row([to_record_toggle, el(text("Changed files:"))])
    .align_y(Alignment::Center)
    .spacing(SPACING))])
    .chain(view_changed_files())
    .chain([el(text("Recent changes:"))])
    .chain(view_status_log())
    [4.3787]
    [4.4072]
    [el(container(el(text("Untracked:")))
    .padding(Padding::ZERO.top(SPACING * 2)))]
    .into_iter()
    .chain(view_untracked_files())
    .chain([el(container(el(row([
    to_record_toggle,
    el(text("Changed:")),
    ])
    .align_y(Alignment::Center)
    .spacing(SPACING)))
    .padding(Padding::ZERO.top(SPACING * 2)))])
    .chain(view_changed_files())
    .chain([el(container(el(text("Recent changes:")))
    .padding(Padding::ZERO.top(SPACING * 2)))])
    .chain(view_status_log())
  • replacement in inflorescence_view/src/view.rs at line 1019
    [9.2106][9.2106:2138]()
    el(column([main, actions]))
    [9.2106]
    [9.2138]
    el(column([main, actions]).spacing(SPACING))
  • replacement in inflorescence_view/src/view.rs at line 1189
    [4.15854][4.15854:15914]()
    el(text(message).shaping(text::Shaping::Advanced)),
    [4.15854]
    [4.15914]
    el(text(message.split("\n").next().unwrap())
    .shaping(text::Shaping::Advanced)),
  • replacement in inflorescence_view/src/view.rs at line 1217
    [7.2674][8.2302:2353]()
    view_header("Changed files:".to_string()),
    [7.2674]
    [7.2730]
    view_header("Changed:".to_string()),
  • replacement in inflorescence/src/main.rs at line 860
    [3.7060][2.3970:4031](),[6.88645][2.3970:4031](),[2.3970][2.3970:4031]()
    info!("Trying to record with no changed files");
    [6.88645]
    [8.11323]
    info!("Trying to record with no changes");
  • replacement in iced_expl_widget/src/nav_scrollable.rs at line 933
    [5.54204][5.54204:54229]()
    width: 10.0,
    [5.54204]
    [5.54229]
    width: 2.0,
  • replacement in iced_expl_widget/src/nav_scrollable.rs at line 935
    [5.54254][5.54254:54288]()
    scroller_width: 10.0,
    [5.54254]
    [5.54288]
    scroller_width: 4.0,
  • replacement in iced_expl_widget/src/nav_scrollable.rs at line 2329
    [5.101299][5.101299:101363]()
    (scrollbar_bounds.height * ratio).max(2.0);
    [5.101299]
    [5.101363]
    (scrollbar_bounds.height * ratio).max(10.0);