Files
DeepTutor/docs-for-dev
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
..

DeepTutor developer and agent handbook

Start here to install, diagnose, or change DeepTutor. This handbook describes the 1.7.0 source tree; use the documentation from the same tag when working on another release. The version authority is deeptutor/__version__.py. Commands below run from the repository root unless a page says otherwise.

Choose a reading path

Your task Read in order Completion evidence
Install and configure the app Agent setup → Storage Dependencies, module readiness, actual model response, reachable app
Fix an existing installation Setup troubleshooting → the relevant topic below Original failing action works in the same instance and workspace
Develop a change Development → Architecture → Testing Focused regression and applicable project checks
Add or complete a UI language Languages → Testing Catalog parity, typecheck, locale and surface tests
Add a tool or capability Tool and capability contracts → Modules Registration, availability, execution and terminal-result tests
Build a third-party extension Plugins → Runnable Learning Echo example Wheel, manifest, approval, worker and frontend checks
Investigate streaming or memory Events and progress → Runtime design Persistence/replay and cancellation evidence
Deploy or upgrade Modules → Containers → Storage Matching versions, retained data, readiness and a representative turn

For a terminal-capable agent, read this index, AGENTS.md, and the task's guide before editing. SKILL.md is the compact CLI reference. Inspect the checkout, working-tree changes, Python environment and runtime home before following an example. Keep existing user data and credentials separate from disposable test fixtures. Diagnose a failing installation before deciding to reinstall it.

Topic map

Runtime and extension development

Storage, deployment and feature contracts

Keeping this handbook useful

Keep one canonical page for each contract and link to it. Each topic should point to its implementation owners or regression tests. Update affected examples when commands, routes, ownership or storage change; generated schemas and module manifests take precedence over prose. Record what a check proves, including provider/network or platform limits.

Keep task plans, one-off test counts, screenshots, private paths, downloaded reference repositories and unrelated product research out of this handbook. Use PRs or local ignored output for execution evidence. A design proposal is not current behavior until its implementation can be located and verified.