allow to copy error report
[?]
Sep 11, 2025, 9:35 AM
U3EAZKHRN3DBOOYM4GDEVJK2DJ6ULHOPOHJLCCHYV2EEPUBMYX5QCDependencies
- [2]
D7A7MSIHallow to defer or abandon record, add buttons - [3]
23SFYK4Qbig view refactor into a new crate - [4]
I2AG42PAnew cols layout - [5]
EJPSD5XOshared allowed actions conditions between update and view - [6]
7WCB5YQJrefactor msgs and modules - [7]
PKLUHYE4allow to copy change hash - [8]
CULHFNIVadd error report view - [9]
WGID4LS4absolutely slayed testing with iced task - [10]
UB2ITZJSrefresh changed files on FS changes - [11]
YBJRDOTCmake all repo actions async - [12]
FVA36HBVrestart repo manager task if it crashes - [13]
6YZAVBWUInitial commit - [14]
SASAN2XCuse nav-scrollable - [15]
YKHE3XMWrefactor diffs handling
Change contents
- edit in inflorescence_model/src/action.rs at line 35
ClipboardCopyErrorReports, - edit in inflorescence_model/src/action.rs at line 75
(ClipboardCopyErrorReports, ClipboardCopyErrorReports) => true, - edit in inflorescence_model/src/action.rs at line 93
(ClipboardCopyErrorReports, _) => false, - replacement in inflorescence_model/src/action.rs at line 109
"Hide errors""hide errors" - replacement in inflorescence_model/src/action.rs at line 111
"Show errors""show errors" - edit in inflorescence_model/src/action.rs at line 118
if !report.hidden {bindings.push(Binding {key: "S-C-c",label: "copy errors",msg: Some(FilteredMsg::ClipboardCopyErrorReports),});} - replacement in inflorescence/src/main.rs at line 136
Msg::View(msg) => update_from_app(state, msg),Msg::View(msg) => update_from_view(state, msg), - replacement in inflorescence/src/main.rs at line 278
fn update_from_app(state: &mut State, msg: view::Msg) -> Task<Msg> {fn update_from_view(state: &mut State, msg: view::Msg) -> Task<Msg> { - edit in inflorescence/src/main.rs at line 486
if !state.model.report.hidden {// Mark all entries as seenstate.model.report.entries.iter_mut().for_each(|entry| entry.is_read = true);} - edit in inflorescence/src/main.rs at line 497
}action::FilteredMsg::ClipboardCopyErrorReports => {let to_copy = report::entries_to_string(&state.model.report);task::clipboard_write(to_copy) - edit in inflorescence/src/main.rs at line 1423
"c" if mods == Modifiers::SHIFT | Modifiers::CTRL => {action(action::FilteredMsg::ClipboardCopyErrorReports)} - edit in iced_expl_widget/src/report.rs at line 303[8.15600]
pub fn entries_to_string(report: &Container) -> String {use std::fmt::Write;let mut output = "".to_string();report.entries.iter().for_each(|Entry {level,msg,time,is_read: _,}| {let level = match level {Level::Warning => "WARNING",Level::Error => "ERROR",};writeln!(&mut output, "{time} - {level}: {msg}").unwrap();},);output}