refactor(webui): use native link actions and remove website previews (#6391)

* refactor(webui): remove website previews and custom link menus

* docs(webui): focus guide on product-specific usage
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 16:34:54 +08:00
1 parent bc5c58d239
commit 08ca3b4525
42 files changed
+179 -1493

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ describe("shared file icons", () => {
const open = vi.fn();
render(<>
<FileReferenceChip path={path} onOpen={open} />
<PreviewPane tabs={[{ id: path, kind: "file", value: path }]} activeId={path}
<PreviewPane tabs={[{ id: path, value: path }]} activeId={path}
width={544} isClosing={false} onSelect={() => {}} onCloseTab={() => {}}
onClose={() => {}} onResizeStart={() => {}}><p>Preview</p></PreviewPane>
<AttachmentTile attachment={{ kind: "file", name: path, url: `/download/${path}` }} />