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>
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>
- 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
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.
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.
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
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>
- 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>
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.
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.
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.