view description of change

[?]
Aug 14, 2025, 10:11 AM
PSKE5G36S3IAGKGEXS2ZN2KIBV754J2OHQRZV577X4QQCLQJ6LIQC

Dependencies

  • [2] OQ6HSAWH show record log
  • [3] AHWWRC73 navigate log entries
  • [4] JE44NYHM display log files diffs
  • [5] 23SFYK4Q big view refactor into a new crate
  • [6] 7SSBM4UQ view: refactor repo view
  • [7] UR4J677R nav for log changes and refactors
  • [8] OJPGHVC3 entire log!
  • [9] WAOGSCOJ very nice refactor, wip adding channels logs
  • [10] YK3MOJJL chonky refactor, wip other channels logs & diffs
  • [11] KEPKF3WO unify diffs handling, simplify view
  • [12] 3XRG4BB6 rewritten nav-scrollable!
  • [13] S2T7RUKW add nav back placeholder
  • [14] YKHE3XMW refactor diffs handling
  • [15] PTWZYQFR use nav-scrollable for repo status
  • [16] TQEZQJV4 finish other channels logs selection
  • [17] MYGIBRRH wip custom theme
  • [18] I2AG42PA new cols layout
  • [19] JZXYSIYD channel selection!
  • [20] A6Z4O6RC actions menu
  • [21] EJPSD5XO shared allowed actions conditions between update and view
  • [*] SWWE2R6M display basic repo stuff

Change contents

  • edit in libflorescence/src/repo.rs at line 186
    [2.249]
    [3.48]
    pub description: Option<String>,
  • edit in libflorescence/src/repo.rs at line 991
    [3.539]
    [2.2375]
    let message = header.message;
    let description = header.description;
  • replacement in libflorescence/src/repo.rs at line 995
    [4.1310][2.2407:2448](),[2.2407][2.2407:2448]()
    message: header.message.clone(),
    [4.1310]
    [3.540]
    message,
    description,
  • replacement in inflorescence_view/src/app.rs at line 165
    [5.17837][8.2343:2399]()
    view_log_change(ix, entry, is_selected)
    [5.17837]
    [5.18292]
    view_log_change_selection(ix, entry, is_selected)
  • replacement in inflorescence_view/src/app.rs at line 243
    [9.7627][9.7627:7682]()
    hash,
    message,
    [9.7627]
    [7.4713]
    hash: _,
    message: _,
  • edit in inflorescence_view/src/app.rs at line 248
    [5.18976][9.7770:7833](),[6.3745][5.21515:21516](),[9.7833][5.21515:21516](),[5.21515][5.21515:21516]()
    let short_hash = display_short_hash(hash);
  • replacement in inflorescence_view/src/app.rs at line 273
    [8.2863][9.9496:9752](),[9.9752][10.2147:2178](),[10.2178][9.9782:9927](),[9.9782][9.9782:9927]()
    el(column([
    view_diff_header(format!("{short_hash} message:")),
    el(text(message).shaping(text::Shaping::Advanced)),
    view_diff_header("Changed files:".to_string()),
    files,
    ])
    .width(Length::Fill)
    .height(Length::Fill)
    .spacing(SPACING))
    [8.2863]
    [7.5724]
    el(column([view_log_change_header(entry), files])
    .width(Length::Fill)
    .height(Length::Fill)
    .spacing(SPACING))
  • replacement in inflorescence_view/src/app.rs at line 540
    [10.6757][10.6757:6813]()
    view_log_change(ix, entry, is_selected)
    [10.6757]
    [10.6813]
    view_log_change_selection(ix, entry, is_selected)
  • replacement in inflorescence_view/src/app.rs at line 592
    [10.8640][10.8640:8695]()
    hash,
    message,
    [10.8640]
    [10.8695]
    hash: _,
    message: _,
  • edit in inflorescence_view/src/app.rs at line 597
    [10.8758][10.8758:8813]()
    let short_hash = display_short_hash(hash);
  • replacement in inflorescence_view/src/app.rs at line 598
    [10.8882][10.8882:8948]()
    let view = match logs.other_channels_logs.get(name) {
    [10.8882]
    [10.8948]
    let files_view = match logs.other_channels_logs.get(name) {
  • replacement in inflorescence_view/src/app.rs at line 607
    [10.9623][10.9623:10007]()
    el(nav_scrollable(nav, files)
    .class(if other_channel_log_change_selected() {
    theme::Scrollable::Selected
    } else {
    theme::Scrollable::Normal
    })
    .width(Length::Fill)
    .height(Length::Fill))
    [10.9623]
    [10.10007]
    el(column([
    view_log_change_header(entry),
    el(nav_scrollable(nav, files)
    .class(if other_channel_log_change_selected() {
    theme::Scrollable::Selected
    } else {
    theme::Scrollable::Normal
    })
    .width(Length::Fill)
    .height(Length::Fill)),
    ]))
  • edit in inflorescence_view/src/app.rs at line 621
    [10.10085][10.10085:10463]()
    let files_view = el(column([
    view_diff_header(format!("{short_hash} message:")),
    el(text(message).shaping(text::Shaping::Advanced)),
    view_diff_header("Changed files:".to_string()),
    view,
    ])
    .width(Length::Fill)
    .height(Length::Fill)
    .spacing(SPACING));
  • replacement in inflorescence_view/src/app.rs at line 724
    [8.6352][8.6352:6404]()
    view_log_change(ix, entry, is_selected)
    [8.6352]
    [8.6404]
    view_log_change_selection(ix, entry, is_selected)
  • replacement in inflorescence_view/src/app.rs at line 760
    [10.13426][10.13426:13465]()
    hash,
    message,
    [10.13426]
    [10.13465]
    hash: _,
    message: _,
  • replacement in inflorescence_view/src/app.rs at line 764
    [10.13500][10.13500:13611]()
    let short_hash = display_short_hash(hash);
    let view = match logs.entire_log.as_ref() {
    [10.13500]
    [10.13611]
    let files_view = match logs.entire_log.as_ref() {
  • replacement in inflorescence_view/src/app.rs at line 774
    [8.8327][10.13871:14248]()
    el(nav_scrollable(nav, files)
    .class(if entire_log_change_selected() {
    theme::Scrollable::Selected
    } else {
    theme::Scrollable::Normal
    })
    .width(Length::Fill)
    .height(Length::Fill))
    [8.8327]
    [10.14248]
    el(column([
    view_log_change_header(entry),
    el(nav_scrollable(nav, files)
    .class(if entire_log_change_selected() {
    theme::Scrollable::Selected
    } else {
    theme::Scrollable::Normal
    })
    .width(Length::Fill)
    .height(Length::Fill)),
    ]))
  • edit in inflorescence_view/src/app.rs at line 789
    [5.24231][10.14327:14704](),[10.14704][8.9414:9415](),[8.9414][8.9414:9415]()
    let files_view = el(column([
    view_diff_header(format!("{short_hash} message:")),
    el(text(message).shaping(text::Shaping::Advanced)),
    view_diff_header("Changed files:".to_string()),
    view,
    ])
    .width(Length::Fill)
    .height(Length::Fill)
    .spacing(SPACING));
  • replacement in inflorescence_view/src/app.rs at line 999
    [8.15242][8.15242:15262]()
    fn view_log_change(
    [8.15242]
    [8.15262]
    fn view_log_change_selection(
  • edit in inflorescence_view/src/app.rs at line 1004
    [8.15329]
    [8.15329]
    description: _,
  • edit in inflorescence_view/src/app.rs at line 1025
    [5.25270]
    fn view_log_change_header(
    repo::LogEntry {
    hash,
    message,
    description,
    file_paths: _,
    }: &repo::LogEntry,
    ) -> Element<'_, Msg, Theme> {
    let short_hash = display_short_hash(hash);
    el(column([
    el(column([
    view_diff_header(format!("{short_hash} message:")),
    el(text(message).shaping(text::Shaping::Advanced)),
    ])),
    if let Some(description) = description {
    el(column([
    view_diff_header(format!("Description:")),
    el(text(description).shaping(text::Shaping::Advanced)),
    ]))
    } else {
    el(column([]))
    },
    view_diff_header("Changed files:".to_string()),
    ])
    .spacing(SPACING))
    }