MessageWeave/web
anonsaber da46a8fd4c ui: clarify ambiguous SPA config copy (readback, save feedback, LLM toggle)
Four copy fixes on the SPA configuration page (web/index.html +
web/config.js). All string-only except one 1-line status override
in the runtime save handler.

1. Callout: "Business configuration is not read from the server" ->
   "Business configuration is encrypted in Redis". The old text
   contradicted GET /api/business-config, which reads non-secret
   fields back. New copy states secrets are not echoed but non-secret
   fields are read back; the first save must include all required
   secrets.

2. Save feedback: after saving runtime parameters the status line
   reused runtime.loaded ("read from Redis"), which is wrong for a
   save. Added runtime.savedState ("Saved and applied successfully.")
   and set it in the save handler. Dropped the stale "business
   config still needs manual filling" sentence from runtime.readToast,
   which also contradicted readback.

3. LLM toggle: "Allow network calls" -> "Enable LLM outbound
   requests"; the hint now states no LLM client is initialized and
   the bot calls no external model service when off.

4. All fixes applied to both zh and en dictionaries and to the HTML
   English fallback defaults for consistency.

GATE-DOCS 6/6 PASS. No src/, cloudflare-worker/, or docs/ changes.
2026-10-10 17:02:34 +08:00
..
config.js ui: clarify ambiguous SPA config copy (readback, save feedback, LLM toggle) 2026-10-10 17:02:34 +08:00
config.test.mjs feat: reject stale business-config submits with a 409 2026-09-30 02:56:15 +08:00
index.html ui: clarify ambiguous SPA config copy (readback, save feedback, LLM toggle) 2026-10-10 17:02:34 +08:00
styles.css ui: drop the build-version display and fix the callback card 2026-10-01 11:17:50 +08:00