Commit Graph

260 Commits

Author SHA1 Message Date
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)
def8bdc8c6 Merge commit '1876207b5c248eb4ee4375e34779ed332a11d284' into codex/validate-reviewed-integration 2026-10-31 18:52:30 +08:00
Bingxi Zhao
883a6d9ec1 Merge pull request #2162 from hongthana/codex/chat-header-refresh-20261029-102519-375714
fix(web): prevent long chat titles from overlapping header actions
2026-10-31 18:16:08 +08:00
Bingxi Zhao (Frank)
4d7090447e Integrate Turkish across complete locale chain, runtime messages and desktop shell 2026-10-31 18:14:34 +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)
4b46d5f13e Integrate parser installation guidance with reviewed locales and stable continuity tests 2026-10-31 17:55:53 +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)
b684df296d Merge reviewed French locale integration and refresh hint toggle contracts 2026-10-31 17:28:14 +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)
71f29c03f7 fix(i18n): keep response language types in the shared language module 2026-10-31 17:02:27 +08:00
Bingxi Zhao (Frank)
0cfbaf7380 fix(chat): hide generated previews only for embedded images 2026-10-31 16:42:56 +08: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
799714e0f3 fix(web): don't repeat a generated image as a card when the reply embeds it 2026-10-30 22:21:12 +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
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
19760d5ded fix: refresh tutor threads after deleting a source message
Return the detached thread ids from deleteMessage and have deleteTurn
notify the session-change bus, so useSessionThreads and the viewer refresh
immediately instead of keeping a stale marker.

ChatWorkspace clears only the tabs still pointing at one of the deleted
message rows; a newer passage selected but not yet sent survives the delete.
2026-10-30 23:15:37 +08: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
hongthana
cb9984d15c fix(settings): clarify offline parser installation guidance 2026-10-30 10:35:22 +07: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
hongthana
8246b84d79 fix(web): prevent chat titles from overlapping header actions 2026-10-29 18:07:00 +07: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
meconopscsh
877606fc2f feat: let learners turn off the chat composer's next-message hint
After each reply the chat composer shows a predicted next line as its
placeholder, and Tab accepts it. When the assistant has just asked a
question, such as a quiz in chat, the likeliest next line is the answer,
so the hint gives it away. There was no way to turn it off.

Add an `ask_hint_enabled` switch to the per-user starter settings
(Settings -> Conversation -> Composer), on by default. When it is off,
`get_ask_hint` returns an empty hint before reading the session or the
cache, so no LLM call is made and no line cached while it was on leaks
through.

A PUT that omits the field keeps the stored value, so an older client or
a settings draft saved before this change cannot turn the hint back on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:18:54 +09:00
Erhan ÜRGÜN
e61181a4fc feat(i18n): add Turkish as an interface and reply language
Registers tr in every list that decides which languages exist: the reply-language whitelist and labels, the interface and launcher normalizers, the Settings choices, the web registry and lazy loader, the date locale, the response-language store and the API contract.
2026-10-29 01:05:32 +03:00
Bingxi Zhao (Frank)
adf99ad8aa Merge pull request #2122: resend with live model and response language 2026-10-29 01:12: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)
aabf8d3a99 Merge pull request #2099: Anki flashcard export 2026-10-29 01:02:52 +08:00
Bingxi Zhao (Frank)
f3710ce0ab Merge pull request #2098: calendar ICS export 2026-10-29 01:01:59 +08:00
Bingxi Zhao (Frank)
6d72cfe1f6 Merge pull request #2120 into validated PR integration 2026-10-29 00:56:10 +08:00
Bingxi Zhao (Frank)
8f60fa8339 Merge pull request #2121 into validated PR integration 2026-10-29 00:56:09 +08:00
Bingxi Zhao (Frank)
46675ad01c Merge pull request #2124 into validated PR integration 2026-10-29 00:56:09 +08:00
Bingxi Zhao (Frank)
9189c08501 chore: remove development artifacts and obsolete preview 2026-10-29 00:23:53 +08:00
ZQR1101
9fd2e88e14 fix(web): edited questions pick up the live model and reply language
Editing a saved question copies its request snapshot and replaces only the
content, and sendMessage treats any supplied snapshot as an exact replay, so
the model picker and the explicit reply language of the moment lose to the
ones the original turn ran with.

An edit opens a new branch: it keeps the turn's material context (attachments,
tools, knowledge bases, references, capability, parent) but resolves generation
settings from the session, the way a fresh send does. Unsent drafts keep
replaying their exact reserved request, which is what the submission-replacement
protocol requires.

Adds a regression case for the persisted-message edit, and lets the mocked
PATCH /api/sessions/{id}/reply-language echo the language back like the real
endpoint does.
2026-10-28 15:49:49 +00:00
sjagadee
99303f9df7 fix: use the current model and reply language when editing or resending
Editing a persisted message and resending a saved failed turn both replayed
the failed turn's saved request verbatim, so the new turn silently ran on
the previous model and the previous reply language.

- An edit keeps the original request's context (attachments, references,
  parent, capability, tools, config) but takes the model and the reply
  language from the current session state (#2106).
- A Resend of a saved failed turn sends the current model and reply
  language in the regenerate overrides. The backend already prefers those
  over the saved snapshot, and the recovered model is now written back to
  the conversation, so the choice survives a reload (#2105).
- An unconfirmed submission is still retried with its own parameters: the
  server may already hold that submission id, and a changed request would
  no longer match it.
2026-10-28 09:08:22 -05:00
newye
a3fc1fa95a fix: preserve request identity when retrying unsent messages 2026-10-28 21:31:30 +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
Bingxi Zhao (Frank)
e99d632de5 fix: prepare modular installs and align dev documentation 2026-10-28 19:02:44 +08:00
Frank-zhu2000
9dbed4b21f fix: do not persist a placeholder theme when settings fail to load
A failed GET /api/settings left Appearance on "system". Applying any
later UI change wrote that placeholder and replaced an explicit local
palette.

Seed the form from the stored preference, and omit theme from Apply
until the server has confirmed one.
2026-10-28 18:33:14 +08:00