Commit Graph

718 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
e2a2b5f27a Merge commit '561c7ddb6ae466ac9bc9c9a3cf75daf0b532805e' into codex/validate-reviewed-integration 2026-10-31 18:52:54 +08:00
Bingxi Zhao (Frank)
bc75a93a5e Merge commit '0cfbaf738093ab1aa2a3f1b5499acc925baa2b0c' into codex/validate-reviewed-integration 2026-10-31 18:52:54 +08:00
Bingxi Zhao (Frank)
6c4218eb89 Merge commit '584472fb427ac84d739d315885da1525832f913c' into codex/validate-reviewed-integration
# Conflicts:
#	web/features/chat/messages/ChatMessageList.tsx
2026-10-31 18:52:47 +08:00
Bingxi Zhao (Frank)
983b97148d Merge commit 'a7900033f202ddd942aa203e799656d340b669bb' into codex/validate-reviewed-integration 2026-10-31 18:52:31 +08: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)
88b45d524d Integrate account typography with shared reply languages and current settings validation 2026-10-31 17:59:13 +08:00
Bingxi Zhao (Frank)
6d2026ee71 Merge reviewed PR #2207 and regenerate routing contracts 2026-10-31 17:39:41 +08:00
Bingxi Zhao (Frank)
fbab6f6a08 Merge reviewed PR #2174 and regenerate routing contracts 2026-10-31 17:37:43 +08:00
Bingxi Zhao (Frank)
c836ca354d Merge reviewed locale chain and preserve Vietnamese shared language selection 2026-10-31 17:32:10 +08:00
Bingxi Zhao (Frank)
34153c1052 fix(settings): restore model drafts without a selected provider
Co-authored-by: czcjsxmhqydncgg1 <163500110+czcjsxmhqydncgg1@users.noreply.github.com>
2026-10-31 17:31:18 +08:00
Bingxi Zhao (Frank)
d002053ab9 Merge dev and refresh the API routing index 2026-10-31 17:26:35 +08:00
Bingxi Zhao (Frank)
07db7024a7 Merge dev and refresh the French locale router index 2026-10-31 17:25:02 +08:00
Bingxi Zhao (Frank)
561c7ddb6a fix(chat): serialize workspace draft transfer and unmount saves 2026-10-31 17:22:06 +08:00
Bingxi Zhao
52665c1a6a Merge pull request #2219 from x-labb/fix-2036-inline-presented-source-page
fix(mastery): show a presented source page at the call that presented it
2026-10-31 17:15:28 +08:00
Bingxi Zhao (Frank)
9476a1c4b4 fix(settings): preserve add-model drafts across catalog refreshes 2026-10-31 17:10:02 +08:00
Bingxi Zhao
35685b944e Merge pull request #2232 from Rimcat-JA/fix/reading-markdown-math
fix(reading): render uploaded Markdown files, including math
2026-10-31 17:02:44 +08:00
Bingxi Zhao
1103198107 Merge pull request #2127 from Frank-zhu2000/fix/2053-resource-popover-overflow
fix(web): keep the composer resources popover inside the viewport
2026-10-31 16:50:41 +08:00
Bingxi Zhao
e1ab417bad Merge pull request #2128 from 0x-IHRR/feat/math-animation-file-actions
fix: show file actions for direct exec attachments
2026-10-31 16:50:09 +08:00
Bingxi Zhao (Frank)
da1a63051c fix(composer): preserve early drafts and serialize send cleanup 2026-10-31 16:48:32 +08:00
Bingxi Zhao (Frank)
584472fb42 fix(markdown): isolate code math and diagrams within RTL prose 2026-10-31 16:47:06 +08:00
Bingxi Zhao (Frank)
0cfbaf7380 fix(chat): hide generated previews only for embedded images 2026-10-31 16:42:56 +08:00
Rimcat-JA
697249df56 fix(reading): don't adopt a /chat conversation as the collection's
The chat state is shared app-wide, so a /chat thread is still loaded when
a reading collection mounts. The effect that names the first turn's
session in the URL ran before the boot effect and wrote that thread's id;
the boot then took it for its own and never started a reading draft, so
Explain / Translate / Guide went to the /chat thread without the page or
selection. Bind the URL only after the collection has started its own
draft, and never to the session that was open when it did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 15:24:02 +09:00
Rimcat-JA
f75d44eb03 fix(reading): render uploaded Markdown files, including math
Uploaded .md / .markdown files were stored as plain_text, so immersive
reading showed their literal source and every formula stayed raw LaTeX.
Record them as web_markdown so they take the existing safe rich renderer
(KaTeX, no raw HTML). Images stay off for uploads, since their links can
point at any host; web snapshots keep their localized images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 14:12:08 +09:00
x-labb
72a5a172a8 feat(web): render right-to-left text correctly with per-block dir=auto 2026-10-30 22:27:33 +01:00
x-labb
6aee33b228 fix(mastery): show a presented source page at the call that presented it 2026-10-30 21:52:29 +01:00
Antonio-Faure
59f2a5d17a fix(chat): autosave unsent composer drafts across page navigation 2026-10-30 19:07:04 +01:00
Antonio-Faure
28d86973a4 fix(i18n): complete the French catalog and follow it for partner replies
- add the 760 English keys missing from the French catalog and translate 229 values still copied from English\n- make a partner's empty reply language (Auto) follow the account model output language instead of hardcoding English\n- label Auto with the configured language and offer every supported response language in the picker\n- localize the Feishu thinking notice for every supported response language\n- add French catalog, picker and partner runtime regression tests
2026-10-30 18:02:55 +01:00
yuanyyt
67fc8b3317 fix: keep side-chat anchors in sync with the message entry
Detaching a thread from its message cleared only the server preference, so an open tab still sent the old quoted_message_id and filed the thread back under the message. Clear the tab's anchor once the server confirms, unless a newer selection already moved it. A new side chat is matched through its live thread state too: its first send binds a session before the tab records a followupSessionId.

A selection whose message is still optimistic has no persisted id; it now leaves the thread unattached instead of keeping the previous message.
2026-10-30 14:23:28 +08:00
yuanyyt
14292b808f feat: clear or move a tutor thread's source message
quoted_message_id now follows the create_target rule: the key's presence
is authoritative. A value moves the thread, an explicit null clears it,
and omitting the key leaves the stored anchor untouched. A new selection
moves the thread to the passage just asked about.

The message-level popover gains a detach action that clears the anchor
through the organization PATCH without deleting the conversation, and a
deliberate clear also stops the legacy backfill from re-attaching it.
2026-10-30 13:55:30 +08:00
yuanyyt
43b66ac1ad feat: add a message-level Little Tutor entry
Side chats are filed under the message their quoted passage came from:
the turn carries quoted_message_id, the backend stores it as
tutor_source_message_id, and the chat list shows "Little Tutor x N"
under that message with a popover to open or delete each thread.

Threads are read once per conversation and shared with the viewer, only
side-chat turns refresh the session lists, and a turn that omits the
field leaves the stored anchor untouched.

Refs #2118
2026-10-30 13:55:29 +08:00
d41sys
9ddbb92c36 feat: add Vietnamese localization 2026-10-30 02:28:18 +01:00
hongthana
98cfb501a5 feat(web): add account-scoped learning typography 2026-10-30 07:41:44 +07:00
Bingxi Zhao (Frank)
ce4380f3e7 feat(desktop): add Intel Mac and Windows editions with platform builds 2026-10-30 07:20:55 +08:00
Bingxi Zhao (Frank)
a4fa63b6e2 feat(desktop): add Open DeepTutor for macOS under apps/desktop
Move the Electron macOS app into the main repository and ship it with every
DeepTutor release.

- apps/desktop: Electron shell that installs a signed bundled runtime and
  hosts the web UI; versioned with the bundled core.
- White app icon with the black DeepTutor mark, generated by
  scripts/make-icon.swift; redesigned start screen and title bar.
- Shell copy in en/zh/de/fr/pl/uk, starting in English and following the
  interface language and theme from DeepTutor Settings, including live changes.
- Web UI labels itself "Open DeepTutor MacOS v<version>" inside the app
  (user-agent marker) and "Open DeepTutor Web v<version>" in a browser.
- Sealing refuses a missing or mismatched signing key instead of silently
  generating a new one.
- desktop-release.yml builds, smoke-tests and attaches the DMG to each
  GitHub Release; Developer ID signing and notarization run when secrets exist.
- tests.yml runs the shell checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:20:15 +08:00
Bingxi Zhao (Frank)
e495fd6002 Merge origin/dev and reconcile creation contracts and replay tests 2026-10-29 18:13:47 +08:00
Bingxi Zhao (Frank)
01d7c0ed55 feat: add conversational creation drafts and refresh local dev UI 2026-10-29 18:11:52 +08:00
czc
f742fc2693 fix(settings): require a model ID and keep model panels URL-driven
- The Add model panel now asks for a model ID (prefilled from provider
  defaults and discovered models) and keeps Continue disabled until it is
  filled, so an unusable row can no longer reach the draft.
- The model editor marks a blank ID as required, explains it inline, and
  blocks "Set as default" until it is fixed.
- Apply now names the first incomplete model and opens the page and row
  that can repair it, instead of failing with a message pointing nowhere.
- Add/selection state lives in the URL, so refreshing no longer swaps the
  add panel for the list (or vice versa).
- Backend guidance points at the current page names (Language models /
  Embedding models / Search) instead of the removed Catalog page.
- Regression tests cover the add flow, URL state, editor validation, and
  the Apply preflight; new i18n keys for en/zh/de/pl/fr/uk.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-29 18:16:23 +09:00
0x-IHRR
c097402538 fix: expose actions for exec turn attachments 2026-10-29 02:51:32 +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)
bee812e6ab refactor(web): share generated-file controls and reset stale asset state 2026-10-29 01:11:05 +08:00
Bingxi Zhao (Frank)
f50ab3afb0 Merge pull request #2050: inspect and clean generated files 2026-10-29 01:10:37 +08:00
Bingxi Zhao (Frank)
9269029699 Merge pull request #2086: server folder picker with all supported locales 2026-10-29 01:10:00 +08:00
Bingxi Zhao (Frank)
b89748200a Merge pull request #2109: Claude Agent SDK provider 2026-10-29 01:07:23 +08:00
Bingxi Zhao (Frank)
d09a4d3a4f Merge pull request #2028: configurable review strategies 2026-10-29 01:04:33 +08:00
Bingxi Zhao (Frank)
8f60fa8339 Merge pull request #2121 into validated PR integration 2026-10-29 00:56:09 +08:00
Frank-zhu2000
4f1f969c6c fix: keep the composer resources popover inside the viewport
The composer surface is a container query. Firefox 129 treats that as
the containing block for position:fixed, so the resources dialog's
viewport top is applied under the composer and the panel drops below
the window. Portal the overlay to document.body, keep the existing
flip-up and max-height clamp, and count the portaled panel as inside
for outside clicks.
2026-10-28 22:58:58 +08:00
Bingxi Zhao (Frank)
d02fb9850b pre-releas 2026-10-28 21:21:34 +08:00
Frank-zhu2000
586a0d9430 fix: restage the confirmed theme after settings retry
A UI draft staged while GET /api/settings was failing omitted theme.
Retry showed the server theme in the form but Apply still saved that
draft, so localStorage and the document kept the old palette.

Rebuild the pending UI payload with the confirmed theme once the load
succeeds. Regenerate the router index, and correct the System preview
split and the French blurb.
2026-10-28 19:53:07 +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