A chat app's shape: new chat first, chats in a drawer, Scheduled
CI / check (push) Canceled after 0s
CI / check (push) Canceled after 0s
The app opens on a new chat (greeting, suggestions, composer) instead of a list. The model is the top bar's title (picture, name, caret) and opens a bottom-sheet picker with pictures, what each model can do and its levels. Chats live in a navigation drawer: search, New chat, New agent chat, Files, Scheduled, then Today / Earlier / Agent chats, Settings with the account at the foot. The transcript: the person's words in a bubble on the right, the model's full width without one; thinking and each round of tools fold into chips that open; fenced code becomes its own block with the language and Copy; attached pictures are thumbnails; a breathing dot while a reply is written; Copy and Regenerate under a reply, and a long-press menu (Copy, Select text, Edit, Regenerate). The composer is one rounded field: attach (+), an Options button that opens the tune sheet (Thinking switch or effort levels, team size, Plan first or the agent's mode, and a new agent chat's device and folder: only what the model offers), the microphone, and Send that becomes Stop. Settings are Material 3 grouped lists. Scheduled (phone first): the list (next run, last status, pause switch), a schedule's page (rule, Run now, Pause, next runs, history with model and Open), and create/edit in words with a preview before saving. Notification channels Scheduled results and Scheduled failures, private on the lock screen with a public version, actions Open and Pause. The /api/v2 routes are provisional (api/Schedules.kt) until the server's contract lands. Screens take their state as data (ChatContent, DrawerContent, SettingsContent, Scheduled*Content), so the screenshot tests draw every one with fake data. 60 strings, in all eight languages. Unit tests for the fence splitter, the drawer's grouping, the chat state the controls read, and schedule times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
38 files changed
+5282
-1182
No files matched your search
+76
-4
@@ -27,10 +27,7 @@ STRINGS: dict[str, str] = {
|
||||
"signin_too_new": "This instance speaks a newer app API than this app. Update the app.",
|
||||
# Chats
|
||||
"new_chat": "New chat",
|
||||
"tab_chats": "Chats",
|
||||
"tab_agents": "Agents",
|
||||
"empty_chats": "No chats yet. Not all those who wander are lost — start one.",
|
||||
"empty_agents": "No agent chats yet. Start one with New agent chat, on a device linked to this instance.",
|
||||
"new_agent_chat": "New agent chat",
|
||||
"agent_device": "Device",
|
||||
"agent_no_device": "No device is linked right now. Start `lembas service` on a computer signed in to this instance, then come back.",
|
||||
@@ -124,9 +121,84 @@ STRINGS: dict[str, str] = {
|
||||
"team_hint": "Its own agent included. Above one, it can add members that do the work while it leads them.",
|
||||
"team_chip": "Agents %1$s–%2$s",
|
||||
"thinking_switch": "Think before answering",
|
||||
"effort_level": "Effort: %1$s",
|
||||
"level_off": "off",
|
||||
"level_default": "default",
|
||||
# The redesign: drawer, composer, tune sheet, model picker, transcript
|
||||
"chats_open": "Open the chats",
|
||||
"chats_search": "Search chats",
|
||||
"chats_today": "Today",
|
||||
"chats_earlier": "Earlier",
|
||||
"chats_agents": "Agent chats",
|
||||
"chats_none_found": "No chat has that in its title.",
|
||||
"clear": "Clear",
|
||||
"composer_hint_agent": "Tell the agent what to do",
|
||||
"tune": "Options",
|
||||
"effort": "Effort",
|
||||
"thinking_switch_hint": "Slower, and better at hard questions.",
|
||||
"plan_first": "Plan first",
|
||||
"plan_first_hint": "The model writes a plan for you to approve before it acts.",
|
||||
"agent_mode": "Mode",
|
||||
"agent_greeting": "What should the agent do?",
|
||||
"agent_runs_on": "Runs on %1$s, in %2$s",
|
||||
"agent_directory_default": "its first folder",
|
||||
"model_choose": "Choose a model",
|
||||
"model_in_use": "In use",
|
||||
"model_sees_images": "Sees images",
|
||||
"model_uses_tools": "Uses tools",
|
||||
"model_context": "%1$s context",
|
||||
"model_thinking_switchable": "Thinking on or off",
|
||||
"model_levels": "Effort: %1$s",
|
||||
"code": "Code",
|
||||
"copy_code": "Copy code",
|
||||
"select_text": "Select text",
|
||||
"tools_used": "Used %1$s tools",
|
||||
"suggest_explain": "Explain",
|
||||
"suggest_explain_line": "how something works, in plain words",
|
||||
"suggest_write": "Write",
|
||||
"suggest_write_line": "an email, a note or a post",
|
||||
"suggest_plan": "Plan",
|
||||
"suggest_plan_line": "a trip, a week or a project",
|
||||
"suggest_check": "Check",
|
||||
"suggest_check_line": "a text for mistakes and tone",
|
||||
"instance_in_use": "In use",
|
||||
"notification_settings": "Notification settings",
|
||||
"notification_settings_hint": "Which kinds arrive, and how: replies, questions, scheduled results and failures.",
|
||||
# Scheduled tasks
|
||||
"scheduled": "Scheduled",
|
||||
"scheduled_empty": "Nothing is scheduled. Ask for something to happen every morning, or once next week.",
|
||||
"scheduled_unsupported": "This instance does not offer scheduled tasks yet. They come with a newer LLeMbas on the server.",
|
||||
"schedule_new": "New schedule",
|
||||
"schedule_edit": "Edit schedule",
|
||||
"schedule_next": "Next: %1$s",
|
||||
"schedule_paused": "Paused",
|
||||
"schedule_pause": "Pause",
|
||||
"schedule_resume": "Resume",
|
||||
"schedule_run_now": "Run now",
|
||||
"schedule_started": "Started. The result appears in its history.",
|
||||
"schedule_next_runs": "Next runs",
|
||||
"schedule_history": "History",
|
||||
"schedule_no_runs": "It has not run yet.",
|
||||
"schedule_model": "Model: %1$s",
|
||||
"schedule_delete_confirm": "Delete this schedule? Its past results stay in their chats.",
|
||||
"schedule_words_hint": "Say when and what, in your own words. You will see what was understood before anything is saved.",
|
||||
"schedule_words_example": "Every weekday at 7:30, sum up the news about renewable energy",
|
||||
"schedule_preview": "Preview",
|
||||
"schedule_understood": "Understood as",
|
||||
"notify_always": "Tells you every time",
|
||||
"notify_matters": "Tells you when it matters",
|
||||
"notify_never": "Never tells you",
|
||||
"run_ok": "Done",
|
||||
"run_silent": "Nothing new",
|
||||
"run_failed": "Failed",
|
||||
"run_missed": "Missed ×%1$s",
|
||||
"run_skipped": "Skipped",
|
||||
"run_waiting": "Waiting for a model",
|
||||
"run_running": "Running",
|
||||
"run_model_switched": "%1$s (the first choice was busy)",
|
||||
"channel_scheduled": "Scheduled results",
|
||||
"channel_scheduled_failures": "Scheduled failures",
|
||||
"scheduled_result_public": "A scheduled task has a result.",
|
||||
"scheduled_failed_public": "A scheduled task failed.",
|
||||
# Cards
|
||||
"card_approval": "Allow this?",
|
||||
"card_allow_once": "Allow once",
|
||||
|
||||
Reference in new issue
Block a user