From 7f4344136737c818ed26f07074ff0960aed6f1ac Mon Sep 17 00:00:00 2001 From: Flamur Veliqi Date: Mon, 23 Feb 2026 13:25:41 +0100 Subject: [PATCH] nx-webmail: redesign login and force fullscreen webmail --- nx-webmail/README.md | 4 +- nx-webmail/docker-compose.yml | 2 +- nx-webmail/src/components/Webmail.jsx | 41 ++----- nx-webmail/src/styles/webmail.css | 163 +++++++++----------------- nx-webmail/umbrel-app.yml | 4 +- 5 files changed, 70 insertions(+), 144 deletions(-) diff --git a/nx-webmail/README.md b/nx-webmail/README.md index 91113b5..7d70000 100644 --- a/nx-webmail/README.md +++ b/nx-webmail/README.md @@ -30,7 +30,7 @@ Umbrel installation is most reliable when your app uses a prebuilt image from a - `git.weektab.org/nexus/nx-webmail:latest` 3. The workflow then pins `nx-webmail/docker-compose.yml` to `tag@sha256:digest` automatically. 4. Manual fallback: - docker buildx build --platform linux/amd64,linux/arm64 -t git.weektab.org/nexus/nx-webmail:1.0.2 --push . + docker buildx build --platform linux/amd64,linux/arm64 -t git.weektab.org/nexus/nx-webmail:1.0.3 --push . ## Umbrel app packaging @@ -55,7 +55,7 @@ This repository is prepared for Umbrel app-store usage. Notes: - Umbrel uses the `app_proxy` service in `docker-compose.yml`. - Internal app port is `3001`. -- `server` uses a prebuilt registry image (`git.weektab.org/nexus/nx-webmail:1.0.2`). +- `server` uses a prebuilt registry image (`git.weektab.org/nexus/nx-webmail:1.0.3`). - If your store prefix changes, update `id` in `umbrel-app.yml` and `APP_HOST` in `docker-compose.yml`. ## Notes diff --git a/nx-webmail/docker-compose.yml b/nx-webmail/docker-compose.yml index f36be45..841935b 100644 --- a/nx-webmail/docker-compose.yml +++ b/nx-webmail/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 3001 server: - image: git.weektab.org/nexus/nx-webmail:1.0.2@sha256:3ab2ab8c21bee911963254218dee65726df9579d5445a2063e16908a55d5c9e5 + image: git.weektab.org/nexus/nx-webmail:1.0.3@sha256:78bcd3b7b8589fbcee065b0cdcc196907a98f747e7680e48f3cefd66478cbe3a init: true restart: on-failure stop_grace_period: 1m diff --git a/nx-webmail/src/components/Webmail.jsx b/nx-webmail/src/components/Webmail.jsx index 9a38252..d57e895 100644 --- a/nx-webmail/src/components/Webmail.jsx +++ b/nx-webmail/src/components/Webmail.jsx @@ -92,7 +92,6 @@ export default function Webmail() { const [isEmptyingTrash, setIsEmptyingTrash] = useState(false); const [selectedEmailIds, setSelectedEmailIds] = useState([]); const [isDeletingSelected, setIsDeletingSelected] = useState(false); - const [isFullscreen, setIsFullscreen] = useState(false); const [replyText, setReplyText] = useState(''); const [isSending, setIsSending] = useState(false); @@ -1116,16 +1115,6 @@ export default function Webmail() { }; }, []); - useEffect(() => { - const onKeyDown = (event) => { - if (event.key === 'Escape') { - setIsFullscreen(false); - } - }; - window.addEventListener('keydown', onKeyDown); - return () => window.removeEventListener('keydown', onKeyDown); - }, []); - useEffect(() => { if (!isLoggedIn || !activeAccountId || !activeFolder) return undefined; @@ -1448,18 +1437,9 @@ export default function Webmail() { ); const webmailWorkspace = ( -
+
-
- -