ui overhaul
This commit is contained in:
@@ -10,7 +10,7 @@ Havenllo (Haven + Trello) is a lightweight, single-user, no-authentication kanba
|
||||
|
||||
- Go module `havenllo`, Go 1.24.
|
||||
- Backend: `modernc.org/sqlite`, pure Go and CGO-free.
|
||||
- Frontend runtime: `preact`, `commonmark`, and `dompurify`; build tooling: `@preact/preset-vite`, `@types/commonmark`, `typescript`, and `vite`.
|
||||
- Frontend runtime: `preact`, `commonmark`, and `dompurify`; build tooling: `@preact/preset-vite`, `@types/commonmark`, `@types/node`, `typescript`, and `vite`.
|
||||
- Card movement: custom Pointer Events interaction; no DnD library.
|
||||
- Static SPA assets are embedded with Go `embed` from `web/dist`.
|
||||
- Runtime port: `8080`; `HAVENLLO_LISTEN_ADDR` defaults to `:8080` and `HAVENLLO_DATABASE_PATH` defaults to `/data/havenllo.db`.
|
||||
@@ -52,7 +52,7 @@ Havenllo (Haven + Trello) is a lightweight, single-user, no-authentication kanba
|
||||
|
||||
### Embedding bridge
|
||||
|
||||
- `web/embed.go`: embeds `web/dist` and exports it as `web.Files` after stripping the `dist/` prefix. `web/dist` is generated and ignored; Docker rebuilds it.
|
||||
- `web/embed.go`: embeds `web/dist` and exports it as `web.Files` after stripping the `dist/` prefix. `web/dist` is generated and ignored except for its tracked `.gitkeep` placeholder, which keeps Go embeds valid before Vite runs; `web/vite.config.ts` recreates that placeholder after every build. Docker rebuilds the real bundle.
|
||||
|
||||
## Backend Architecture
|
||||
|
||||
|
||||
Reference in New Issue
Block a user