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:
1 parent
bc5c58d239
commit
08ca3b4525
42 files changed
+179
-1493
No files matched your search
@@ -92,7 +92,7 @@ describe("FilePreviewPanel", () => {
|
||||
});
|
||||
const store = new FilePreviewStore();
|
||||
const resource = createFilePreviewResource(path => fetchFilePreview("test", "a", path));
|
||||
store.open("a", "file", "reports/REPORT.md");
|
||||
store.open("a", "reports/REPORT.md");
|
||||
function View() {
|
||||
const { state, openFile, resolveFile, selectTab, closeTab, close } = useFilePreviewState("a", store);
|
||||
const active = state.tabs.find(tab => tab.id === state.activeId)!;
|
||||
|
||||
Reference in new issue
Block a user