From 396ac980a8bd5b22fb22c2aba3e733c46ce74733 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 1 Aug 2026 16:29:25 -0400 Subject: [PATCH] Show search highlight chip on shared documents (#13227) Co-authored-by: Claude Opus 5 (1M context) --- app/scenes/Document/components/SharedHeader.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/scenes/Document/components/SharedHeader.tsx b/app/scenes/Document/components/SharedHeader.tsx index 9889eb124b..dc797c5f59 100644 --- a/app/scenes/Document/components/SharedHeader.tsx +++ b/app/scenes/Document/components/SharedHeader.tsx @@ -35,6 +35,7 @@ import TableOfContentsMenu from "~/menus/TableOfContentsMenu"; import type Document from "~/models/Document"; import { documentEditPath } from "~/utils/routeHelpers"; import PublicBreadcrumb from "./PublicBreadcrumb"; +import { SearchHighlightChip } from "./SearchHighlightChip"; type Props = { document: Document; @@ -180,6 +181,7 @@ function SharedDocumentHeader({ document }: Props) { } actions={ <> + {hasHeadings && !isMobile && !tocInLeft && {toc}} {allowSubscriptions !== false && !user && env.EMAIL_ENABLED && (