20 Commits

Author SHA1 Message Date
Antonio-Faure
75636f0735 perf(web): improve knowledge-base and settings accessibility and payload (#3139)
* fix(web): refine knowledge and settings accessibility and layout

Name row controls from their visible titles, portal tooltip descriptions out of tablists, and make the knowledge tabs keyboard-complete. Also stack the KB master-detail on phones, add a section-scroll hint, demote the indexing diagnostic to its detail tab, and consolidate the knowledge type scale.

* perf(web): cut knowledge and settings payload

Serve raster engine marks through next/image, stop preloading the serif face on pages that do not use it, and prefetch settings routes only on hover or keyboard focus instead of on first paint.

* docs(perf): record knowledge and settings audit

Document the protocol, baseline and after medians, payload and accessibility results, limits, and reproduction commands, with mobile before/after screenshots.

* test(web): match the model row's visible accessible name

The row no longer overrides its name with a provider-first aria-label; select it by the model-first text a screen reader now reads, which also contains the visible default/task badge.

* fix(web): keep the MinerU download-type name in the locale catalog

Reuse the existing Download models and Type strings instead of introducing a new t() literal, so the strict i18n audit stays green.

* docs(perf): link the UI audit from the handbook index

The docs contract requires every guide under docs-for-dev to be reachable from README.md.

* docs(perf): record the isolated knowledge-detail LCP

Re-measured the detail route with the host pinned away from unrelated work; the 668 ms row was contention, while the isolated median is 568 ms and the stable repeats overlap the baseline.

---------

Co-authored-by: Antonio-Faure <209759495+Antonio-Faure@users.noreply.github.com>
2026-12-01 17:12:12 +08:00
evan188199-tech
da65a29e54 fix(web): dedicated voice nav key and bilingual settings search (#2134) 2026-11-09 17:46:38 +08:00
evan188199-tech
a312b26515 fix(web): move settings nav copy into locale catalogs (#2134) 2026-11-09 17:17:41 +08:00
d41sys
9ddbb92c36 feat: add Vietnamese localization 2026-10-30 02:28:18 +01:00
Bingxi Zhao (Frank)
f0146a2a9e Polish settings UI and localize provider brand labels 2026-10-07 21:30:50 +08:00
Bingxi Zhao (Frank)
d2810c2812 Replace forwarded link titles with accessible tooltips 2026-09-27 10:41:33 +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
Bingxi Zhao (Frank)
6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
2026-09-02 04:09:11 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +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)
58271301b4 Merge pull request #1129 from evan188199-tech/codex/feat-guardian-account-ui
# Conflicts:
#	deeptutor/multi_user/guardians.py
#	deeptutor/multi_user/router.py
#	tests/multi_user/conftest.py
#	tests/multi_user/test_guardians.py
#	web/lib/settings-nav.ts
2026-08-31 22:07:03 +08:00
Bingxi Zhao (Frank)
cc52496e96 Merge pull request #1126 from evan188199-tech/codex/feat-learner-self-profile-v2
# Conflicts:
#	deeptutor/multi_user/identity.py
#	tests/multi_user/test_learner_profile.py
2026-08-31 20:50:37 +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)
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