82 Commits

Author SHA1 Message Date
1zrj
24aa2632d9 fix learning activity (ReadingCompanion, MasteryStudy, NoteCompanion) chat auto-follow (#2935) 2026-11-30 11:12:23 +08:00
Bingxi Zhao (Frank)
53bc9eb99d fix(learning): paginate and search question bank sources
Fixes #2641
2026-11-15 01:20:53 +08:00
ZQR1101
062eca80c0 fix(learning): load each source kind independently in the picker
The knowledge source picker fired all six source-library requests inside
one Promise.all and only rendered after every kind settled. A large
question bank (tens of thousands of practice entries accumulated
server-side) kept the whole panel on a spinner, so a ready knowledge base
could not be selected even after its own request had returned.

Land each kind in its own slice as its request settles, and gate each
consumer on the active kind's readiness instead of the aggregate. A ready
KB is now selectable while the question bank is still loading or has
failed; per-kind error alerts no longer paint a failure on a ready tab.
The aggregate loading flag still clears once everything settles.

Refs #2641
2026-11-12 19:55:50 +08:00
evan188199-tech
aad58b82f8 feat: choose the model before a MasteryPath outline starts (#2407) 2026-11-06 02:27:50 +08:00
Bingxi Zhao (Frank)
81ed91a8c3 Keep scoped embedding clients on their calling operation and split mastery-only UI 2026-11-06 02:25:50 +08:00
Bingxi Zhao (Frank)
39f744114f Confirm process group settlement and load the mastery transcript on demand 2026-11-06 02:16:17 +08:00
Bingxi Zhao (Frank)
1854863e9b Merge #2414 from maxsheng215-cyber 2026-11-06 02:07:18 +08:00
Bingxi Zhao (Frank)
8d6b9f3866 Merge #2320 from FSOTM 2026-11-06 01:56:23 +08:00
我也有友人账
f6cbb25e72 fix: keep mastery board horizontal scrolling accessible 2026-11-03 14:48:17 -08:00
FSOTM
70031420a6 feat(voice): read selected passages in chat, mastery and reading 2026-11-01 22:52:30 +08:00
Erhan ÜRGÜN
5eadf4e1de fix(i18n): format dates in the interface language
CLI app install dates, the About page update check and the mastery
dashboard's relative and calendar times were formatted as zh-CN or
en-US, so every other language got US dates. They now use getLocale()
from lib/datetime, which already knows each interface language.
2026-11-01 05:41:48 +03:00
Erhan ÜRGÜN
9f16a42fbc fix(i18n): keep source picker fallback labels in the interface language
BookCreator and CreateTopicWizard passed i18next's t to
useTopicSourceLibrary, which calls its translator as (zh, en). i18next
read the Chinese text as the key and the English text as the default, so
labels such as "Untitled question" stayed English even in Chinese.
catalogTranslate() builds the (zh, en) translator from t for all three
callers, and the message and file counts become interpolated keys.
2026-11-01 05:41:48 +03:00
Erhan ÜRGÜN
5f2ae24296 fix(i18n): resolve the mastery next-step copy through the catalogs
The mastery dashboard and the learner profile showed the next-step
labels in English for every language but Chinese. The labels now go
through t(); the server-provided reason stays as-is.
2026-11-01 05:41:47 +03:00
Bingxi Zhao (Frank)
1876207b5c perf(mastery): import session activity data without loading its panel 2026-10-31 18:49:26 +08:00
Bingxi Zhao (Frank)
e31246a933 fix(web): reconcile file controls and provider presentation after integration 2026-10-29 01:24:53 +08:00
Bingxi Zhao (Frank)
3f471e7823 Merge pull request #2095 for source-picker scrolling validation 2026-10-29 01:12:05 +08:00
Bingxi Zhao (Frank)
d09a4d3a4f Merge pull request #2028: configurable review strategies 2026-10-29 01:04:33 +08:00
Fancie
384080d3e1 fix(web): stop the source picker from trapping the mouse wheel
The materials step nested its own scroll box (max-h-[360px] overflow-y-auto
overscroll-contain) inside the dialog's scroll region. The knowledge-base tab
runs ~480px of rows, so the inner box had ~120px of travel and overscroll-contain
blocked the wheel from reaching the dialog body once it bottomed out: the list
read as frozen after a few rows.

Dropping the inner box leaves a single scroll region - the step body - which is
the pattern the rest of the dialog already uses. min-h-40 keeps the empty-state
height unchanged.
2026-10-28 19:50:52 +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
XZH
aa7d54bd7b feat(learning): add mastery review strategies (#1908)
Mastery paths previously scheduled with one fixed interval template per knowledge type, which did not fit exam cramming, language drilling, science review, or learner-specific pacing.

Add four built-in strategy presets and custom per-round interval templates with validated persistence, CRUD, duplication, and path bindings. Bound paths keep a frozen strategy snapshot, replay durable evidence when switching, and mastery tools follow the bound path scheduler.

Expose strategy management in the mastery review trail, including custom interval editing and loading, empty, busy, invalid-input, and error states. Regenerate the OpenAPI contract and add focused backend and web regression coverage. Legacy paths without a binding continue to use the previous default scheduler.
2026-10-22 18:37:54 -07: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)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Mrmo072
adcf7dfa25 fix(chat): resolve browser-local unsent submission recovery 2026-10-15 14:41:46 +08: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)
2350ea2dba feat(mastery): complete source-grounded visual practice and evidence (#1611)
Bind original visual sources and keys to supported tasks; verify accepted model pixels, preserve cues/assistance and canonical attempts, keep uncertainty ungraded, expose challenge/repair, and separate required visual evidence from generic text mastery.
2026-10-08 05:25:05 +08:00
Bingxi Zhao (Frank)
f8be756906 Integrate saved user workspace changes with reviewed dev updates 2026-10-07 20:37:55 +08:00
Bingxi Zhao (Frank)
ed3f9e9b4e fix(chat): distinguish unconfirmed replies from expired questions (#1648) 2026-10-04 18:14:40 +08:00
XZH
8079dd8def fix(chat): label sent-message KB references with catalog names
The reference chips under a sent message printed the stored
request-snapshot entry verbatim, so workspace-owned knowledge bases
showed their qualified ref (workspace:<id>:kb:<name>) instead of the
readable name the composer shows for the same selection.

Thread the catalogs' ref-to-name resolution into ChatMessageList/
UserMessage and use it for the Knowledge chip label, keeping the
qualified ref as identity and fallback. Wired from the chat workspace
catalog and Mastery study topic sources, with a regression test for
both the resolved label and the fallback.

Fixes #1647

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 11:14:09 -07:00
Bingxi Zhao (Frank)
4f47c55d52 fix(tooltips): expose passive diagnostic hints 2026-09-27 10:50:03 +08:00
Bingxi Zhao (Frank)
d2810c2812 Replace forwarded link titles with accessible tooltips 2026-09-27 10:41:33 +08:00
Bingxi Zhao (Frank)
5b4c15afec fix(mastery): show teach-first guidance and localized next step (#1527) 2026-09-27 10:29:17 +08:00
Bingxi Zhao (Frank)
108ca70072 fix(web): migrate learning and reading button title hints (#1526) 2026-09-27 10:29:14 +08:00
Bingxi Zhao (Frank)
4179fa222c fix(mastery): preserve scrollable outline with long review trail (#1566) 2026-09-27 04:55:15 +08:00
Bingxi Zhao (Frank)
3a0ed2b560 fix(turns): surface and retry orphaned worker loss (#1570) 2026-09-27 04:55:15 +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)
c824124f6d perf(web): split session viewer from chat and mastery route scripts 2026-09-23 11:53:42 +08:00
Bingxi Zhao (Frank)
8b08debd7c fix(learning): make review timing and retention settings consistent (#1541) 2026-09-23 11:00:25 +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)
2dcc5871df Reconcile linked-folder UI and book route integration 2026-09-23 10:48:46 +08:00
Bingxi Zhao (Frank)
ba7efc5dbf Merge PR #1477 mastery objective relations 2026-09-23 10:34:25 +08:00
Bingxi Zhao (Frank)
a6d15e4730 Merge PR #1535 mastery skills and persona presets 2026-09-23 10:29:34 +08:00
Bingxi Zhao (Frank)
eabc17d79f release: v1.6.10
Native LightRAG role models: extraction, keyword, query and vision each
resolve their own model, vision indexing pins a vision-capable model
instead of silently degrading, and a knowledge base records which models
and which embedding built it. A published index refuses queries after its
embedding identity changes rather than searching a foreign vector space,
and a rebuild is confirmed against the configuration it will actually
use — a stale confirmation is rejected instead of quietly rebuilding
something else. A failed publication is withdrawn, not left half-written.

PDF attachments follow the parsing engine configured for the workspace,
report the stage they are in, and a truncated answer says it was
truncated with the counters that prove it. Providers are no longer
filtered out of the embedding picker on an unverifiable capability guess:
configure the model and test it. Visualize's temperature and token budget
are settings rather than literals. Notebook evidence no longer depends on
the chat session that produced it.

See assets/releases/ver1-6-10.md for the full notes, and the README
translations for the propagated prose.
2026-09-22 21:36:27 +08:00
Gao-Chenkai
f272234bed fix(mastery): restore Skills picker and workspace persona presets
Mastery Path now reuses Chat's skill/MCP catalog selection, and admin
account presets stay visible in explicit workspaces without copying files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 20:20:17 +08:00
Bingxi Zhao (Frank)
da856ad670 release: v1.6.9
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.

Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
2026-09-21 02:30:40 +08:00
Bingxi Zhao (Frank)
367195b7cf Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	deeptutor/api/routers/reading_extensions.py
#	tests/reading/test_extension_router.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-19 16:41:12 +08:00