//! Cotton Chat — the answers the phones draw (`chat.list`, `chat.thread`, //! `chat.compose`, `chat.act`, `chat.themes`), as types and pure rules. //! //! RULE (owner, 19 Nov 2026): Messages becomes Cotton Chat, an ordinary fast //! messenger. The phones decide nothing: order, names, last lines, times, //! unread counts, the grouping of bubbles, day dividers, ticks and words all //! come from here. The SQL that feeds these rules is `cotton-ffi`'s //! (`phone::chat_app`), answered from the phone's own copy, cut by index and //! read in pages; nothing here reads a store or a clock. //! //! * [`shapes`] — every request and answer, serde, camelCase on the wire. //! * [`can`] — what a source can really do; only that is offered. //! * [`lay`] — a page of messages laid as bubbles: grouping, tails, day and //! unread dividers, across a page's edge. //! * [`list`] — the conversation list's order, filters, counts and fan. //! * [`find`] — Chat's search: what a search matches and where. //! * [`timer`] — a chat's disappearing timer: its choices and its words. //! * [`compose`] — what the composer's button is, and its strip. //! * [`calls`] — calls in Chat: the header's buttons, a call's line, the //! Calls tile and the call screen (the call is Calling's engine). pub mod bubble; pub mod calls; pub mod can; pub mod compose; pub mod find; pub mod lay; pub mod numbers; pub mod poll; pub mod preview; pub mod recording_time; pub mod list; pub mod notices; pub mod senders; pub mod shapes; pub mod themes; pub mod timer; pub mod viewer; #[cfg(test)] #[path = "app_tests.rs"] mod tests;