only show overall toggle if there is more than one changed file

tzemanovic
Jan 28, 2026, 4:46 PM
C4V7DNBNNW5DYPWCMYM32KKVB72QBGY2YLCVXISZQSDPBF3LGUMQC

Dependencies

  • [2] I2AG42PA new cols layout
  • [3] LFEMJYYD start of to_record selection
  • [4] 2SLTGWP6 add change files diffs to-record selection
  • [5] OJPGHVC3 entire log!
  • [6] UR4J677R nav for log changes and refactors
  • [7] PTWZYQFR use nav-scrollable for repo status
  • [*] 23SFYK4Q big view refactor into a new crate

Change contents

  • replacement in inflorescence_view/src/view.rs at line 412
    [2.1588][4.1727:1870]()
    let to_record_toggle = el(checkbox::three_way(to_record.overall)
    .on_press_with(|| Msg::ToRecord(to_record::Msg::ToggleOverall)));
    [2.1588]
    [3.2192]
    // Only show overall toggle if there is more than one changed file
    let to_record_toggle = if changed_files.len() > 1 {
    el(checkbox::three_way(to_record.overall)
    .on_press_with(|| Msg::ToRecord(to_record::Msg::ToggleOverall)))
    } else {
    el(row([]))
    };