Commit Graph

426 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
4fa8a7dfec test(web): cover bound draft retry and successive sends 2026-09-27 03:32:09 +08:00
Bingxi Zhao (Frank)
68a9de1255 Merge remote-tracking branch 'origin/dev' into codex/pr1602-fix 2026-09-27 03:27:16 +08:00
Bingxi Zhao (Frank)
0e6761bc35 fix(web): recover every unaccepted chat submission 2026-09-27 03:27:08 +08:00
Bingxi Zhao (Frank)
7459310074 test(reading): use current companion toggle in annotation audit 2026-09-27 03:17:17 +08:00
Bingxi Zhao (Frank)
0a116bce22 fix(web): preserve unsent repeated text and quota fallback 2026-09-27 03:03:11 +08:00
Bingxi Zhao (Frank)
038b6513ed fix(auth): surface teacher and student roles in web UI 2026-09-27 03:02:21 +08:00
Bingxi Zhao (Frank)
75aa71ae5b Merge remote-tracking branch 'origin/dev' into codex/pr-1567-review 2026-09-27 02:58:27 +08:00
Bingxi Zhao (Frank)
1ee39c4e9e Merge remote-tracking branch 'origin/dev' into codex/pr1602-fix 2026-09-27 02:55:36 +08:00
Bingxi Zhao
2902e09699 Merge pull request #1592 from dxhome/preserve-generated-partner-attachments
fix: preserve generated Partner attachments
2026-09-27 02:39:07 +08:00
Bingxi Zhao
848037549c Merge pull request #1580 from krxi/codex/task-board
feat: add a workspace-scoped task board
2026-09-27 02:35:23 +08:00
Bingxi Zhao (Frank)
61952363ef fix(partners): preserve external links and code example attachments 2026-09-27 02:27:33 +08:00
XZH
ae0daa9a48 fix(web): keep failed chat submissions recoverable and retryable (#1594)
A submission that never reached the server looked like an ordinary sent
message, its connection error rendered as if it were an assistant reply,
and both vanished after a reload because nothing was persisted.

- Mark the optimistic user row "Not sent" when the transport never
  connected; drop the empty assistant placeholder so the failure cannot
  read as an errored reply. The connection error now surfaces in a
  banner next to the composer with a Resend action.
- Persist the last unproven submission of each session locally and
  restore it after a reload as an unsent, retryable row. The record is
  cleared by any evidence the server took the turn over (done, terminal
  error, cancel), or when the server transcript already holds the text.
- Server-accepted-but-disconnected turns keep the existing reconcile-
  before-resend path; drafts can now retry without a server session.
2026-09-26 06:35:23 -07:00
Philipp Eisbacher
9b139a772f feat(i18n): add German as a full interface language
Adds `de` alongside en/zh/fr/uk, following the seams the Ukrainian locale
established: the interface-language normalizers (settings + launcher), the
Settings language list, APP_LANGUAGES / normalizeLanguage, the lazy bundle
loader, the date locale, the CLI banner labels, the quiz-judge prompt and
the i18n audit's required locales. German already existed as a reply
language; this makes it selectable for the UI as well.

`web/locales/de/app.json` covers all 5200 English keys (audit: 3850/3850
used keys, strict). `language.german` is added to every catalog.

Tests: `tests/i18n/test_german_locale.py` pins each seam, and
`web/tests/german-locale-quality.test.ts` guards terminology (informal
"du", one term per concept, no context-free machine translations such as
"Lappen" for RAG). Three existing tests used `de` as their example of an
unsupported language; they now use `xx`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:00:58 +02:00
krxi
2eb2f2de96 feat: add a workspace-scoped task board 2026-09-24 16:10:03 +03:00
Bingxi Zhao (Frank)
a053fecf6e release: v1.6.11
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.

Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.

Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.

See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
2026-09-24 09:59:56 +08:00
polaris-smart
a4cf390e11 fix(audits): align reading e2e audits with the v1.6.10 reader rework
Three audits were written against the pre-rework reading workspace and
never ran green in CI (the route-budget gate failed first and masked
them; the same gate is red on the dev baseline).

- reading-w3c-annotations: the annotation list moved from the reading
  companion into the contents navigator's Annotations tab; open the
  navigator, switch tabs, and assert the active ring on the entry
  itself (a highlight click now only focuses inside the reader).
- reading-location-history: a fresh workspace load starts with the
  contents navigator collapsed, so re-expand it before picking a
  material on the second session; History now lives behind the reader
  top bar's More menu (plain button, no hint text).

Local full ui-audit project: 61 passed.
2026-09-24 09:30:28 +08:00
Bingxi Zhao (Frank)
28f335c50d feat(chat): pick the conversation's reply language with /language
The per-conversation reply language moves out of the chat header into
the composer: typing /language opens a picker (account default plus
each language) next to /persona, with keyboard navigation. The slash
popup now lists every matching command instead of only /persona.

Also fills two missing French strings (Chat history, Question bank).
2026-09-23 19:37:19 +08:00
Bingxi Zhao (Frank)
53436f8190 feat(reading): collections as colored folders; rework reader interactions
Collections vs workspaces: a workspace holds many collections, and a
collection's files and reading conversations live in the workspace it
was created in. The library now shows collections as folders grouped
under their workspace, and creating one asks which workspace it goes
into.

- Folder page at /learning/reading/folders/[folderId]: breadcrumb,
  files, the collection's conversations, and "Start reading" that opens
  the whole folder in the reader. The reader's back link returns to it.
- Collections carry a user-picked color (new `color` column, migrated);
  tones are --folder-* tokens with dark variants.
- One shared "New collection" / "Edit collection" dialog with consistent
  type sizes.
- Selection popover gains AI actions; results land as cards at the foot
  of the companion. Read-aloud is a single header toggle.
- The three ⋯ menus (collection, document, conversation) merge into one.
- Outline toggle moves to the left and starts closed; navigator has
  Outline / Annotations tabs.
- Reading conversations live in the main sidebar (with a page-shaped idle
  mark) instead of a history dropdown in the companion.
- Fix sidebar rows never showing a selected state
  (bg-[var(--background)]/60 compiled to nothing).
- Composer floats over the conversation (no divider, bottom fade); the
  toolbar wraps by content instead of splitting under 420px.
2026-09-23 18:59:17 +08:00
Bingxi Zhao (Frank)
0558356d14 Add opt-in cross-browser Partner conversation continuity 2026-09-23 13:34:08 +08:00
Bingxi Zhao (Frank)
f363e5f119 fix(chat): persist explicit reply language per conversation 2026-09-23 13:07:39 +08:00
Bingxi Zhao (Frank)
55490af65e Merge issue fixes into PR synthesis
Combine knowledge bootstrap coverage and preserve later progress-isolation tests, native notebook tooltip, and locale-aware tool-hint fallback. Regenerate frontend contracts and align test fixtures with merged APIs.
2026-09-23 12:06:19 +08:00
Bingxi Zhao (Frank)
8880529c65 Merge PR batch with local follow-up fixes
Preserve precise learner KB route guards, combine UI and response language domains, carry normalized EPUB extraction, and regenerate frontend contracts.

Update locale fallback coverage for the completed Ukrainian translation bundle.
2026-09-23 12:01:14 +08:00
Bingxi Zhao (Frank)
6d893e9688 perf(web): load session viewer only on demand 2026-09-23 11:55:11 +08:00
Bingxi Zhao (Frank)
c824124f6d perf(web): split session viewer from chat and mastery route scripts 2026-09-23 11:53:42 +08:00
Bingxi Zhao (Frank)
a2f6470eca fix(reading): keep age controls visible and accessible on phones (#1419) 2026-09-23 11:36:44 +08:00
Bingxi Zhao (Frank)
baa3263a7a fix(auth): forward requested handoff host and avoid shared quota lockout 2026-09-23 11:25:53 +08:00
Bingxi Zhao (Frank)
34251f7d81 feat(reading): adapt built-in actions to learner age (#1419) 2026-09-23 11:23:28 +08:00
Bingxi Zhao (Frank)
b3949a919a fix(knowledge): isolate reindex progress across workers (#1478)
(cherry picked from commit 3ae386ac08)
2026-09-23 11:16:39 +08:00
Bingxi Zhao (Frank)
3ae386ac08 fix(knowledge): isolate reindex progress across workers (#1478) 2026-09-23 11:14:18 +08:00
Bingxi Zhao (Frank)
9248605195 fix(reading): enforce EPUB display preferences across content (#1447) 2026-09-23 11:12:14 +08:00
Bingxi Zhao (Frank)
924f8cd227 fix(learning): preserve latest assessment projections on retries (#1542) 2026-09-23 11:12:04 +08:00
Bingxi Zhao (Frank)
98529ad0c7 fix(chat, text): replay the visible failed turn and retain repeated section titles 2026-09-23 11:03:23 +08:00
Bingxi Zhao (Frank)
ad2b28afba Merge language and voice follow-up fixes 2026-09-23 11:02:23 +08:00
Bingxi Zhao (Frank)
9b6aaaf71c Merge configuration, provider, and learner access follow-up fixes 2026-09-23 11:01:52 +08:00
Bingxi Zhao (Frank)
1016e41103 Audit partial locales and preserve DeepTutor brand in French 2026-09-23 11:01:20 +08:00
Bingxi Zhao (Frank)
9c2eea7446 Normalize regional French and Ukrainian language codes 2026-09-23 11:01:15 +08:00
Bingxi Zhao (Frank)
a7037df11d fix(web): package standalone static and public assets (#1424) 2026-09-23 11:01:11 +08:00
Bingxi Zhao (Frank)
e5e960feda fix(reading): expose EPUB display and page layout controls (#1447) 2026-09-23 11:01:00 +08:00
Bingxi Zhao (Frank)
705e9bf9d5 Merge branch 'codex/reading-learning-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/reading/extract.py
#	deeptutor/reading/store.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:58:38 +08:00
Bingxi Zhao (Frank)
064034a283 Merge branch 'codex/evan-backend-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/api/routers/settings.py
#	tests/api/test_settings_router.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/components/settings/SettingsOverview.tsx
#	web/context/app-shell-storage.ts
#	web/features/knowledge/api/sources.ts
#	web/features/settings/store/SettingsStore.tsx
2026-09-23 10:56:37 +08:00
Bingxi Zhao (Frank)
5726328d32 Align reading and progress UI with integrated navigation 2026-09-23 10:55:12 +08:00
Bingxi Zhao (Frank)
fc0e0a9510 Unify French and Ukrainian language settings across app 2026-09-23 10:51:27 +08:00
Bingxi Zhao (Frank)
dfc4956eda Merge branch 'codex/pr-krypton-zqr-20260923' into codex/pr-batch-root
# Conflicts:
#	web/components/notebook/NotebookRecordRow.tsx
2026-09-23 10:51:03 +08:00
Bingxi Zhao (Frank)
2dcc5871df Reconcile linked-folder UI and book route integration 2026-09-23 10:48:46 +08:00
Bingxi Zhao (Frank)
0fa40f1c13 fix(knowledge): expose LightRAG LLM timeout in engine settings 2026-09-23 10:47:59 +08:00
Bingxi Zhao (Frank)
9453350015 Stage presets with canonical settings extension keys after #1383 2026-09-23 10:47:52 +08:00
Bingxi Zhao (Frank)
ca43e5d5f3 fix(chat): reconcile failed turns before resending 2026-09-23 10:43:20 +08:00
Bingxi Zhao (Frank)
1299ddb4c0 docs(reader): clarify PDF.js legacy worker compatibility 2026-09-23 10:41:49 +08:00
Bingxi Zhao (Frank)
9612fa9e5f Merge latest origin/dev before PR batch integration 2026-09-23 10:38:20 +08:00
Bingxi Zhao (Frank)
83121eecea fix(web): restore notebook tooltip import and tool hint locale fallback 2026-09-23 10:35:30 +08:00