fix(ui): bring the overseas AI line back on the Answer home, centred
User description
Summary
- Before: since #3598 the Answer home had no line saying where a question goes. The line only showed under each answer.
- After: the Answer home shows the same line again, centred under the home content to match the line under each answer. It only appears in Answer mode, never in demo mode, and the composer does not move.
- Both places use the one shared wording, so when #3605 shortens it to "Sent to OpenAI overseas. Don't include patient details." the home picks that up too. This PR does not touch the wording.
- Decision recorded in
docs/decisions/2026-10-17-overseas-line-centred-on-answer-home.md. The earlier removal record is marked superseded.
Areas touched: App experience, Knowledge and records
Verification
- Checks run:
npx vitest run tests/answer-provider-notice.dom.test.tsx:Tests 2 passed (2)npm run check:decisions:136 entries, 1 full records, 0 errors, 0 warnings- Prettier and ESLint on changed files: clean
- Browser checks: left to CI.
Risk and rollout
- Risk: low. One display line on the Answer home.
- Rollback: revert this PR.
- Provider or production effects: None
Notes
Owner chose "Bring it back restyled" in the project thread on 17 Oct 2026.
Generated by Claude Code
Summary by cubic
Brings the overseas AI line back to the Answer home so users see where their question goes before sending it. The line disappeared in #3598 and only showed under each answer.
The line is centred below the home content and only appears in Answer mode, never in demo mode, so the composer does not move. The home and its line share one canvas grid item, so tall desktop windows cannot split them into two stretched rows. Both places use the one shared wording from answer-provider-notice.tsx, so the shortened wording from #3605 applies on the home too. Records the decision and marks the earlier removal record as superseded.
CodeAnt-AI Description
Bring back the overseas AI notice on the Answer home
What Changed
- The Answer home now shows a centred notice explaining that questions go to OpenAI overseas and asking users not to include patient details.
- The notice also appears under answers, uses the same wording in both places, and is hidden in demo mode.
Impact
✅ Clearer overseas processing disclosure before asking
✅ Patient-detail warning before the first question
💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
@codeant-ai ask: Your question here
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
@codeant-ai ask: Can you suggest a safer alternative to storing this secret?
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
@codeant-ai: Your feedback here
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
@codeant-ai: Do not flag unused imports.
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
@codeant-ai: review
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.
Summary by CodeRabbit
- New Features
- The provider notice now appears centered beneath the content on the Answer home, before the first question. It continues to appear beneath the latest answer, keeping the notice visible in both places.