diff --git a/client/src/components/Page/constants.ts b/client/src/components/Page/constants.ts index 24bc7c8e9a7..10d6ca74a10 100644 --- a/client/src/components/Page/constants.ts +++ b/client/src/components/Page/constants.ts @@ -8,6 +8,9 @@ * * Change strings here to rename across the entire UI. */ +import type { IconDefinition } from "@fortawesome/fontawesome-svg-core"; +import { faBook, faFileContract } from "@fortawesome/free-solid-svg-icons"; + import type { PageEditorMode } from "@/stores/pageEditorStore"; /** Per-mode labels used by the page editor, history page list, chat panel, etc. */ @@ -16,6 +19,7 @@ export const PAGE_LABELS: Record< { entityName: string; entityNamePlural: string; + titleIcon: IconDefinition; defaultTitle: string; editorBackLabel: string; newButton: string; @@ -30,6 +34,7 @@ export const PAGE_LABELS: Record< history: { entityName: "Galaxy Notebook", entityNamePlural: "Galaxy Notebooks", + titleIcon: faBook, defaultTitle: "Untitled Notebook", editorBackLabel: "This History's Notebooks", newButton: "New Notebook", @@ -44,6 +49,7 @@ export const PAGE_LABELS: Record< standalone: { entityName: "Report", entityNamePlural: "Reports", + titleIcon: faFileContract, defaultTitle: "Untitled Report", editorBackLabel: "Back to Reports", newButton: "Create Report", @@ -56,6 +62,7 @@ export const PAGE_LABELS: Record< invocation: { entityName: "Invocation Report", entityNamePlural: "Invocation Reports", + titleIcon: faFileContract, defaultTitle: "Untitled Invocation Report", editorBackLabel: "This Invocation's Reports", newButton: "New Invocation Report", diff --git a/client/src/components/PageEditor/HistoryPageView.vue b/client/src/components/PageEditor/HistoryPageView.vue index b10cdfa7461..413238fcfcb 100644 --- a/client/src/components/PageEditor/HistoryPageView.vue +++ b/client/src/components/PageEditor/HistoryPageView.vue @@ -159,7 +159,6 @@ function handleBack() { diff --git a/client/src/components/PageEditor/PageDisplayOnly.vue b/client/src/components/PageEditor/PageDisplayOnly.vue index a308021c04e..24002e285b4 100644 --- a/client/src/components/PageEditor/PageDisplayOnly.vue +++ b/client/src/components/PageEditor/PageDisplayOnly.vue @@ -1,17 +1,13 @@ + + + + diff --git a/client/src/components/PageEditor/PageEditorView.vue b/client/src/components/PageEditor/PageEditorView.vue index 748ff5ccad7..52f758b548c 100644 --- a/client/src/components/PageEditor/PageEditorView.vue +++ b/client/src/components/PageEditor/PageEditorView.vue @@ -187,7 +187,6 @@ function handleRevisionRestore(revisionId: string) { @@ -209,9 +208,7 @@ function handleRevisionRestore(revisionId: string) {