fix: filter row alignment; production image without dev environment (1.1.2) #19

Merged
oliver.maklott merged 1 commit from fix/filters-prod-image into main 2026-11-15 17:51:22 +01:00

Filter row (Organisation → Schüler:innen)

  • Control heights: inputs and selects have one fixed height of 2.75rem. Before, at 125 % text, a wrapped "Zurücksetzen" made the row taller and the controls stretched with it; WebKit also drew selects 5 px taller.
  • Button labels: they no longer break inside a word; the body's overflow-wrap: anywhere caused "Zurücksetze/n".
  • Narrow columns: the two filter buttons now share a wrapper, so in a narrow column they wrap as whole buttons.

Production image without a development environment

  • Production (default target runtime):
    • Contains only _fresh/, locales/ and runtime/. Worker and ops are bundled with deno bundle.
    • jszip stays external in the SSR build, so it is bundled separately and mapped via runtime/import_map.json.
    • No sources, tests, node_modules, npm cache or build tools. Size: 797 MB → 365 MB.
  • New dev target: full toolchain (vite dev server, checks, tests). The e2e mock IdPs now run from it, and the mock-idp command is removed from the production entrypoint.
  • Guard: e2e/run.sh checks that the production image's /app contains exactly _fresh, locales and runtime, with no npm cache and no vite or node.
  • Catalogs: the catalog directory can be set with LVB_LOCALES_DIR; the production image sets it.
  • Docs: README section on the two images; D017.

Tests

  • New e2e test: filter controls and buttons share one height at 1440/1024/360 px and at 100/125/200 % text.
  • Local results: 76 unit and integration tests and 35 e2e tests pass against the new production image. The dev image runs deno task check and the vite dev server.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4hDGT5Zans1Gu3Lv6j

**Filter row (Organisation → Schüler:innen)** - **Control heights:** inputs and selects have one fixed height of 2.75rem. Before, at 125 % text, a wrapped "Zurücksetzen" made the row taller and the controls stretched with it; WebKit also drew selects 5 px taller. - **Button labels:** they no longer break inside a word; the body's `overflow-wrap: anywhere` caused "Zurücksetze/n". - **Narrow columns:** the two filter buttons now share a wrapper, so in a narrow column they wrap as whole buttons. **Production image without a development environment** - **Production (default target `runtime`):** - Contains only `_fresh/`, `locales/` and `runtime/`. Worker and ops are bundled with `deno bundle`. - `jszip` stays external in the SSR build, so it is bundled separately and mapped via `runtime/import_map.json`. - No sources, tests, `node_modules`, npm cache or build tools. Size: 797 MB → 365 MB. - **New `dev` target:** full toolchain (vite dev server, checks, tests). The e2e mock IdPs now run from it, and the `mock-idp` command is removed from the production entrypoint. - **Guard:** `e2e/run.sh` checks that the production image's `/app` contains exactly `_fresh`, `locales` and `runtime`, with no npm cache and no vite or node. - **Catalogs:** the catalog directory can be set with `LVB_LOCALES_DIR`; the production image sets it. - **Docs:** README section on the two images; D017. **Tests** - New e2e test: filter controls and buttons share one height at 1440/1024/360 px and at 100/125/200 % text. - Local results: 76 unit and integration tests and 35 e2e tests pass against the new production image. The dev image runs `deno task check` and the vite dev server. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4hDGT5Zans1Gu3Lv6j
fix: filter row alignment; production image without dev environment (1.1.2)
All checks were successful
Test / test (pull_request) Successful in 27s
Check / check (pull_request) Successful in 49s
E2E / e2e (pull_request) Successful in 3m17s
35f0e50739
Filter rows
- Single-line inputs and selects have one fixed height (2.75rem) in
  every browser and no longer stretch with taller neighbours.
- Button labels never break inside a word; the filter buttons share a
  wrapper so they wrap as whole buttons in narrow columns.

Images
- Production image (default target `runtime`): only _fresh/, locales/
  and runtime/ (worker and ops bundled with `deno bundle`, jszip as a
  separate bundle behind an import map). No sources, tests,
  node_modules, npm cache or build tools; 797 MB -> 365 MB.
- New `dev` target with the full toolchain; the e2e mock IdPs run from
  it. e2e/run.sh fails if the production image contains anything else.
- Catalog directory configurable (LVB_LOCALES_DIR) for bundled builds.
- README section on the images, D017.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4hDGT5Zans1Gu3Lv6j
oliver.maklott deleted branch fix/filters-prod-image 2026-11-15 17:51:22 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mehrerau/lvb!19
No description provided.