diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5df8fd6c..05c7178b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: check-latest: true - name: Setup cache - uses: actions/cache@v2 + uses: actions/cache@v4.2.0 id: cache with: path: | @@ -57,7 +57,7 @@ jobs: node-version: ${{ matrix.node }} - name: Setup cache - uses: actions/cache@v2 + uses: actions/cache@v4.2.0 with: path: | node_modules @@ -92,7 +92,7 @@ jobs: node-version: ${{ matrix.node }} - name: Setup cache - uses: actions/cache@v2 + uses: actions/cache@v4.2.0 id: cache with: path: | @@ -122,7 +122,7 @@ jobs: node-version: ${{ matrix.node }} - name: Setup cache - uses: actions/cache@v2 + uses: actions/cache@v4.2.0 id: cache with: path: | diff --git a/modules/editor/Editor.tsx b/modules/editor/Editor.tsx index 35f01680..0ea34007 100644 --- a/modules/editor/Editor.tsx +++ b/modules/editor/Editor.tsx @@ -48,6 +48,21 @@ const JavaScriptWarning = styled.noscript` line-height: 1.375; ` +const MigrateNotice = styled.div` + display: block; + + margin-bottom: 16px; + padding: 0px 16px; + border-radius: 4px; + + border: 2px solid ${({ theme }) => theme.accent.primary}; + background: ${({ theme }) => transparentize(0.75, theme.accent.primary)}; + + color: ${({ theme }) => theme.header.primary}; + font-weight: 500; + line-height: 1.375; +` + export function Editor() { const editorManager = useRequiredContext(EditorManagerContext) @@ -91,6 +106,46 @@ export function Editor() { } /> + +

+ Hey! Discohook is moving to discohook.app. You can view the current + message on the new domain{" "} + { + open(`https://discohook.app/${location.search}`, "_blank") + }} + > + by clicking here + + . If you can't access it, please{" "} + + let us know + + ! +

+

+ + Read More + {" "} + •{" "} + + Migrate Backups + +

+
spawnBackupsModal()}> Backups