feat(mobile): mobile app navigation rework and beta-feedback closeout (#2561)

Navigation model rebuilt around two full-width drawers and a minimal
header (sessions / title-switcher / usage ring / workspace):

- Left sessions drawer: cross-project tree with live status indicators,
  swipe actions on sessions (rename/archive/delete) and on group headers
  (project edit / two-step close, worktree delete), reorder-only edit
  mode with collapsible project cards and draggable worktrees, app-level
  footer (connected instance, settings, pending web update).
- Right workspace drawer: Changes / Files / Terminal / Notes / MCP as
  pill tabs (inactive tabs icon-only); panes stay mounted once visited.
  The full desktop file editor serves the Files tab; read/skill tool taps
  in chat open the file there at the requested line.
- Header session switcher on title tap: 10 cross-project recents with
  live busy/attention indicators and project · branch metadata; the
  usage ring opens a metadata overlay with an explicit loading state.
- The overflow menu is gone on phones (its destinations moved into the
  drawers); iPad keeps it until its dedicated layout pass.

Correctness and continuity:

- /auth/session answers bearer-first, so a stale WebView cookie can no
  longer mask a revoked device token; cold launches classify failures
  fast and land on an explicit connect screen.
- Authoritative session snapshots raise frozen ordering baselines and
  stale live ranks — recents stay truthful after the app slept.
- Cold launches reopen the last active session per instance (persisted
  pointer, confirmed against a sessions snapshot; a user-opened draft
  clears it), with a logo hold instead of a draft flash.

Also: collapsed pill composer gains the stop control; chat tool rows
share one 36px rhythm; Task subtool rows truncate; larger bottom safe
area so the composer clears big-screen corner radii; Capacitor build
hides About/Update (store updates apply there); widgets link to the
sessions drawer with a list icon; MobileApp split into focused modules;
five mobile-surface detectors unified; translucent borders normalized to
70%; all new strings translated across the 10 locales.

iPad and foldable layouts are intentionally untouched - separate next version PR.
This commit is contained in:
Bohdan Triapitsyn
2026-08-01 21:16:36 +03:00
committed by GitHub
parent ea8cc5d7b0
commit 86ef96302d
69 changed files with 5006 additions and 4291 deletions
+11 -19
View File
@@ -56,6 +56,9 @@ export const dict: Record<I18nKey, string> = {
'mobile.connect.token.hint': 'サーバーがパスワードの代わりにトークンを必要とする場合のみ必要です。',
'mobile.connect.connectButton': '接続',
'mobile.connect.connecting': '接続中...',
'mobile.connect.notice.unreachable': '{label}に接続できませんでした。サーバーが起動しているか確認してください。',
'mobile.connect.notice.authExpired': '{label}へのアクセスは期限切れか取り消されました。再度サインインしてください。',
'mobile.connect.recovery.description': '保存済みサーバーに接続できませんでした。サーバーが起動しているか確認するか、別のインスタンスを選んでください。',
'mobile.connect.password.label': 'パスワード',
'mobile.connect.password.placeholder': 'OpenChamber のパスワード',
'mobile.connect.unlockButton': 'ロックを解除して接続',
@@ -90,9 +93,9 @@ export const dict: Record<I18nKey, string> = {
'mobile.instances.cancelDeleteAria': '{label} を残す',
'mobile.surface.closeAria': '閉じる',
'mobile.header.openMenuAria': 'メニューを開く',
'mobile.header.openWorkspaceAria': 'ワークスペースパネルを開く',
'mobile.header.openMetadataAria': 'セッションメタデータを開く',
'mobile.header.metadata.context': 'コンテキスト',
'mobile.header.metadata.branch': 'ブランチ',
'mobile.header.metadata.usage': '使用量',
'mobile.menu.titleAria': 'ワークスペースツール',
'mobile.menu.files': 'ファイル',
@@ -123,18 +126,20 @@ export const dict: Record<I18nKey, string> = {
'mobile.sessions.newChat': '新しいチャット',
'mobile.sessions.editOrder': 'プロジェクトの並び替え',
'mobile.sessions.doneEditing': '完了',
'mobile.sessions.editOrderHint': 'ハンドルをドラッグしてプロジェクトを並び替えます。チェックをタップして完了します。',
'mobile.sessions.editOrderHint': 'ハンドルをドラッグしてプロジェクトを並べ替えます。プロジェクトをタップするとワークツリーが表示され、同様にドラッグできます。チェックをタップして完了します。',
'mobile.sessions.editProjectAria': '{label}を編集',
'mobile.sessions.dragHandleAria': '{label}をドラッグして並び替え',
'mobile.sessions.moveUpAria': '{label}を上に移動',
'mobile.sessions.moveDownAria': '{label}を下に移動',
'mobile.sessions.removeProjectAria': '{label}を削除',
'mobile.sessions.cancelRemoveProjectAria': '{label}の削除をキャンセル',
'mobile.sessions.confirmRemoveProject': '閉じる',
'mobile.sessions.confirmRemoveProjectAria': '{label}の削除を確認',
'mobile.sessions.toast.projectRemoved': '{label}を削除しました',
'mobile.sessions.archiveSessionAria': '{title}をアーカイブ',
'mobile.sessions.cancelArchiveAria': '{title}のアーカイブをキャンセル',
'mobile.sessions.renameSessionAria': '{title}の名前を変更',
'mobile.sessions.renameError': 'セッション名の変更に失敗しました',
'mobile.sessions.deleteSessionAria': '{title}を削除',
'mobile.sessions.confirmDeleteSessionAria': '{title}の削除を確認',
'mobile.projectEdit.worktreesTitle': 'ワークツリー',
'mobile.projectEdit.worktreesEmpty': 'このプロジェクトにはまだワークツリーがありません。',
'mobile.projectEdit.reorderHint': 'ドラッグしてワークツリーを並び替え。',
@@ -180,6 +185,8 @@ export const dict: Record<I18nKey, string> = {
'mobile.files.copyPathAria': 'ファイルパスをコピー',
'mobile.files.copyContent': '内容をコピー',
'mobile.files.copyContentAria': 'ファイル内容をコピー',
'mobile.files.editAria': 'ファイルを編集',
'mobile.files.doneEditingAria': '編集を終了',
'mobile.files.toast.pathCopied': 'パスをコピーしました',
'mobile.files.toast.contentCopied': '内容をコピーしました',
'mobile.files.toast.copyFailed': 'コピーに失敗しました',
@@ -2073,21 +2080,6 @@ export const dict: Record<I18nKey, string> = {
'chat.chatInput.drop.insertMention': 'ドロップしてメンションとして挿入',
'chat.chatInput.drop.attachFiles': 'ここにファイルをドロップして添付',
'chat.chatInput.fileFallback': 'ファイル',
'chat.mobileStatus.editProjects.title': 'プロジェクトを編集',
'chat.mobileStatus.editProjects.footer': '項目をドラッグして並び替え、または矢印で移動。編集をタップして詳細を変更します。',
'chat.mobileStatus.editProjects.empty': '編集するプロジェクトがありません',
'chat.mobileStatus.projects.empty': 'プロジェクトがありません',
'chat.mobileStatus.projects.addAria': 'プロジェクトを追加',
'chat.mobileStatus.projects.removeTitle': 'プロジェクトを削除',
'chat.mobileStatus.projects.removeDescriptionPrefix': '本当に削除しますか?',
'chat.mobileStatus.projects.cancel': 'キャンセル',
'chat.mobileStatus.projects.remove': '削除',
'chat.mobileStatus.new': '新規',
'chat.mobileStatus.noSessionsInProject': 'このプロジェクトにセッションはありません',
'chat.mobileStatus.swipeHint': '← ここをスワイプでサイドバーを開く →',
'chat.mobileStatus.toast.addProjectFailed': 'プロジェクトの追加に失敗しました',
'chat.mobileStatus.toast.selectValidDirectory': '有効なディレクトリを選択してください。',
'chat.mobileStatus.toast.selectDirectoryFailed': 'ディレクトリの選択に失敗しました',
'chat.toolOutputDialog.image.previousAria': '前の画像',
'chat.toolOutputDialog.image.nextAria': '次の画像',
'chat.toolOutputDialog.image.closeAria': '画像プレビューを閉じる',