From c54da8728e46594c99ff41ec905d501227bedfe3 Mon Sep 17 00:00:00 2001 From: agent Date: Tue, 6 Oct 2026 11:21:36 +0000 Subject: [PATCH 1/4] Pin PocketBase server to 0.23.12 `spectado/pocketbase:latest` meant any rebuild could silently jump versions, while pb_schema.json and the JS migrations target 0.23's format and API. 0.23.12 is the image `latest` currently resolves to (same image id), so this changes nothing at runtime. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv --- AGENTS.md | 2 +- docker-compose.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d9a3db9..8c39908 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ ## Stack - **SvelteKit 2** (SSR, Svelte 5 runes mode) — all `.svelte` files use `$state`, `$derived`, `$props()` etc. -- **PocketBase** — REST API via the `pocketbase` SDK (v0.26). Auth, DB, and image storage. +- **PocketBase** — server pinned to **0.23.12** (`docker-compose.yml`), REST API via the `pocketbase` SDK (v0.26). Auth, DB, and image storage. Bump the server version deliberately (changelog, backup, test migrations). - **Tailwind CSS v4** + **DaisyUI 5** — utility-first CSS with DaisyUI components for admin; custom theme for the public site. - **Docker Compose** — four services: `app-admin`, `app-public`, `pocketbase`, and `caddy` (reverse proxy). diff --git a/docker-compose.yml b/docker-compose.yml index 05bebff..5987481 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,9 @@ services: pocketbase: - image: docker.io/spectado/pocketbase:latest + # Pinned: schema (pb_schema.json) and migrations target this version's + # format/JS API. Upgrade deliberately — read the PocketBase changelog, + # back up pb_data, then bump the tag and test migrations locally. + image: docker.io/spectado/pocketbase:0.23.12 container_name: massage-pocketbase restart: unless-stopped # Internal only — accessed via the caddy reverse proxy From 015ce2a63f5bc34c6c00c88fe73805f98decac8c Mon Sep 17 00:00:00 2001 From: agent Date: Tue, 6 Oct 2026 11:32:21 +0000 Subject: [PATCH 2/4] Fix block Delete buttons painting over the "Add block" menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Delete label in each block row is `relative z-10` (to sit above its hold-to-delete fill) — the same z-index as the dropdown, and later in the DOM, so it painted on top of the open menu. Each row is now `isolate` (its z-indexed layers stay inside it) and the dropdowns in the page and email editors sit at z-20. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv --- app-admin/src/lib/admin/BlockList.svelte | 4 +++- app-admin/src/routes/pages/[slug]/+page.svelte | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app-admin/src/lib/admin/BlockList.svelte b/app-admin/src/lib/admin/BlockList.svelte index 3054347..f2024f8 100644 --- a/app-admin/src/lib/admin/BlockList.svelte +++ b/app-admin/src/lib/admin/BlockList.svelte @@ -49,10 +49,12 @@ } +
    {#each blocks as block, i (block.id)}