Files
dbx/apps
Abeautifulsnow 1cfb39a7b0 fix(ai): restore global reasoning toggle accidentally reverted by d90847bb
fix(ai): restore global reasoning toggle accidentally reverted by d90847bb

Commit 09f9e446 replaced per-message expandedReasoning (Set<number>) with
a global reasoningExpanded boolean ref, defaulting to collapsed so all
messages share the same toggle state. This avoided the flip-flop where
reasoning auto-expanded during streaming and collapsed afterward.

Commit d90847bb (SQL file references) inadvertently reverted this when
resolving merge conflicts during its large template restructure.

Changes:
- Replace expandedReasoning (Set<number>) with reasoningExpanded (ref(false))
- Replace per-index toggleReasoning(i) with global toggleReasoning()
- Template uses reasoningExpanded instead of expandedReasoning.has(i) || msg.isThinking
@
2026-07-09 13:17:23 +08:00
..
2026-05-18 02:50:50 +08:00

Apps

Runnable DBX applications live here.

Directories

  • desktop/ - the Vue frontend used by the Tauri desktop app and the Docker/web build.

The Tauri native shell remains in src-tauri/ because that is the conventional Tauri project location used by the existing build and release tooling.