From 4139ec38d84907dfdcdf1d419a8bd40373123dd6 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Fri, 23 Feb 2024 16:10:17 -0800 Subject: [PATCH] web: add TODO about message and thread id types --- web/src/view/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index 032a473..983b467 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -21,6 +21,9 @@ mod desktop; mod mobile; mod tablet; +// TODO(wathiede): create a QueryString enum that wraps single and multiple message ids and thread +// ids, and has a to_query_string() that knows notmuch's syntax. Then remove the smattering of +// format!() calls all over with magic strings representing notmuch specific syntax. const MAX_RAW_MESSAGE_SIZE: usize = 100_000; fn set_title(title: &str) { seed::document().set_title(&format!("lb: {}", title));