Commit graph

909 commits

Author SHA1 Message Date
Arthur Belleville
1ff8e681da feat(01-02): add ui package enums, helpers, base CSS
- tokens.go: semantic token constants
- variants.go: Size/ButtonVariant/ButtonTone/BadgeVariant enums + Normalized*
- helpers.go: mergeAttrs for templ.Attributes
- base.css: resets, :focus-visible ring (no nesting)
2026-05-14 18:45:15 +02:00
Arthur Belleville
5b19a8815c
docs(phase-01): update tracking after wave 1 2026-05-14 17:58:25 +02:00
Arthur Belleville
a639fdf502
chore: merge executor worktree (worktree-agent-a98c01ef03e47adfc) [plan 01-01] 2026-05-14 17:57:38 +02:00
Arthur Belleville
586b683131
docs(01-01): complete backend scaffold plan summary
- Documents 5 task commits (aa90008, 4de9685, 2fe5b51, d6085b7, ce22472)
- Records pinned versions actually wired
- Confirms Codex review concerns 1, 2, 3, 4, 6, 10 are addressed
- Logs auto-approved human-verify checkpoint (Task 6 — real bootstrap requires developer-side network)
- Path forward to Plans 01-02 (handler tests + ui/*.css) and 01-03 (cmd/* entrypoints + walking skeleton)
2026-05-14 17:57:09 +02:00
Arthur Belleville
ce224725e2
feat(01-01): justfile with bootstrap, db, migrate, generate, dev, test, lint, build, clean
- bootstrap: installs goose/templ/sqlc/air at pinned versions; downloads Tailwind v4 standalone
  binary via explicit OS/arch case mapping (darwin->macos, x86_64->x64, arm64/aarch64->arm64)
  resolving to one of {tailwindcss-macos-x64,tailwindcss-macos-arm64,tailwindcss-linux-x64,tailwindcss-linux-arm64}
  (Codex concern #2); bootstrap-downloads htmx.min.js from unpkg into static/
- migrate: GOOSE_DRIVER + GOOSE_DBSTRING + GOOSE_MIGRATION_DIR wired
- generate / styles-watch / dev / test / lint / build / clean recipes complete
- 'just --list' enumerates 11 recipes; no pnpm/npm/node references (D-12)
- clean recipe removes bin/, tmp/, generated CSS, bootstrap-downloaded htmx, *_templ.go (Codex #10)
- Tailwind watch is run separately (RESEARCH Open Q2 two-terminal workflow)
- The only CDN URLs in the entire backend are inside this justfile's bootstrap recipe;
  served HTML/CSS/JS reference only /static/* (CONTEXT D-10 clarified)
2026-05-14 17:56:02 +02:00
Arthur Belleville
d6085b7dbb
feat(01-01): sqlc config, tailwind input CSS, air live-reload config
- sqlc.yaml: postgresql engine, schema points at migrations/ (Pitfall 7), pgx/v5 sql_package
- tailwind.input.css: @source globs for templ + internal/web Go files (Pitfall 3), @imports four ui/*.css files per UI-SPEC
- .air.toml: watches .go + .templ, excludes generated *_templ.go (Pitfall 5), runs 'templ generate' pre-build
- Tailwind watch is NOT wired into air pre_cmd (two-terminal workflow per RESEARCH Open Q2)
2026-05-14 17:54:35 +02:00
Arthur Belleville
2fe5b51f80
feat(01-01): compose file, env example, gitignore, bootstrap migration
- compose.yaml: postgres:16-alpine with pg_isready healthcheck (no seed mounts)
- .env.example: DATABASE_URL, PORT, ENV (D-15)
- .gitignore: bin/, tmp/, .env, generated tailwind.css, bootstrap-downloaded htmx.min.js, *_templ.go, sqlc output
- migrations/0001_init.sql: goose no-op bootstrap migration
2026-05-14 17:54:18 +02:00
Arthur Belleville
4de96854b5
feat(01-01): create directory skeleton and per-package doc.go placeholders
- internal/{db,session,tablos,tasks,files}/doc.go (D-02 placeholder packages)
- internal/db/{queries,sqlc}, templates/, migrations/, bin/, static/ via .gitkeep
- 'go build ./internal/...' compiles cleanly
- cmd/web, cmd/worker, internal/web are deliberately deferred to Plans 01-02 / 01-03
2026-05-14 17:53:55 +02:00
Arthur Belleville
aa90008d95
feat(01-01): initialize Go module and pin runtime dependencies
- module: backend (go 1.26.1)
- chi v5.2.5, templ v0.3.1020, pgx/v5 v5.9.2, goose v3.27.1, uuid v1.6.0
- pinned via 'go get'; 'go mod tidy' deferred to Plan 01-03 where consumers exist (Codex concern #1)
2026-05-14 17:53:36 +02:00
Arthur Belleville
c95a64e78e
docs(01): replan with cross-AI review feedback (codex) 2026-05-14 17:50:48 +02:00
Arthur Belleville
a54a10a7fd
docs(01): cross-AI review for phase 1 (codex) 2026-05-14 17:23:11 +02:00
Arthur Belleville
ad3a3d42ef
docs(01): create phase plan (4 plans, MVP walking skeleton) 2026-05-14 17:19:04 +02:00
Arthur Belleville
5f8af63e5e
docs(01): create Phase 1 foundation plans (4 plans, 3 waves) 2026-05-14 17:12:46 +02:00
Arthur Belleville
4d745f82c3
docs(01): add custom templ component library contract to UI-SPEC
Adds a Component Library Contract section locking in a small in-house
templ design-system under backend/internal/web/ui/, modeled on the
reference at go-backend/internal/web/ui/. Phase 1 ships only Button,
Card, and Badge; later phases extend the same package.
2026-05-14 16:58:27 +02:00
Arthur Belleville
5a14166583
docs(01): UI design contract for foundation phase
Lock base layout, spacing/typography/color tokens, and the canonical
HTMX interaction pattern that later phases inherit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 16:53:08 +02:00
Arthur Belleville
5f63929477
Remove backend folder 2026-05-14 16:50:48 +02:00
Arthur Belleville
b7f7a8964a
docs(01): add validation strategy 2026-05-14 16:50:15 +02:00
Arthur Belleville
74e1c3c126
docs(01): research foundation phase domain
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 16:49:21 +02:00
Arthur Belleville
6b58230f17
docs(state): record phase 1 context session 2026-05-14 16:42:38 +02:00
Arthur Belleville
6373834b9f
docs(01): capture phase context 2026-05-14 16:42:33 +02:00
Arthur Belleville
f58596e496
docs: create roadmap (7 phases) 2026-05-14 16:28:40 +02:00
Arthur Belleville
b46d314a35
docs: define v1 requirements 2026-05-14 16:27:20 +02:00
Arthur Belleville
39c7608851
chore: add project config 2026-05-14 16:26:25 +02:00
Arthur Belleville
3e3d02e244
docs: initialize project (go+htmx rewrite) 2026-05-14 16:24:26 +02:00
Arthur Belleville
2c23906716
docs: map existing codebase 2026-05-14 16:01:31 +02:00
Arthur Belleville
d9bf94583b
Refactor tasks UI to use reusable button and select components
Replace inline button markup with `ui.Button` component calls for
consistency and maintainability. Add filter menu component with dropdown
functionality. Convert roadmap mode toggle from link-based to select
dropdown. Include filter counter badge and clear filter actions.
2026-05-10 23:38:19 +02:00
Arthur Belleville
c80a8a875e
First pass on tasks frontend 2026-05-10 23:14:47 +02:00
Arthur Belleville
faf3199b71
Rename tasks plan dashboard state types 2026-05-10 22:18:00 +02:00
Arthur Belleville
71a56b72f1
Add tasks multi-view dashboard implementation plan 2026-05-10 22:06:37 +02:00
Arthur Belleville
c148ff9af3
Add select component with single and multi-value support 2026-05-10 22:04:09 +02:00
Arthur Belleville
9a92f358e8
Add task management features with database schema and handlers
Create a new tasks module with full CRUD operations, supporting both
regular tasks and etapes (phases). Implements task hierarchy with
parent-child relationships, assignees, and due dates. Includes database
schema with validation triggers, SQLC query generation, in-memory
repository implementation, HTTP handlers, view templates, and
comprehensive test coverage.
2026-05-10 21:58:48 +02:00
Arthur Belleville
1a00f84364
Add tasks multi-view dashboard design spec 2026-05-10 21:52:39 +02:00
Arthur Belleville
dd6e5b7d64
Update go-backend tasks docs for assignee support 2026-05-10 18:37:44 +02:00
Arthur Belleville
ef7ccd8c6f
Add go-backend tasks and etapes design spec 2026-05-10 18:25:18 +02:00
Arthur Belleville
354785edff
Pass tablo list to dashboard views
Update DashboardPage and DashboardContentSwap to receive the list of
tablos so the sidebar can display real project data. Extract tablo icon
palette logic into a new tabloicons package that maps hex colors to
presentation attributes (icon, background, foreground colors).

Update handlers to load tablos from the repository before rendering
dashboard views. Refactor TabloCardView to use icon presentation instead
of initials when available.
2026-05-10 14:56:46 +02:00
Arthur Belleville
3232309388
Make tablo icon selection dynamic based on color using nearest palette
match

Instead of selecting icons based on tablo name length, compute the
closest matching icon from a predefined palette by comparing hex color
values. This ensures consistent icon-color pairing and better visual
harmony.
2026-05-10 14:18:33 +02:00
Arthur Belleville
c780dd1625
Remove server-side search filtering and implement client-side filtering
This commit moves project search filtering from the server to the
client.
Changes include:

- Remove `Query` field from `ListTablosInput` and related handlers
- Add French date formatting for project cards
- Convert search form to client-side filter with data attributes
- Add empty state message for no search results
- Update button border-radius from 0 to 0.7rem
- Increase air.toml build command to include Tailwind CSS generation
2026-05-10 13:53:23 +02:00
Arthur Belleville
8bcf81a3f1
Add co-located CSS sources and semantic token infrastructure to Go
backend

Create the foundational structure for managing design-system CSS with
co-located sources and semantic tokens:

- Add `cmd/buildstyles` to concatenate ordered CSS sources into a single
  shipped stylesheet
- Define semantic color and effect tokens in `internal/web/ui/base.css`
- Move primitive and catalog CSS sources from `static/css/` to
  co-located locations under `internal/web/ui/`
- Update test contract to verify token presence and proper stylesheet
  generation
- Regenerate `static/styles.css` with new semantic token layer and
  source annotations
2026-05-10 11:47:42 +02:00
Arthur Belleville
0ac8bd0fc9
Update templ 2026-05-10 11:23:48 +02:00
Arthur Belleville
90da6646ea
docs: update css co-location design spec 2026-05-10 11:03:53 +02:00
Arthur Belleville
69a6844324
docs: add css-sources-per-primitive design spec 2026-05-10 10:42:13 +02:00
Arthur Belleville
2e52daa81d
Add space X and space Y to components 2026-05-10 10:38:07 +02:00
Arthur Belleville
b84eff7887
Add spacing, update catalog, and make several improvements to the tablo:
add update
2026-05-10 10:37:47 +02:00
Arthur Belleville
c89f526780
docs: add spacing primitives design spec 2026-05-10 10:04:39 +02:00
Arthur Belleville
cf64404d25
feat: refresh go-backend button variants and tablos styling 2026-05-10 09:22:22 +02:00
Arthur Belleville
a089f35a9b
docs: add go-backend tablo edit color design 2026-05-10 09:21:34 +02:00
Arthur Belleville
c14af76fb2
feat: toggle overview projects with vanilla js 2026-05-09 21:46:56 +02:00
Arthur Belleville
4ac33c77b9
feat: add go-backend design system and tablos UI 2026-05-09 20:18:24 +02:00
Arthur Belleville
bea78ffca7
docs: add go-backend design system design 2026-05-09 15:03:55 +02:00
Arthur Belleville
63882be278
docs: add go-backend tablos index CRUD design 2026-05-08 21:33:51 +02:00