24 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
6ab4f9a766 feat(web): add classic/modern layout switch with Notion-style modern chrome
- Settings → General gains a classic/modern layout choice; classic is a frozen
  snapshot of dev's sidebar and learning dashboard, modern keeps iterating.
  Variants differ only through slots, tokens and per-variant CSS on
  <html data-ui-layout>; the preference lives in localStorage.
- Modern chrome: warm neutral tokens, WorkspaceMenu header, ⌘K command palette
  and keyboard shortcuts, PageBar location strip, swipeable PartnerRoster.
- Remove dead HomeShortcuts, WorkspaceSwitcher and the inline sidebar search
  query chain.
2026-10-15 23:00:23 +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)
9ef8922444 feat(settings): interface language as a select like model output language 2026-09-23 19:37:19 +08:00
Bingxi Zhao (Frank)
064034a283 Merge branch 'codex/evan-backend-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/api/routers/settings.py
#	tests/api/test_settings_router.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/components/settings/SettingsOverview.tsx
#	web/context/app-shell-storage.ts
#	web/features/knowledge/api/sources.ts
#	web/features/settings/store/SettingsStore.tsx
2026-09-23 10:56:37 +08:00
Bingxi Zhao (Frank)
d6825cb695 Merge PR #1344: add Ukrainian language support 2026-09-23 10:34:40 +08:00
Bingxi Zhao (Frank)
97573a3624 Merge commit 'refs/pr/1383' into codex/evan-backend-prs-20260923
# Conflicts:
#	deeptutor/api/routers/settings.py
#	web/components/settings/SettingsOverview.tsx
#	web/contracts/generated/api.ts
#	web/contracts/schema/openapi.json
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:28:42 +08:00
Bingxi Zhao (Frank)
7dd8b2ac44 Merge commit 'refs/pr/1345' into codex/evan-backend-prs-20260923
# Conflicts:
#	web/components/settings/SettingsOverview.tsx
2026-09-23 10:27:55 +08:00
Bingxi Zhao
921160d3f8 Merge pull request #1335 from TaoufikMejri/feat/add-french-translation
feat: add french as supported language
2026-09-23 10:26:44 +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
XZH
65f6f4a504 feat(settings): add reviewable named presets
Part of #1209
2026-09-10 16:37:48 -07:00
XZH
634a6916f9 feat(settings): expand response language options 2026-09-09 13:33:11 -07:00
Ruslan
4c6498b72a feat(i18n): add Ukrainian as a full interface and output language
Adds `uk` alongside `en` and `zh`: a complete `web/locales/uk/app.json`
(4009 keys), a Ukrainian CLI label set (102 keys), a Ukrainian quiz-judge
prompt, and the language directive that tells the model to answer in it.

Most of the diff is not the translation — it is the six independent
places that each decided, on their own, which languages exist. Every one
of them collapsed an unknown code to English *silently*, so picking
Ukrainian in Settings produced an English UI, English AI feedback and an
English chat reply, with nothing logged anywhere:

  * `services/settings/interface_settings._normalize_language` — the
    canonical normalizer; `interface.json` stored `uk`, the API returned
    `en`, and it looked like the setting had failed to save.
  * `agents/loop/prompt_blocks` — conflated two different things in one
    attribute: which prompt ASSETS exist (yaml ships `en`/`zh` only) and
    which language to ANSWER in (any). Split into `language` and
    `output_language`; the directive now takes the latter.
  * `api/routers/quiz_judge` — the supported set is now derived from
    `_JUDGE_SYSTEM_PROMPTS`, so a language cannot be advertised without a
    prompt or shipped without being advertised.
  * `web/i18n/init` — `normalizeLanguage`/`ensureLanguage`, plus a new
    exported `APP_LANGUAGES` that every picker maps over. The Settings
    toggle inlined `["en", "zh"]`, so a new locale was invisible there
    even once it existed.
  * `web/context/app-shell-storage` — held a second, private copy of the
    `AppLanguage` union; re-exported from `i18n/init` instead.
  * `runtime/banner` and `services/config/settings_spec` — the CLI wizard
    labels and the Settings language list.

Tool hints stay a per-language map from the API where only `en` is
guaranteed, so `ToolsSettingsSection` falls back instead of indexing a
missing key. Backend prompt yaml is still `en`/`zh`; Ukrainian uses the
English scaffolding with a Ukrainian output directive, which is what the
directive is for.

`tests/i18n/test_ukrainian_locale.py` pins each seam — locale key parity,
placeholder integrity, judge/prompt/normalizer coverage, and that the
Settings toggle maps over `APP_LANGUAGES` rather than a literal — so the
next language fails in CI rather than quietly in the UI.
2026-09-09 22:16:00 +03:00
TaoufikMejri
32848a6b57 feat: add french as supported language 2026-09-09 15:00:50 +01:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
829be646a1 chore(web): enforce frontend architecture boundaries 2026-09-01 19:55:48 +08:00
Bingxi Zhao (Frank)
3802991e79 refactor(web): split settings into feature-owned sections 2026-09-01 18:44:18 +08:00
Bingxi Zhao (Frank)
3dc372f551 release: v1.6.2 — immersive watching and extensible visualizers
Add synchronized YouTube learning, a plugin-driven visualizer catalog, and Hermes, OpenClaw, and DeepSeek agent harnesses. Refresh Reading, Knowledge, Partner status, guided updates, documentation, translations, and release notes for v1.6.2.
2026-08-31 01:13:07 +08:00
Bingxi Zhao (Frank)
ce7c2dc2dc release: v1.6.1 — one key, one navigator, one sidebar you arrange
Model configuration was one layer replicated seven times: every service
stored its own profile with its own credentials, so a single OpenRouter
key had to be pasted into five separate pages. This release splits that
in two — a **connection** holds one vendor credential and links it down
to every service that vendor can serve, and a **task model** takes the
calls nobody asks for (naming a conversation, writing the composer's
starting points) off the model picked for actual reasoning. Both are
opt-in; existing per-service profiles resolve exactly as before.

Around that: Settings drops the card grid for a persistent searchable
navigator whose landing page answers "what state am I in" instead of
repeating the directory; Mastery Path files study conversations under
their topic and opens them in the tutor rather than dropping them on
/home; the sidebar folds features into More and reorders by drag; the
reading companion is rebuilt from /home's own chat components; and the
LightRAG engine talks to the SDK directly, so its extra no longer drags
MinerU in transitively.

Also back-merges PR #1041 (Anthropic SDK 1.x temperature via extra_body)
and PR #741 (owner-only auth secret/token files), which had been merged
straight into main and never flowed back to dev.

Release notes: assets/releases/ver1-6-1.md
Gates: pre-commit 15/15, ruff clean, pytest 5802 passed, web 450 node
tests, eslint 0 errors, docs build clean.
2026-08-30 13:19:42 +08:00
Bingxi Zhao (Frank)
a2f124a60d feat(settings): Models/Chat/Agents categories scroll in one page
Promotes the three multi-leaf settings categories (Models, Chat,
Partners & Agents) to a continuously-scrolling page each, Feishu-style:
the category itself becomes a top-level nav row and its leaves become
a collapsible sub-list whose links are same-page anchors instead of
separate routes, so switching between them scrolls instead of
remounting. The category root pages (models/chat/agents) now render
every leaf stacked via a new CategoryScroll component with rect-based
scrollspy (no IntersectionObserver, per prior findings that it does
not reliably fire in this app's render surfaces).
2026-08-29 23:44:15 +08:00
Bingxi Zhao (Frank)
3867bee523 style(settings): divide with rules and whitespace, not boxes
Every section was a bordered, tinted panel wrapping rows that already
separated themselves with hairlines — the same content divided twice, and
the densest concentration of boxes anywhere in the app. The rest of
DeepTutor divides with hairlines and whitespace; Settings now does too.

`SettingSection` drops the panel for a single top rule, which is also
what keeps sections holding custom content (theme tiles, previews) from
coming apart. The model pages' two main panes become titled sections with
the same underline, so a page reads as three sections rather than three
stacked cards. Rows tighten from py-4 to py-3.5 and lose the padding the
box used to require.

Boxes that survived are the ones that are meant to interrupt: the
"opened from Connections" notice, the add-connection panel, the Codex
sign-in card, the network status block. The profile list keeps a
container because it is a navigator, not content — retinted to the same
accent the app sidebar uses.
2026-08-29 21:14:17 +08:00
Bingxi Zhao (Frank)
8ac76a4cec style(settings): rebuild the navigator in the app's own language
The settings column was invented rather than borrowed, and it showed.
Measuring it against `SidebarShell` — the same kind of element, on screen
in the same app, all day — the differences were all in the wrong
direction:

- No icons at all, so a 23-row column was a wall of text with nothing to
  aim at while scanning. Every page already declares an icon in
  `settings-nav.ts`; none of them were being drawn.
- Rows a half-step tighter and smaller than the app's (12.5px/py-1.5/md
  against 13.5px/py-2/lg), which read as cramped rather than compact.
- The active row tinted with `--muted`; the app uses `--accent`.
- Idle rows in `--muted-foreground` while group labels were medium-weight
  at 70% — so the labels were heavier than the pages under them and the
  hierarchy read upside down. Group labels now match the "Recents"
  heading: 11.5px, normal weight, 60%.

Also two measurements off the rest of Settings. The radius scale had five
tiers with `rounded-2xl` used exactly once outside the tour overlay, so
the status strip joins the `xl` tier and the scale is four clean steps.
And the overview's title was 24px where every other settings page is 22px.

Shadows were counted too and left alone: all seven are on controls — a
toggle knob, segmented-control selection, a tooltip — not stacked on
cards, which is the pattern worth removing.
2026-08-29 21:03:44 +08:00
Bingxi Zhao (Frank)
f76c37cf9f fix(settings): restore what the removed hub carried, and the narrow layout
Auditing the refactor against the old surface turned up one thing it had
genuinely dropped and several it had thinned out.

The navigator is hidden below `md`, and the breadcrumb went with the
refactor — so on a phone, landing on a settings page left no way to reach
any other one. A compact native select now carries the same map there.

Three things the deleted hub and sub-hub grids used to show came back:

- Each model service's state. The sub-hub tiles had a four-way chip —
  test passed / test failed / configured / not set — and only "failed"
  survived, as a dot in the navigator. The overview lists all seven
  services with that chip plus what each one actually resolves to, which
  is more than the tiles said.
- The browser-facing API base, previewed on the old Network card. It is
  the first thing to check on a Docker or LAN install.
- The one-line description under each page name, now the row's tooltip.

The tour copy still described blocks on a hub that no longer exists.

Also fixes a pre-existing break the audit surfaced rather than caused:
the profile list and the editor beside it were a hard two-column grid
with no breakpoint, so every model settings page overflowed its container
on a phone with fields cut off mid-input. They stack now.
2026-08-29 20:52:23 +08:00
Bingxi Zhao (Frank)
af2c225c73 refactor(settings): persistent navigator, searchable, one click to any page
Settings was a folder tree. The hub listed seven categories, four of them
opened a second grid, and the page you wanted was the third click — then
changing something in another category meant climbing back to the root,
because a breadcrumb was the only navigation on the page. Two dozen pages
and no search.

Now there is one persistent column listing every page, with the current
one marked, and a filter over it. Every comparable product — VS Code,
Slack, GitHub, Stripe, Dify, Open WebUI — keeps the map on screen; this
one hid it behind the route you happened to be on.

Consequences:

- The three sub-hubs (models, chat, agents) were grids that only repeated
  those links, so they redirect to their first page. The routes stay
  bookmarkable.
- The breadcrumb is gone: the column shows where you are, and a trail
  ending in the page title directly above the page title said one thing
  twice.
- `/settings` was a directory of the seven categories. It answers "what
  state am I in" instead: how many model services are set up, what needs
  attention (a draft waiting, a service that failed its last test), what
  is actually in use, and what is still unconfigured.
- The guided tour walked the hub blocks, which no longer exist; it walks
  the navigator, which is present on every route.

Two things surfaced along the way. Antigravity CLI is a supported
subagent everywhere else — backend kind, icon, label, its own settings
page — but was missing from the nav, so that page was reachable only by
typing the URL; Gemini CLI is retired and this is what replaced it.
And deleting a provider profile took its key and every model under it
with no confirmation, from a control sitting one hairline below the list
you click through to switch profiles; it asks first now.
2026-08-29 20:36:54 +08:00