Restyle index table.

This commit is contained in:
2023-02-26 20:23:55 -08:00
parent 19ee6f338d
commit e5a27f82f9
3 changed files with 48 additions and 13 deletions

View File

@@ -425,14 +425,14 @@ pub struct SearchTags(pub Vec<String>);
pub struct ThreadSummary {
pub thread: ThreadId,
pub timestamp: UnixTime,
pub date_relative: String,
/// user-friendly timestamp
pub matched: isize,
pub date_relative: String,
/// number of matched messages
pub total: isize,
pub matched: isize,
/// total messages in thread
pub authors: String,
pub total: isize,
/// comma-separated names with | between matched and unmatched
pub authors: String,
pub subject: String,
pub tags: Vec<String>,
@@ -541,6 +541,8 @@ impl Notmuch {
Ok(BufReader::new(child.stdout.take().unwrap()).lines())
}
// TODO(wathiede): implement tags() based on "notmuch search --output=tags '*'"
fn run_notmuch<I, S>(&self, args: I) -> Result<Vec<u8>, NotmuchError>
where
I: IntoIterator<Item = S>,