647 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
e347c0c2e0 fix: preserve tutoring replies and stabilize preview runtime
Keep learner-facing explanations visible across finish checks, persistence, and replay. Remove mastery prose heuristics and prioritize learner objections.

Coordinate service shutdown and descendant cleanup, and preserve video lesson identity and playable results across chat completion and reload.
2026-10-27 17:58:46 +08:00
Bingxi Zhao (Frank)
8bdc6202f1 Merge branch 'codex/pr2014-ready' into codex/pr2013-sandbox
# Conflicts:
#	deeptutor/api/router_index.json
2026-10-27 02:05:57 +08:00
Bingxi Zhao (Frank)
c4f6b4972e fix(web): keep reading history controls reachable and refresh audit fixtures 2026-10-27 02:04:21 +08:00
Bingxi Zhao (Frank)
addb783d2f Merge preview and CI fixes into video lesson branch 2026-10-27 01:40:39 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
Bingxi Zhao (Frank)
28c11e2ae8 feat: update notes, chat interactions and workspace UI on preview
Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.

Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.

Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
2026-10-26 22:13:34 +08:00
SeleiXi
78877ee2ba feat(web): play video lessons in chat
Adds "Video Lesson" to the capability picker. A video_lesson result is
shown as its player page in an iframe sandboxed to allow-scripts only,
with the summary underneath, a link to open it in a tab, the lesson's
length and the Remotion source behind a disclosure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:58:03 +08:00
Bingxi Zhao (Frank)
54b2ee8e83 fix(web): keep indexing cancellation scoped to its run (#1972) 2026-10-19 03:29:21 +08:00
Bingxi Zhao (Frank)
583bdfc714 Merge PR #1945: fence edited submissions and isolate recovery by account and backend support 2026-10-19 01:03:40 +08:00
Bingxi Zhao (Frank)
9aae961412 Merge PR #1957: separate private source evidence from explicit public presentation 2026-10-19 00:53:44 +08:00
Bingxi Zhao (Frank)
0fd8dc8384 Merge PR #1953: source-bound assessment with portable lexical page lookup 2026-10-19 00:43:33 +08:00
Bingxi Zhao (Frank)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao
4688fbfdb8 Merge pull request #1970 from MrmoLabs/codex/failed-submission-recovery
fix(chat): reconcile and dismiss browser-local unsent submissions
2026-10-19 00:34:18 +08:00
Bingxi Zhao
cb01db5260 Merge pull request #1937 from yepyhun/contrib/mineru-owned-process
fix(mineru): own CLI worker lifecycle and avoid pipe-related hangs
2026-10-19 00:32:37 +08:00
Bingxi Zhao
2b33d5e7b7 Merge pull request #1876 from dajiaohuang/fix/mermaid-error-recovery
fix(web): retry Mermaid rendering after an initial error
2026-10-19 00:27:36 +08:00
Bingxi Zhao
2e1542d2ce Merge pull request #1882 from dajiaohuang/fix/composer-keyboard-admission
fix(web): apply composer admission checks to Enter submissions
2026-10-19 00:27:22 +08:00
Bingxi Zhao
5dd7f32bd4 Merge pull request #1890 from dajiaohuang/fix/notebook-save-cancellation
fix(web): clear notebook save state after cancellation
2026-10-19 00:25:48 +08:00
Bingxi Zhao
63da9427f1 Merge pull request #1892 from dajiaohuang/fix/memory-save-http-errors
fix(web): retain memory edits after failed HTTP saves
2026-10-19 00:25:21 +08:00
Bingxi Zhao
cef90223f6 Merge pull request #1896 from dajiaohuang/fix/partner-soul-load-errors
fix(web): block persona saves after a failed initial read
2026-10-19 00:19:05 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Bingxi Zhao (Frank)
857a82e74a feat(notes): add block notebooks with inline reviews and linked favorites
Add rich text and learning blocks, media uploads, page trees, and revisioned notebook storage. Present AI suggestions at their target blocks with durable accept and dismiss actions.

Unify saved outputs as Favorites with typed expandable blocks, stable source links, atomic batch insertion, nesting, dragging, and undo/redo.

Validation: 99 frontend tests and 99 backend tests pass in an isolated snapshot, along with TypeScript, scoped ESLint, dependency architecture, and locale parity checks.
2026-10-17 23:15:23 +08:00
Bingxi Zhao (Frank)
d70ab8609a Merge branch 'dev' into dt-exp-idp 2026-10-16 17:25:36 +08:00
Bingxi Zhao (Frank)
6ab4f9a766 feat(web): add classic/modern layout switch with Notion-style modern chrome
- Settings → General gains a classic/modern layout choice; classic is a frozen
  snapshot of dev's sidebar and learning dashboard, modern keeps iterating.
  Variants differ only through slots, tokens and per-variant CSS on
  <html data-ui-layout>; the preference lives in localStorage.
- Modern chrome: warm neutral tokens, WorkspaceMenu header, ⌘K command palette
  and keyboard shortcuts, PageBar location strip, swipeable PartnerRoster.
- Remove dead HomeShortcuts, WorkspaceSwitcher and the inline sidebar search
  query chain.
2026-10-15 23:00:23 +08:00
Mrmo072
adcf7dfa25 fix(chat): resolve browser-local unsent submission recovery 2026-10-15 14:41:46 +08:00
Wen Li Hong
9a80d3477f fix(voice): surface the HTTP status when a preview error body is not JSON
A reverse proxy can replace the backend's JSON error with an HTML page;
VoicePreviewPanel parsed the error body unconditionally, so the settings
page showed the raw JSON syntax error ("Unexpected token '<'...") from
#1951 instead of anything actionable. Parse the body defensively and fall
back to a localized 'Voice preview failed (HTTP <status>).' message that
keeps the HTTP status visible. Adds the message to the locales that
already translate the voice preview strings and a regression test.
2026-10-15 11:51:22 +08:00
Bingxi Zhao
e60fb15828 Merge pull request #1906 from idealistichacker/fix/activity-panel-return
fix(web): add visible return from activity panel
2026-10-15 03:30:41 +08:00
Bingxi Zhao
969614b111 Merge pull request #1899 from georgelichen/fix/chat-composer-empty-kb-option
fix(chat): keep knowledge base resource option accessible when empty
2026-10-15 03:18:07 +08:00
Bingxi Zhao
fc887cda6d Merge branch 'dev' into fix/activity-panel-return 2026-10-15 02:32:54 +08:00
Bingxi Zhao
cdc7a11d03 Merge branch 'dev' into fix/chat-composer-empty-kb-option 2026-10-15 02:04:33 +08:00
Bingxi Zhao (Frank)
33dea073bb perf(reading): load Markdown export only when requested 2026-10-15 01:52:08 +08:00
idealistichacker
93eb69c0e6 fix(web): add visible return from activity panel 2026-10-14 17:20:42 +08:00
yepyhun
755686264d fix(mastery): separate source inspection from assessment delivery 2026-10-13 13:49:35 +02:00
yepyhun
ccac56eec1 fix(mastery): bind semantic assessment to verified question evidence 2026-10-13 12:21:04 +02:00
yepyhun
f986774b87 fix(chat): durably replace uncertain submissions and isolate recovery owners 2026-10-13 12:07:47 +02:00
yepyhun
f270f258f1 fix(knowledge): show durable parser activity without inventing progress 2026-10-13 11:34:53 +02:00
yepyhun
9cfa5cb8fd fix(mastery): retain incremental grouped replies and partial feedback 2026-10-13 08:24:38 +02:00
yepyhun
bffd1c8187 fix(chat): allow safe dismissal of unsent message copies 2026-10-12 21:30:10 +02:00
Bingxi Zhao (Frank)
fd8f108178 fix: restore lighter page styling with subtle navigation refinements 2026-10-13 03:21:51 +08:00
yepyhun
c3301c0055 feat(mastery): support independently graded question groups 2026-10-12 21:03:14 +02:00
Bingxi Zhao (Frank)
1c735c75ea feat: unify page chrome and refine DeepTutor navigation 2026-10-13 00:14:50 +08:00
Bingxi Zhao (Frank)
2358b8d407 fix: retain navigation while refining partner and learning sidebars 2026-10-12 20:28:57 +08:00
Bingxi Zhao (Frank)
1eb6b3998f fix: preserve exact navigation record selection and document verification 2026-10-12 20:02:55 +08:00
Bingxi Zhao (Frank)
90c070d77b feat: integrate Dito navigation with existing learning and partner workflows 2026-10-12 19:58:02 +08:00
Bingxi Zhao (Frank)
3cbecb2479 feat(workspaces): add scoped instructions and refine learning UI 2026-10-12 19:29:47 +08:00
李晨
32feb12014 fix(chat): keep knowledge base resource option accessible when empty
Always include the knowledge base item in the composer resources
menu when KB toggling is available, displaying a 'No KB' summary and
an empty-state guidance link when no knowledge bases are configured
in the active workspace instead of silently hiding the entry.
2026-10-08 22:15:28 +08:00
dajiaohuang
2f1517cf7c Merge commit '6cf793bd868ba5ecbe64722936d4be8fab5a01df' into fix/composer-keyboard-admission 2026-10-08 12:42:58 +08:00
dajiaohuang
b4a3c9c41d fix(chat): share keyboard and button submission admission 2026-10-08 12:42:58 +08:00
dajiaohuang
f8f6e8a5c0 Merge commit '6cf793bd868ba5ecbe64722936d4be8fab5a01df' into fix/partner-soul-load-errors 2026-10-08 12:39:37 +08:00
dajiaohuang
7799c16107 fix(partners): require successful persona load before saving 2026-10-08 12:39:37 +08:00
dajiaohuang
ee82e4a2a6 Merge commit '6cf793bd868ba5ecbe64722936d4be8fab5a01df' into fix/notebook-save-cancellation 2026-10-08 12:39:33 +08:00