3 Commits

Author SHA1 Message Date
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
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
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