Skip to content

Improvement: Move data notice onto the last chat message with dismiss option #2786

Closed

Description

@yannickmonney

Problem

The data / confidentiality notice sits in the composer footer. It should live on the last chat message instead, with an inline control to stop showing it.

Current behaviour

  • DataNoticeFooter (services/platform/app/features/governance/components/data-notice-footer.tsx) renders muted icon + text from useDataClassificationNotice.
  • Mounted near the composer in chat-input.tsx (and other risk surfaces per the component doc).
  • Advisory only — no acknowledgment gate today; org policy via data_classification_notice / dataNoticeConfigSchema (lib/shared/schemas/governance.ts).
  • Default copy in messages/en.json (dataNotice.default — “AI can make mistakes…”). Related flash bug Bug: "AI can make mistakes" notice flashes for ~300ms then disappears after page load #2376 is closed and separate.

Proposed change

  • When a thread has messages, render the notice inline on the last assistant/user message (product decision: prefer last visible message in the thread), not as a persistent composer footer.
  • Add an inline dismiss control (“Don’t show again” / equivalent) that persists per user (or per org+user — pick the lightest existing preference store) so the notice stays hidden after dismiss.
  • Respect org enabled / custom message; if the org disables the notice, nothing shows.
  • Empty-state / no-thread behaviour: keep current product rule (design note in design/sources/session-ux-changes.md — hidden on empty chat) unless UX says otherwise.

Acceptance criteria

  • Notice appears on the last chat message when enabled and not dismissed; not as a sticky composer footer in active threads.
  • Inline control dismisses the notice and it does not return on reload for that user (until preference cleared / policy changes if applicable).
  • Org-disabled notice still shows nothing.
  • Keyboard accessible dismiss control with visible focus; localized strings in en/de/fr (+ de-CH overlay if needed).
  • Other non-chat risk surfaces (upload/prompt/webhook) either keep a footer or get a deliberate follow-up — document the choice in the PR.

Affected service

Platform (web app)

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 30, 2026
    3e0b249
  3. added 4 commits that reference this issue on Oct 30, 2026
    ec7ea5e
    6f0dcf7
    f69bc1d
    5e3e07a
  4. tale-code-bot commented on Oct 31, 2026

    @tale-code-bot
    Collaborator

    Landed on the feature line: feature train #5184 merged into release/0.6 on 2026-10-31 by rebase, and this issue's change is commit 5e3e07a (feat(platform): show the data notice on the last chat message, task TALE-15). It ships with Tale 0.6.0. GitHub closes an issue only for a commit on main, so the feature-train role closes it here.

  5. added 5 commits that reference this issue on Oct 31, 2026
    a85a13c
    678c89e
    f3950c8
    b9ea0cd
    eb57589
  6. 2 remaining items

  7. added 13 commits that reference this issue on Nov 2, 2026
    1252330
    214f782
    bd92977
    8adb244
    14f3c79
    102f823
    d763951
    ebd13b7
    307548e
    f3b7a85
    4b3a501
    83233d9
    69e1b1a
  8. added a commit that references this issue on Nov 15, 2026
    487da02
  9. added a commit that references this issue on Nov 23, 2026
    b7c52b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions