Below lg the board's columns form a snapping carousel with a strip of the
neighbouring columns on both sides, previous/next stage buttons and a
"Vaihe 2/7" status. A card dragged to the carousel's edge turns it to the
next column in that direction, and on while held there; Sortable's own
auto-scroll stays on only on desktop.
In the weekly time sheet the hour fields use a 14 px normal-weight font
and customer names are text-sm instead of text-xs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collection::join() plucks from objects, so joining the Js arguments gave an
empty string and the sort and urgent threshold menus called
setColumnSort() / setUrgentThreshold() with no arguments (500).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The open cards are kept in the user's board preferences (expanded_cards,
at most 500), saved without redrawing the board and restored on return.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The native dialog scrolled too once its content outgrew the browser's
default max-height. It now clips to the viewport and only the body scrolls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The job editor redraws its customer-coloured header when the board saves
a customer colour (customer-color-changed).
- Service units and members in the editor's sidebar are in two columns.
- Native controls follow the dark theme (color-scheme), so the date
picker's calendar icon is light.
- Task status, assignee and due date sit side by side in the editor.
- Each task in the editor has its checklist, comments and images.
- The time sheet's time field shows five characters (00:00).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Toolbar: whose board (own, a person, a service line, all), pipeline
views (daily, sales, full), urgent and late filters with a live count,
normal and compact density, and the quick intake button.
- Columns side by side with horizontal scrolling on desktop, stacked on
phones; each user's own column colours and order, the urgent column's
threshold menu, and the continuing jobs column.
- Cards in customer colours: job cards with their tasks checked off inside
the card (the status select is gone), continuing job cards with the next
period, PIN and quick add, and pinned task cards. Dragging moves and
orders cards; the keyboard opens the job editor from the card title.
- Job editor dialog: every job detail, tasks with checklists and
templates, quick hours (TimeTracking) and expenses (Expenses), history.
- The quick intake form also adds a contact person, initial status and
priority, and opens as a dialog on the board.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- 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]>
- Dark indigo header and tinted page background; the mobile main menu gets
its own row, in the same order as the keyboard reaches it.
- Page titles with an icon chip (x-page-title, x-page, x-page-header) and
card sections (x-panel, the card utility); x-table styled as a card with
an indigo header row in AppServiceProvider::styleTables().
- Job and task statuses, late work, unapproved hours and stock states as
badges with icon and text (x-status-badge, x-jobs.status,
x-jobs.task-status), never colour alone.
- Empty lists as x-empty-state; dashboard quick link tiles, week hour bars
and trend arrows; Kanban columns and task cards edged by status; calendar
today column and bar accents; quick sale, reports and machine console
restyled; signed-out pages show the app name.
- Focus rings use the primary colour in both themes (white in the header).
- Document the components in CLAUDE.md; test the status badges.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The console under console/ has its own session cookie and console guard
(UseConsoleSession), so signing out or changing user there leaves the
normal interface alone. Links open it in a new window through a one-time
handoff key; a signed-out console asks for a PIN code or password on its
own login page. Users set their 4-6 digit PIN on the profile's PIN page,
and the console's change user dialog takes it on a keypad; five wrong
PINs lock PIN sign-in for 15 minutes.
Machine counters are cumulative: users record how much a job used and it
is added to the latest reading. A maintenance record restarts the whole
counter interval from the reading at the record.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The opened task card keeps its details and description at the top, then
the status, book hours, edit and remove actions, and below them tabs:
checklist and comments, images, and materials and machines. The tabs are
a project component (x-tabs) after the WAI-ARIA pattern, because
TallStackUI's tab ties its panels to missing ids and has no arrow keys.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Everyone sees their open tasks on an agenda, their open jobs, this
week's hours and quick links. Admin and management also get a lazily
loaded management panel: things to do, the month so far against the
previous month, jobs and late work, and everyone's workload.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Fixes found by axe: the chart axis captions are darker and larger, the
period heading keeps its heading role with the live region inside it,
and scrollable tables are focusable regions named by their table.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Management's reports (spec 13) get their own module that reads the other
modules through ports. The first report sums hours by person in a period,
narrowed by service unit or customer, with breakdowns, a chart and CSV.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A new Notifications module shows a bell beside the profile menu with the
number of unseen notifications and a panel of the last 7 days; opening
it marks them seen, and each notification links to its job or task.
- A daily run at 14.00 (notifications:task-starts) tells the assignee
and members of tasks that start by the next working day, skipping
holidays and days off, done tasks and archived jobs.
- Jobs publishes PeopleAddedToTask and PeopleAddedToJob when someone
else makes a user a task's assignee or member or gives them a role on
a job; those users are notified at once. UpdateTask and ScheduleTask
now take the acting user.
- A notification link to #task-<id> opens that task card on the job page.
Also: simplifying job fields per service unit (K31) moves to the end of
phase 4, and the workflow template browser test waits for Livewire's
progress bar before its last accessibility check.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The signed-in header is sticky from the md breakpoint up, so only the
page content scrolls; on phones and at high zoom it still scrolls with
the page, where a wrapped sticky header would take too much of the view.
A small layout script sets scroll-padding-top to the header's height
while it is sticky, so focused elements, anchors and the skip link
target land below it (WCAG 2.4.11).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A language picked on a signed-out page is now stored on the account when
the user signs in (StoreLocaleChosenBeforeLogin), so the app does not
switch back to the account default. EnsureAccountIsUsable keeps the user's
language for the login page when it ends a disabled account's session.
ChangePreferredLocale runs in a transaction like the other use cases, the
language names come from layout.languages instead of the Locale enum, and
the translation test also compares fi.json with en.json and rejects
English files without a Finnish counterpart.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clicking a theme option's text moved focus nowhere, and the focusout rule
closed the panel before the radio was checked. The panel now closes only
when focus moves to an element outside it; clicks outside and Escape still
close it. Each theme option is a full-width row with a hover state, and
the chosen one is also shown in bold.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every UI string now exists in lang/fi and lang/en; a unit test checks that
both languages have the same keys and placeholders. A user's language is
stored on the account (users.locale) and applied by the SetLocale web
middleware, falling back to the session's choice on signed-out pages and
then APP_LOCALE. Emails use the user's language through
HasLocalePreference, and the login page keeps the language after logout.
The header's name, theme toggle and logout button become one profile menu
(a disclosure) with the language buttons, light/dark/system theme radios
kept on the device, and logging out. Signed-out pages get a Suomi/English
switch next to the theme toggle.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The header and its menu popovers always use the dark theme colours, the
light theme body is zinc-100 and Kanban columns zinc-200 so they still
stand out. The theme toggle icon follows the page theme through a new
page-dark variant, and TallStackUI hint and selection group description
texts are one shade darker to keep 4.5:1 contrast on the grey background.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Company details get an optional "Valikon nimi", shown at the left of the
main menu; it falls back to the application name when empty.
- A billing material gets its running number (billing_exports.number) only
when it is created, so discarded drafts leave no gaps. Drafts have no
number; existing created materials are numbered by the migration, and the
CSV file name uses the number.
- TaskAssigneeMigrationTest rolls back from its own migration onward instead
of assuming it is the last one.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Replace the flat link row with disclosure groups (Työt, Oma kirjaus,
Asiakkaat ja myynti, Hallinto, Ylläpito) built by App\View\MainMenu from
Gate abilities, and add menu links for new job, quick sales list and
workflow templates.
Co-Authored-By: Claude Sonnet 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]>
Management builds the monthly billing material (laskuaineisto) as a
draft: done jobs are added as invoices of their own, combined when the
customer, billing unit and reference allow it, and their billable hours
are set per work type. Creating the material checks the jobs again,
marks the approved hours and billable expenses billed, forms invoice
lines with price and VAT snapshots and moves the jobs to "Lasku luotu".
Fixed price jobs bill their quoted amount once. Billed hours keep their
approval and billed expenses can no longer change. The Fennoa export
and monthly fee lines come later.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quick sales (pikamyynti) of active consumer products at the counter, in a
new Sales module:
- Product buttons add one to the sale's list per press; quantities can be
lowered, raised or removed. Payment by cash or card, optional customer.
- Product durations are booked as the seller's hours on the yearly
"Pikamyynnit" job (internal customer, not billed) through Jobs'
ProvideQuickSaleTask and TimeTracking's AddTaskHours. The sale stands
even when the hours cannot be booked, and the seller is told.
- Sales are never deleted: a credit records the lines negated on today's
cash day, once per sale, by the seller or management.
- Closing a cash day stores its balance by payment method and VAT rate and
stops sales on it; only management reopens a day.
- A printable A5 PDF receipt (barryvdh/laravel-dompdf) with the company's
details, business ID, VAT number, lines and VAT breakdown.
Company details are kept in the settings and edited by the admin only on
the new Yritystiedot page. BusinessId moves from Customers to Shared so
both use the same check.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Time entries store who approved them and when. Approved hours are
locked: cells, task page edits and removals are refused.
- "Hyväksy viikko" in the weekly view approves the user's own week;
subcontractors' hours are approved by management.
- Management gets an approval page (unapproved weeks by person, recently
approved weeks) and can open anyone's week read-only to approve it or
cancel its approval, which only management may do.
- Only management may move a done job back to an earlier status, which
opens the lock on its hours and expenses; the history marks it.
- The Clock contract gets now() for approval times.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- New Expenses module: purchases (materials, other) with a description
and cost, and mileage priced with the price list's mileage rate.
- Who paid and whether the expense is billed are separate: an employee's
own payments are reimbursed elsewhere. A billed expense has a markup
and a billed amount, cost plus markup unless given.
- A job's expenses page lists, adds, edits and removes them; amounts of
others' expenses need the expenses permission, own ones always show.
Done jobs lock their expenses.
- The Kulut menu shows the user's own expenses by month. Management
records subcontractors' expenses, which they see but cannot change.
- The price list gets a default markup for new purchases.
- Number fields that update a calculation now use wire:model.live.blur:
in Livewire 4 plain .blur no longer sends the value to the server,
which also fixes the product form's VAT calculation.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Admins give employees and interns personal money permissions (prices,
expenses, quotes, billing) on the user form. Other modules check them
through the money.* abilities; admins and management see all amounts,
subcontractors none.
- Employees and interns get a read-only price list: consumer products
with VAT always, hourly rates, other products and the mileage rate only
with the price permission. Subcontractors cannot open it.
- VAT rates are maintained on the price list page, with one default rate
that always stays in use. Products get a VAT rate; changing a rate's
percentage applies to every product using it.
- Consumer product prices are entered and stored with VAT, so cash prices
stay round; the price without VAT is calculated. The product form shows
the other price as you type.
- Shared VatPercentage value object and Money::addVat()/removeVat(),
rounding half up to the cent in integer arithmetic.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Work types get an hourly rate (VAT 0), set on the work type form or in
the hourly rate grid of the new Hinnasto page (/catalog/prices), which
saves a cell when focus leaves it.
- Fixed-price products with a unit from a list, consumer product flag and
automatic hours, which need a work type. Products are moved and
deactivated, never deleted.
- The mileage rate is stored in a new settings table through the shared
Settings contract.
- Shared Money value object keeps amounts in cents, parses "85,50" and
formats "85,50 €".
- Prices are read only through PriceListQueries, not CatalogQueries, so
personal money permissions can be added in one place next.
- Only admins and management can open the pages for now.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phase 1, item 8 (last of phase 1). New TimeTracking module:
- One entry per user, task and day (0.25-24 h in quarters, with a note);
the job and work type are copied from the task. A user's day cannot
exceed 24 h, and hours on a done, invoiced, billed or archived job
cannot be added or changed.
- Weekly sheet /time: tasks as rows (own open tasks, tasks with hours
that week, tasks added by search), days as columns, row, day and week
totals, week navigation. A cell saves on change and an empty cell
removes the entry; on phones one day at a time. Saves and errors are
announced, errors are tied to their cell.
- Task booking page /time/tasks/{task}: date, hours and note, added to
the day's entry; own entries with edit and remove.
- Anyone but subcontractors may book on any unlocked task;
subcontractors only on jobs they are attached to.
Jobs module:
- JobStatus::locksTime(), BookableTask and task queries for booking.
- A task with time entries cannot be removed (TaskUsage contract,
provided by TimeTracking); the job page links tasks to booking.
- The "involved in a job" rule is shared in JobInvolvement.
Spec and CLAUDE.md updated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phase 1, item 6:
- New page /jobs/board: one column per Kanban status (archived left
out), one card per job with number, name, customer, priority and due
date. Filters for my jobs (default), priority and service unit;
subcontractors see only their own cards and cannot move them.
- Cards move by dragging (Livewire wire:sort across column groups) or
with each card's status select, which works with the keyboard. Moves
go through ChangeJobStatus, so they are recorded in the job history;
the result is announced and focus returns to the moved card.
- Billing statuses only for management and the job's biller: the
jobs.set-billing-status gate now takes the biller's user id.
- Column links with counts at the top; columns wrap with the screen
width, so there is no sideways scrolling.
- CustomerJobQueries::board() and the biller on job summaries.
- Menu link and a link from the job list; spec and CLAUDE.md updated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Phase 1, item 5:
- New page /jobs/quick (Pikavastaanotto): customer (search or quick
add), name, short description, service unit, responsible person and
starting status (Alustava or Prospekti) in one column. The job is
created with CreateCustomerJob, so numbering, reference checks and
history are the same as on the full form.
- After saving, the form clears for the next job (responsible person
and status stay), and a status message with the job number and links
to the job and its edit page takes focus.
- The customer search of the job form moves to a PicksCustomer trait and
an <x-jobs.customer-picker> component shared by both pages.
- Menu link and a list button for users who may open jobs; nav items
accept several route patterns.
- PHPStan ignores unused-trait only for Livewire Concerns, which are
used from excluded single-file components.
- Spec and CLAUDE.md updated.
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]>
Phase 1, item 3: the hierarchy customer jobs, tasks and time entries
will refer to.
- New Catalog module: service unit > optional service > work type.
Names are unique per level (case-insensitive); items are never
deleted, only deactivated, and foreign keys restrict deletes.
- Pohjatiedot page (/catalog, admins and management): add, rename,
reorder with move up/down buttons (keyboard-friendly, focus kept and
announced) and an "in use" checkbox per row. Work types can move to
another service of the same unit.
- A migration inserts the starting catalog from the specification when
the tables are empty, so every installation has it.
- CatalogQueries gives other modules the active service units and the
work types of chosen units plus the shared ones.
- 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]>
wire:navigate replaces the <html> attributes with the server's, which
dropped the "dark" class, and the unchanged head script does not run
again. Apply the stored theme again on every Livewire page swap, before
the new page paints, and cover the main-menu navigation with a browser
test.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The inline theme script treated an unknown stored "dark-theme" value as
light, while tallstackui_darkTheme() treats it as "system", so a dark OS
could flash the light theme. Also move an inline comment in
AppServiceProvider into the method's PHPDoc.
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]>
- New partial resources/views/partials/theme-toggle.blade.php: a Flux
button that flips $flux.dark. Flux stores the choice in localStorage
(flux.appearance) and applies it before the page paints; until the
user chooses, the system theme is followed.
- Shown in the header for signed-in users and at the top right of the
guest pages.
- Accessible: stable name "Tumma teema" with a tooltip, state in
aria-pressed, decorative moon/sun icons.
- Browser tests cover toggling, persistence across pages, overriding a
dark system theme, keyboard use and axe checks in both themes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
New Users module with the four layers:
- Domain: Role enum, UserAccount entity (intern needs end date and
supervisor, login allowed until the end of the last day), email and
name value objects, SupervisorRule, last-admin protection.
- Application: CreateUserAccount (emails a set-password link),
UpdateUserAccount, SendPasswordSetupLink, CheckLoginAllowed, query
contract and Clock (business time zone Europe/Helsinki).
- Infrastructure: users table gets role, is_active, employment_ends_on
and supervisor_id; Eloquent repository and queries; Password broker
link sender with a Finnish email; Gate users.manage.
- Presentation: Livewire login (rate limited), forgot and reset
password pages, logout, EnsureAccountIsUsable middleware that ends
sessions of deactivated users, admin-only user list and form, and
users:create-admin command.
Also:
- Layout gets a labelled main menu, the signed-in user and logout.
- Remove the local /dev/login; guests are redirected to /login.
- Customers: customers.use ability (no subcontractors), authorization
in mount and save, locked customerId, 404 for a missing customer,
empty-state check uses the total count.
- Architecture test lets module providers register their own
Presentation classes; docs and CLAUDE.md updated.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Layout: skip link to the main content and a <main> landmark
- Home page: stable button label, counter announced via a live status region
- Pest browser plugin + Playwright: axe checks (level 2) in light/dark and
desktop/mobile, plus a keyboard-only interaction test
- Register the Browser test suite in phpunit.xml and Pest.php
- CLAUDE.md: accessibility development rules and browser test notes
- Boost-refreshed testing-best-practices skill files
Co-Authored-By: Claude Opus 5.5 <[email protected]>