Design: archived list, read aloud, the chat microphone, the update check, unlock-only approval actions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HomerandClaude Opus 5.5 committed 2026-11-10 12:20:54 +00:00
1 parent b863ba348a
commit fca797347f
1 file changed
+24 -5
+24 -5
@@ -13,7 +13,7 @@ One module, Kotlin and Jetpack Compose, Material 3 coloured by the server's toke
| `push/` | UnifiedPush service, notifications, the approval buttons' receiver |
| `assist/` | the voice-interaction service, its session, the recognition service, `AssistController` and its sheet, the tile, voice in and out |
| `share/` | the share target |
| `update/` | the self-updater (`full` flavour only) |
| `update/` | the update check (`ReleaseCheck`, both flavours) and the self-updater (`full` only) |
## Screens
@@ -25,7 +25,8 @@ Shaped like the AI apps people already know, in LLeMbas's own theme:
and Check again. A chat (or a new chat) is a top-level page -- opening one replaces the last,
and Back leaves the app; Files, Scheduled and Settings open over it and Back returns.
- **The drawer** (menu button, or a swipe from the edge on a chat page) holds everything else:
search over the titles, New chat, New agent chat, Files, Scheduled, then the chats in three
search over the titles, New chat, New agent chat, Files, Scheduled, Archived (each archived
chat opens as it is; Restore chat puts it back), then the chats in three
sections -- Today, Earlier, Agent chats (`ui/home/ChatGroups.kt`, by the phone's day) -- and
Settings with the account at the foot. It reads the list again each time it opens.
- **The top bar's title is the model**: picture, name and a caret, the chat's title under it.
@@ -36,13 +37,18 @@ Shaped like the AI apps people already know, in LLeMbas's own theme:
the model's is full width with no bubble. Thinking and each round of tools are one chip each
that opens; a `show` card stays in view. Fenced code is cut out of the markdown
(`splitFences`) into its own block with the language and Copy; an unclosed fence is already a
block while it streams. Copy and Regenerate sit under a reply with its cost; a long press
block while it streams. Copy, Read aloud (only when `/api/v2/me` says the instance has
text-to-speech; one reply at a time, stopped when the chat is left) and Regenerate sit under
a reply with its cost; a long press
gives Copy, Select text, Edit or Regenerate (the markdown's TextView then does not select
itself; Select text opens the words in a selectable dialog).
- **The composer** is one rounded field: attachments as tiles above the words, and a row of
+, Options (the tune sheet: Thinking switch or effort levels, the team's size, Plan first or
the agent's mode, a new agent chat's device and folder -- only what the model and the chat
offer), the microphone and Send, which becomes Stop. The Options button sits in the row's one
offer), the microphone and Send, which becomes Stop. The microphone follows Settings › Voice
input exactly as the assistant does (`usePhoneRecognizer`): the instance's speech-to-text
(recorded, written down when the person stops) or the phone's recogniser (words into the box
as they are said). The Options button sits in the row's one
part that gives, so the icons keep their places at any width and type size.
- **Settings** are grouped lists: a header, one rounded surface of rows, each row an icon column
of fixed width, words that wrap, a control that keeps its size. Language opens a sheet:
@@ -150,7 +156,9 @@ giving it the instance's VAPID key, and hands the endpoint and its keys to `/api
server sends Web Push to it with the code it uses for browsers. One registration per instance.
Channels: Replies, Questions and approvals (high importance), Scheduled results, Scheduled
failures (high importance); every one private on the lock screen. An approval's
notification carries Allow once and Deny; "always" and a corrected command need the card.
notification carries Allow once and Deny, both `setAuthenticationRequired` (Android 12+ asks for
the unlock first); "always" and a corrected command need the card. A fifth channel, App updates
(low importance), carries only the update check's notice.
## Theme, strings and language
@@ -174,6 +182,17 @@ holds the offered list, the `values-*` folders and the locale config equal.
`fdroid`: the same app without the updater, for F-Droid (metadata and a reproducible build are
later). The release key lives in the CI secrets, never in the repository.
**The update check** (`update/ReleaseCheck.kt`, both flavours) reads the repository's public
releases from `api.github.com` over plain HTTPS: no Google service, no account, nothing sent but
the request. It runs on start at most once a day while Settings › About › *Look for new versions*
is on, and on *Check for an update*. Versions sort as their codes do (`1.0.0-beta.9` below
`1.0.0`; a `-debug` suffix is ignored; any other suffix is not a version and never offered);
drafts never count; a pre-release or a `-beta.N` tag is offered only with *Include betas*. Both
settings default to on in a beta and off in a release (`Prefs.updateCheck` / `updateBetas` null
until chosen), which keeps a release build quiet for F-Droid. A found release is announced once
(`updateNotified`), by a notification that opens its page; the full build may then install a
release itself from Settings. Obtainium: see [Installing](Installing).
## Later
The wake word (see Assistant), browsing a device's folders for an agent chat, the library and