diff --git a/admin/src/App.tsx b/admin/src/App.tsx index edee6b959..6ab2cabd3 100644 --- a/admin/src/App.tsx +++ b/admin/src/App.tsx @@ -46,7 +46,7 @@ const apiClient = createHttpClient(config.apiUrl); const categories: AllCategories = [ { category: "MainNavigation", - label: , + label: , }, ]; diff --git a/admin/src/Routes.tsx b/admin/src/Routes.tsx index fc112f08d..2fd0882fd 100644 --- a/admin/src/Routes.tsx +++ b/admin/src/Routes.tsx @@ -17,7 +17,7 @@ import { ProductsPage } from "./products/ProductsPage"; const categories: AllCategories = [ { category: "MainNavigation", - label: , + label: , }, ]; diff --git a/admin/src/common/MasterMenu.tsx b/admin/src/common/MasterMenu.tsx index 7f4fdcc74..9bc0c8525 100644 --- a/admin/src/common/MasterMenu.tsx +++ b/admin/src/common/MasterMenu.tsx @@ -26,36 +26,33 @@ export const MasterMenu: React.FC = () => { return ( } to={`${match.url}/dashboard`} /> } to={`${match.url}/pages/pagetree/main-navigation`} /> - } - > + }> } to={`${match.url}/assets`} /> - }> + }> diff --git a/admin/src/common/blocks/LinkBlock.tsx b/admin/src/common/blocks/LinkBlock.tsx index 3764f963e..2b8cfa99d 100644 --- a/admin/src/common/blocks/LinkBlock.tsx +++ b/admin/src/common/blocks/LinkBlock.tsx @@ -6,6 +6,6 @@ import { FormattedMessage } from "react-intl"; export const LinkBlock: BlockInterface = createOneOfBlock({ supportedBlocks: { internal: InternalLinkBlock, external: ExternalLinkBlock }, name: "Link", - displayName: , + displayName: , allowEmpty: false, }); diff --git a/admin/src/dashboard/LatestBuilds.tsx b/admin/src/dashboard/LatestBuilds.tsx index 36206b6bd..d1c170a9e 100644 --- a/admin/src/dashboard/LatestBuilds.tsx +++ b/admin/src/dashboard/LatestBuilds.tsx @@ -41,7 +41,7 @@ export const LatestBuilds: React.FC = () => { columns={[ { name: "runtime", - header: intl.formatMessage({ id: "comet.dashboard.latestBuilds.runtime", defaultMessage: "Runtime" }), + header: intl.formatMessage({ id: "dashboard.latestBuilds.runtime", defaultMessage: "Runtime" }), render: (row) => ( { }, { name: "status", - header: intl.formatMessage({ id: "comet.dashboard.latestBuilds.status", defaultMessage: "Status" }), + header: intl.formatMessage({ id: "dashboard.latestBuilds.status", defaultMessage: "Status" }), render: (row) => { return {row.status}; }, diff --git a/admin/src/dashboard/LatestContentUpdates.tsx b/admin/src/dashboard/LatestContentUpdates.tsx index bcff8b62d..46d4dda1d 100644 --- a/admin/src/dashboard/LatestContentUpdates.tsx +++ b/admin/src/dashboard/LatestContentUpdates.tsx @@ -71,11 +71,11 @@ export const LatestContentUpdates: React.FC = () => { columns={[ { name: "pageTreeNode.name", - header: intl.formatMessage({ id: "comet.dashboard.latestContentUpdates.name", defaultMessage: "Page Name" }), + header: intl.formatMessage({ id: "dashboard.latestContentUpdates.name", defaultMessage: "Page Name" }), }, { name: "updatedAt", - header: intl.formatMessage({ id: "comet.dashboard.latestContentUpdates.updatedAt", defaultMessage: "Updated At" }), + header: intl.formatMessage({ id: "dashboard.latestContentUpdates.updatedAt", defaultMessage: "Updated At" }), render: (row) => (
diff --git a/admin/src/documents/links/EditLink.tsx b/admin/src/documents/links/EditLink.tsx index 3894db055..e5cd3f295 100644 --- a/admin/src/documents/links/EditLink.tsx +++ b/admin/src/documents/links/EditLink.tsx @@ -79,7 +79,7 @@ export const EditLink: React.FC = ({ id }) => { { return intl.formatMessage({ - id: "comet.editPage.discardChanges", + id: "editPage.discardChanges", defaultMessage: "Discard unsaved changes?", }); }} @@ -105,7 +105,7 @@ export const EditLink: React.FC = ({ id }) => { - + {rootBlocksApi.content.adminUI} diff --git a/admin/src/documents/links/Link.tsx b/admin/src/documents/links/Link.tsx index 42a8f508c..9f4ece8f2 100644 --- a/admin/src/documents/links/Link.tsx +++ b/admin/src/documents/links/Link.tsx @@ -9,7 +9,7 @@ import { FormattedMessage } from "react-intl"; import { EditLink } from "./EditLink"; export const Link: DocumentInterface, GQLLinkInput> = { - displayName: , + displayName: , editComponent: EditLink, menuIcon: LinkIcon, getQuery: gql` diff --git a/admin/src/documents/pages/EditPage.tsx b/admin/src/documents/pages/EditPage.tsx index 7e1a6bba3..84c6611e6 100644 --- a/admin/src/documents/pages/EditPage.tsx +++ b/admin/src/documents/pages/EditPage.tsx @@ -108,7 +108,7 @@ export const EditPage: React.FC = ({ id, category }) => { message={(location) => { if (location.pathname.startsWith(match.url)) return true; //we navigated within our self return intl.formatMessage({ - id: "comet.editPage.discardChanges", + id: "editPage.discardChanges", defaultMessage: "Discard unsaved changes?", }); }} @@ -140,7 +140,7 @@ export const EditPage: React.FC = ({ id, category }) => { }} color="info" > - + {pageSaveButton} @@ -153,12 +153,12 @@ export const EditPage: React.FC = ({ id, category }) => { key: "content", label: ( - + ), content: ( {rootBlocksApi.content.adminUI} @@ -168,7 +168,7 @@ export const EditPage: React.FC = ({ id, category }) => { key: "config", label: ( - {" "} + {" "} ), content: rootBlocksApi.seo.adminUI, diff --git a/admin/src/documents/pages/Page.tsx b/admin/src/documents/pages/Page.tsx index bd402bb5f..878a46486 100644 --- a/admin/src/documents/pages/Page.tsx +++ b/admin/src/documents/pages/Page.tsx @@ -10,7 +10,7 @@ import { SeoBlock } from "./blocks/SeoBlock"; import { EditPage } from "./EditPage"; export const Page: DocumentInterface, GQLPageInput> = { - displayName: , + displayName: , editComponent: EditPage, menuIcon: File, hideInMenuIcon: FileNotMenu, diff --git a/admin/src/pages/dashboard/Dashboard.tsx b/admin/src/pages/dashboard/Dashboard.tsx index 425b78596..6aca4b2b2 100644 --- a/admin/src/pages/dashboard/Dashboard.tsx +++ b/admin/src/pages/dashboard/Dashboard.tsx @@ -48,30 +48,28 @@ export const Dashboard: React.FC = () => { const { data } = useQuery(currentUserQuery); return ( - +
{data ? ( ) : ( - + )}
- } - > + }> {process.env.NODE_ENV !== "development" && ( - }> + }> )}