Skip to content

fix(chat): hide the three Chat settings that don't do anything yet - #1903

Merged
gkhngyk merged 2 commits into
ansvisor:mainfrom
cihan-gyk:fix/chat-settings-hide-unused
Oct 31, 2026
Merged

gkhngyk merged 2 commits into
ansvisor:mainfrom
cihan-gyk:fix/chat-settings-hide-unused

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Chat Settings showed Answer language, Notify me when an agent needs me and Show "Thought for N s". They were saved but nothing read them: Chat answers in the question's language, no e-mail is sent when an agent waits, and no thinking time is shown. They're hidden until they work. Stored values, schema and en.json strings stay, and a comment marks where they come back.

The owner's decisions (2026-10-31): Chat keeps answering in the question's language by default, and a fixed language becomes an option later. The agent-needs-you e-mail comes soon after the agent work.

  • help/chat/chat-settings.md: the three settings removed, and the menu sentence made general (approved: false).

Related issue

None. Found while checking the Help articles against the product (2026-10-31).

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Set CHAT_AGENTIC=true and open Chat › Settings: the three settings aren't there.
  2. chat-settings.test.tsx: a new test checks they don't render.

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • yarn lint passes (0 errors; 7 old warnings in files this PR doesn't touch)
  • yarn typecheck passes
  • yarn format:check passes
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change)

All six small fixes of 2026-10-31 were checked together on one merge of their branches. The web full run passed except the known date case (chat-menu, fixed by #1876) and an editor test that timed out under load; that test passes alone. yarn build passes. The server full run passed except two timing tests, which also pass alone.

🤖 Generated with Claude Code

Answer language, "Notify me when an agent needs me" and "Show Thought for
N s" were saved on the person but nothing read them: Chat answers in the
question's language, and no notification or reasoning summary follows the
picks. Chat Settings no longer shows them until they are wired up; their
saved values, the schema and their messages stay, with a comment where
they were.

The Help article drops the three settings and no longer names where
Settings sits in the chat menu, which is about to change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, approving as is.

What I checked

  • Nothing reads the three settings: on main, answer_language, notify_via and show_thought only show up in general-settings.ts (where they're read and written), the Settings page, the generated types and 00408. The Chat engine, the run UI, the server and the Edge functions never read them, and nothing draws a "Thought for N s" line. Hiding them is right.
  • Stored values stay: saving is patch-based. generalPatchRow writes only the keys the patch carries, so a Default mode or "Open Chat on every page" change leaves the hidden columns as they are, and readChatGeneral still reads them. No schema change.
  • Gating unchanged: generalPatchRefusal (role, Full auto lock, Slack) and the page's access read are untouched. A reader still gets no Default mode, and the new test checks that the switch is still there for a reader.
  • Help: the article now names only what the page shows, and no other article or doc mentions the hidden settings. The chatSettings.language/notify/thought keys in en.json stay for when the settings come back. Nothing checks for unused keys, so that's fine.

Tests: merged with current main, I ran vitest on chat settings, general-settings, chat-prefs, the chat pages, chat-menu and help: 9 files, 83 tests, all pass. tsc --noEmit is clean, and eslint and prettier are clean on the changed web files.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging in order with the other approved PRs. This head merges current main; its tree is what main will be after this squash, checked with the full server and web suites, tsc, lint, format and next build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants