sort compare remote records, improve views
Dependencies
- [2]
SWWE2R6Mdisplay basic repo stuff - [3]
YBJRDOTCmake all repo actions async - [4]
AHWWRC73navigate log entries - [5]
3QVNMRNMtest non-empty repo app view - [6]
I56UGW7Umake record test, fix log update - [7]
ESMM3FELtest selection reindexing - [8]
UF5NJKAStest load repo - [9]
OJPGHVC3entire log! - [10]
PSKE5G36view description of change - [11]
7WCB5YQJrefactor msgs and modules - [12]
AZ5D2LQUallow to set record description - [13]
IFQPVMBDerror handling for repo actions - [14]
N256FH74improve views - [15]
F6O6FGOJimprove diffs encoding detection - [16]
LPSUBGUBadd projects picker - [17]
XQDYES5Madd support for git import - [18]
DNTMUCMOallow to compare local with remote records - [19]
BGOQFXP7update pijul - [20]
5ZM3J2J3add opts to select remote and channel for compare remote - [21]
VCNKFNUFapp init test - [22]
23SFYK4Qbig view refactor into a new crate - [*]
6YZAVBWUInitial commit - [*]
OPXFZKEBview tests setup
Change contents
- edit in libflorescence/src/repo.rs at line 37
use itertools::Itertools; - edit in libflorescence/src/repo.rs at line 330
pub timestamp: Timestamp, - edit in libflorescence/src/repo.rs at line 1426
let timestamp = header.timestamp; - edit in libflorescence/src/repo.rs at line 1431
timestamp, - edit in libflorescence/src/repo.rs at line 1852
.sorted_by(|a, b| match (a, b) {(Ok(a), Ok(b)) => Ord::cmp(&a.timestamp, &b.timestamp),_ => cmp::Ordering::Equal,}) - edit in libflorescence/src/repo.rs at line 1864
.sorted_by(|a, b| match (a, b) {(Ok(a), Ok(b)) => Ord::cmp(&a.timestamp, &b.timestamp),_ => cmp::Ordering::Equal,}) - edit in libflorescence/src/repo.rs at line 1876
.sorted_by(|a, b| match (a, b) {(Ok(a), Ok(b)) => Ord::cmp(&a.timestamp, &b.timestamp).reverse(),_ => cmp::Ordering::Equal,}) - edit in libflorescence/src/repo/test.rs at line 137
timestamp: _, - edit in libflorescence/Cargo.toml at line 41
workspace = true[dependencies.itertools] - edit in libflorescence/Cargo.toml at line 91
workspace = true[dev-dependencies.itertools] - replacement in inflorescence_view/src/view.rs at line 1735
)))))).font(Font::MONOSPACE))) - edit in inflorescence_view/src/view.rs at line 2243
timestamp: _, - edit in inflorescence_view/src/view.rs at line 2273
timestamp, - replacement in inflorescence_view/src/view.rs at line 2278[10.2222]→[10.2222:2258](∅→∅),[10.2258]→[12.2196:2255](∅→∅),[12.2255]→[10.2322:2472](∅→∅),[10.2322]→[10.2322:2472](∅→∅),[10.2472]→[12.2256:2301](∅→∅),[12.2301]→[10.2531:2674](∅→∅),[11.3184]→[10.2531:2674](∅→∅),[10.2531]→[10.2531:2674](∅→∅),[10.2674]→[14.948:993](∅→∅)
el(column([el(column([view_header(format!("{short_hash} message:")),el(text(message).shaping(text::Shaping::Advanced)),])),if let Some(description) = description {el(column([view_header("Description:"),el(text(description).shaping(text::Shaping::Advanced)),]))} else {el(column([]))},view_header("Changed:".to_string()),let mut cols = Vec::with_capacity(3 + description.iter().len());cols.push(el(row([el(text(short_hash.to_string()).font(Font {weight: font::Weight::Bold,..Font::MONOSPACE})),view_timestamp(timestamp),]).spacing(SPACING)));cols.push(el(row([view_header("Message:"),el(text(message).shaping(text::Shaping::Advanced)), - replacement in inflorescence_view/src/view.rs at line 2293
.spacing(SPACING)).spacing(SPACING)));if let Some(description) = description {cols.push(el(row([view_header("Description:"),el(text(description).shaping(text::Shaping::Advanced)),]).spacing(SPACING)));}cols.push(view_header("Files:".to_string()));el(column(cols).spacing(SPACING))}fn view_timestamp(timestamp: &Timestamp) -> Element<'_, Msg, Theme> {el(text(timestamp.strftime("%H:%M:%S, %b %d, %Y").to_string())) - edit in inflorescence_view/src/view/test.rs at line 140
timestamp: Timestamp::from_str("2024-03-10T06:05:00Z").unwrap(), - edit in inflorescence/src/test.rs at line 10
use libflorescence::prelude::Timestamp; - edit in inflorescence/src/test.rs at line 1000
timestamp: Timestamp::now(), - edit in inflorescence/src/test.rs at line 1007
timestamp: Timestamp::now(), - edit in inflorescence/src/test.rs at line 1014
timestamp: Timestamp::now(),