- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 /
primary-100 and TallStackUI's dark labels, hints and checkbox labels are
lightened so everything stays at 4.5:1.
- Shared HexColor picks white or black text by the higher WCAG contrast; a
native-dialog colour picker and a large work dialog component.
- Customers get a header colour (customers.header_color), set on the
customer page.
- New job status Jatkuvat / Kausi (ongoing): open, never late, billed
monthly like running jobs.
- Kanban model: board columns and views, urgent threshold, per-user board
preferences (density, column colours and sort), card positions, tasks of
continuing jobs pinned to the board, MoveBoardCard and board queries with
logged hours from TimeTracking.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task calendar (/jobs/calendar) replaces per-unit task Kanban columns
(K34): a two-week Gantt of tasks per person. Bars move, resize and
change person by dragging or through a keyboard dialog. Each task's
estimate is booked evenly over working days into task_bookings, and
what exceeds the daily maximum (jobs.daily_capacity_hours, 8 h) moves
to the next working day. Tasks get planned_from/planned_to on the form.
Holidays (/settings/holidays): Finnish public holidays calculated per
year, which the admin can take out of use, plus company days off.
Also includes the earlier uncommitted work: workflow templates with
adding tasks from a template, and removing customers no module refers to.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Root .htaccess refuses everything outside public/, because local Apache
serves the whole project folder (.env, logs with set-password links, .git).
- Login allows 20 failed attempts a minute per IP across accounts, besides
5 per email and IP; the forgot-password page 5 requests a minute per IP.
- A global middleware sends X-Frame-Options, frame-ancestors, nosniff,
Referrer-Policy, Permissions-Policy and HSTS over HTTPS, and drops
X-Powered-By.
- The weekly time sheet locks the shown week and selected day, so the
browser cannot set them.
- Users who may not see personal identity codes can save a new code at
most 10 times an hour, so the duplicate check cannot be used to test codes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phase 1, item 4. New Jobs module:
- Customer jobs with the spec's fields except money (phase 2): yearly
running numbers (2026-0001) from a locked counter row, service units,
schedule, kind, status, priority, payment basis, estimated hours,
PO reference, instructions, members (responsible, contact person,
customer contact, biller, billing unit, other members), tags shared
across jobs, and links.
- Every change is recorded field by field and shown on the job page with
names and Finnish dates.
- References to other modules are checked through their query
contracts: contact and billing unit must be the customer's own;
service units and users must be in use unless already on the job.
- Job list with search, filters and "my jobs" on by default; job form
with an accessible customer search and quick add; job page.
- Access: subcontractors see only jobs they are members of, read only;
billing statuses for management and the job's biller; archiving for
management.
Related changes:
- Customers: one internal customer (created by a migration) for internal
work; contacts and billing units used by a job cannot be removed.
- Users and Catalog: batch name lookups and active user options with
roles for other modules.
- <x-checkbox-group> component; spec and CLAUDE.md updated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Customer page and contacts/billing units (phase 1, item 2):
- New customer page (customers.show) with details, contacts and billing
units; add and edit on their own pages, delete after confirmation.
Creating or editing a customer now leads to this page.
- Contacts: name, title, phone, email, note. Billing units: name,
billing address, e-invoice address (12-35 letters/digits), operator
(required with an e-invoice address) and reference.
- Use cases check that the row belongs to the customer, so ids in the
URL can't reach another customer's rows.
- EmailAddress moves from Users to Shared so both modules can use it.
- <x-confirm-dialog> (native <dialog>) replaces <x-modal>, whose title,
close button and focus handling are not accessible; solid red buttons
use red-700 via published NormalButtonColors for 4.5:1 contrast.
Personal identity code (henkilötunnus) for consumers who are invoiced:
- Validated (date, century sign, check character), stored encrypted
with an HMAC blind index for duplicate checks; never in
CustomerSummary, search, logs or Livewire state.
- Admins and management see it in full and may remove it; others enter
it and see only the masked form. The form never shows the stored code.
Spec, architecture doc and CLAUDE.md updated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rewrite the layout and all Customers and Users pages with TallStackUI
components and remove livewire/flux and its Boost skill.
Fix the TallStackUI accessibility gaps found by the axe tests:
- password reveal and theme switch have no accessible name: add
<x-password-field> and keep the own theme toggle button
- select.native label is not tied to the control: add aria-label
- contrast: darker primary palette, soft-customized error colours and
published alert/link colour classes; neutral buttons use subtle black
- follow the system theme by default (localStorage key dark-theme)
Load TallStackUI assets from the app URL so they work in the XAMPP
subfolder, add Finnish TallStackUI strings, and drop inputmode=numeric
from the business ID field so iOS keyboards show the hyphen.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Introduce a modular monolith under app/Modules with Domain, Application,
Infrastructure and Presentation layers.
- Shared module: DomainException base, TransactionManager and an
EventDispatcher that publishes events after commit.
- Customers module: Customer entity, CustomerName and BusinessId
(Y-tunnus checksum) value objects, RegisterCustomer/UpdateCustomer
use cases, CustomerQueries read contract, Eloquent repository, and
Livewire list and form pages with Finnish translations.
- Pest arch tests enforce layer and module dependency rules for every
module; Larastan (level 6) added as a dev dependency.
- Raise Flux error text contrast to meet WCAG 2.2 AA.
- Document the architecture in docs/architecture.md and CLAUDE.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>