Skip to content

bug(platform): a shared chat link that fails to load says the chat is "no longer available", with no retry #4535

Closed

Description

@yannickmonney

Summary

When a shared chat link fails to load for any reason other than "not found", the page says the chat is gone. The reasons include a dropped connection, a server error or a lapsed session. The page offers no way to retry.

services/platform/app/lib/backend/chat.ts:953–972 (sharedThreadQuery) turns a 404 into null and re-throws every other error. services/platform/app/features/chat/components/shared-chat-view.tsx then handles both cases the same way:

if (sharedQuery.isError || shared == null) {
  return <Alert variant="destructive" description={t('share.notFound')} />;
}

chat.share.notFound says "This shared chat is no longer available." (de "Dieser geteilte Chat ist nicht mehr verfügbar.", fr "Ce chat partagé n'est plus disponible."). The component comment explains why an unknown or taken-down link should read like a never-shared one, and that part is right. But a reader whose request merely failed is told, permanently, that the chat was withdrawn. There is no Try again, so the only recovery is a manual reload, and the message gives no reason to try one.

Other pages show a failed read as a failed read: "Couldn't load …" with Try again. Examples are the Home lists (home-panel.tsx onRetry), account teams and passkeys, the model endpoints page and the governance competences list.

Expected and observed

  • Expected: a 404 keeps "This shared chat is no longer available." Any other failure says the chat couldn't be loaded, ideally with the shared failure wording (failureDetail, for example "connection lost"), and offers Try again, which refetches the share.
  • Observed: every failed read, transient ones included, shows the "no longer available" alert with no recovery.

Severity

Low (UX-CLARITY, REL-MANUAL on chat.shared). Someone opening a colleague's link on a flaky connection is told the share was removed, and is likely to ask the sharer to share it again.

Acceptance checks

  1. Failed read: a jsdom test fails the share request with a network error, then a 500, and asserts a failed-read message (not share.notFound) and a Try again button that refetches. A 404 still shows share.notFound.
  2. Locales: the new failed-read wording (or the reused shared keys) exists in en, de and fr. de-CH needs an override only if the German text contains "ß".

Limits

  • Static: source and catalogs at main 7efc00a5c5d04a8f4257483556a2602c63d86ce8. The page wasn't opened, and no request was failed live.
  • Not checked: what a 403 (a member of another organization) should say. That probably stays "not available", like a 404.
  • Dedupe: none of the 241 open items covers it.

Found by TALE-358 Review A (product and experience: UX-CLARITY, REL-MANUAL), occurrence 2026-10-08 12:15 Europe/Zurich, run ae34ddf0-201f-4f58-8f22-5650af70dca7, during the oldest-due UX-CLARITY slice (chat.shared).

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 30, 2026
    a6fa9be
  3. added a commit that references this issue on Oct 30, 2026
    309b1b4
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-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions