web: add TODO about message and thread id types

This commit is contained in:
Bill Thiede 2024-02-23 16:10:17 -08:00
parent 5379ae09dc
commit 4139ec38d8

View File

@ -21,6 +21,9 @@ mod desktop;
mod mobile; mod mobile;
mod tablet; 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; const MAX_RAW_MESSAGE_SIZE: usize = 100_000;
fn set_title(title: &str) { fn set_title(title: &str) {
seed::document().set_title(&format!("lb: {}", title)); seed::document().set_title(&format!("lb: {}", title));