Commit Graph

31 Commits

Author SHA1 Message Date
kdaniel2410 e42479a3c0 chore: refresh worker configuration types 2026-06-25 11:40:12 +01:00
kdaniel2410 77cbb1d8d7 feat: build dashboard overview UI 2026-06-25 11:40:09 +01:00
kdaniel2410 9f8675fb30 feat: add dashboard reporting load 2026-06-25 11:40:04 +01:00
kdaniel2410 cac9d0e04d update: split workspace pages into reusable components 2026-06-24 23:31:04 +01:00
kdaniel2410 5654d3d570 chore: tidy project guidance and client copy 2026-06-24 18:07:27 +01:00
kdaniel2410 49c863510d fix: repair room type field label context 2026-06-24 18:07:27 +01:00
kdaniel2410 f0ec055725 feat: scope organization access by memberships 2026-06-24 18:07:27 +01:00
kdaniel2410 92f4e54cf4 feat: expand first admin setup flow 2026-06-24 18:07:27 +01:00
kdaniel2410 2bb985000b feat: add organization membership data model 2026-06-24 18:07:27 +01:00
kdaniel2410 f1b730675d chore: update AGENTS.md 2026-06-24 15:56:59 +01:00
kdaniel2410 2339fa02f8 chore: refresh types and formatting 2026-06-24 13:56:41 +01:00
kdaniel2410 44bfb083f9 feat: add billing and organization workflows 2026-06-24 13:53:52 +01:00
kdaniel2410 4fd81c923b feat: add runed-backed list search 2026-06-24 13:40:09 +01:00
kdaniel2410 1ea8ce2135 refactor: centralize form and record helpers 2026-06-24 13:40:01 +01:00
kdaniel2410 8b346acadc chore: refresh generated ui artifacts 2026-06-24 13:39:40 +01:00
kdaniel2410 7c57a22a3c feat: manage organizations from switcher
Rename the centre switcher to organization switcher and wire it to loaded organizations.

Add dropdown actions for switching organizations, creating a new organization, and editing the active organization in dialogs.

Persist organization changes through dashboard endpoints while preserving the current redirect path.
2026-06-06 14:14:20 +01:00
kdaniel2410 cbd2fb2921 refactor: scope dashboard records by organization
Attach clients, rooms, services, bookings, contacts, addresses, invoices, and contracts to organizations.

Filter dashboard loads and related option lists by the active organization from the session.

Ensure create, update, and archive actions only affect records in the active organization.
2026-06-06 14:14:12 +01:00
kdaniel2410 b5ba84b19f feat: add organization context model
Introduce organizations as the top-level workspace model with address and bank-detail fields.

Store the active organization on Better Auth sessions and load organization context for dashboard routes.

Add the migration that creates organizations and backfills existing records to the default organization.
2026-06-06 14:14:00 +01:00
kdaniel2410 bf5a1ad5b5 fix: target named login action
Point the login form at the explicit named action used by the server route.

Remove the stale production preview command from the README deployment notes.
2026-06-06 14:13:51 +01:00
kdaniel2410 5be93c65ea refactor: replace admin bootstrap script with first-run setup 2026-06-06 00:02:43 +01:00
kdaniel2410 b435a92da8 chore: use wrangler local d1 for admin bootstrap 2026-06-05 23:59:21 +01:00
kdaniel2410 ee98b7147c feat: migrate admins to better auth roles 2026-06-05 23:55:45 +01:00
kdaniel2410 dd7eb028db chore: allow admin self actions for testing 2026-06-05 23:39:02 +01:00
kdaniel2410 696641bfc0 fix: show admin row action menus uniformly 2026-06-05 23:38:06 +01:00
kdaniel2410 d696557641 docs: document clearity setup and deployment 2026-06-05 23:26:04 +01:00
kdaniel2410 37f73d15e4 chore: add shadcn svelte ui primitives 2026-06-05 23:25:59 +01:00
kdaniel2410 f3e4f42272 feat: add room and service management 2026-06-05 23:25:44 +01:00
kdaniel2410 631a5112f4 feat: add client workspace management 2026-06-05 23:25:36 +01:00
kdaniel2410 930e83344c feat: add dashboard shell and shared components 2026-06-05 23:25:30 +01:00
kdaniel2410 7bb19e1be3 feat: add auth and database foundation 2026-06-05 23:25:23 +01:00
kdaniel2410 6c3cef4da2 chore: scaffold sveltekit cloudflare app 2026-06-05 23:25:18 +01:00