Commit Graph

11 Commits

Author SHA1 Message Date
Tonya
ec5b6bb8ff Get front end tests passing (#299)
* chore: get front end tests passing

* chore: add @vue/runtime-core to fix types for $t

* chore: sort lockfile

* Discard changes to frontend/pnpm-lock.yaml

* chore: sort lockfile

* chore: fix some type errors

* chore: switch from nuxi typecheck to vue-tsc to force a known good version

* chore: linting

* chore: update pnpm version in frontend test

* feat: add proper pagination type (need to sort why it still doesn't work)

* chore: format imports and initialize totalPrice in label page to null when no label is present

* chore: update pnpm to v9.12.2, merge ItemSummaryPaginationResult with PaginationResult, and handle error in label generator more gracefully

* chore: lint

---------

Co-authored-by: Matt Kilgore <matthew@kilgore.dev>
2024-10-28 15:47:00 -04:00
Maximilien Carbonne
ff874ac472 fix: wrong return type 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
ba48a615cd minor fixes (style) 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
5aa389b13c always show duplicate action 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
b500f6b51f minor fix 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
2ea9ed0476 keep only basic actions (duplicate and mark as done) 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
68ee701e46 fix: action buttons cropped on mobile devices 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
dc88406bcc rework frontend for maintenances (factorize) 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
ca85d4b483 simplify/factorize backend for maintenance 2024-09-27 21:38:27 +02:00
Maximilien Carbonne
17ecfa2c66 maintenances: add new actions 2024-09-27 21:38:26 +02:00
mcarbonne
a85c42b539 Implement maintenance view (#235)
* implement backend to query maintenances

* improve backend API for maintenances

* add itemId and itemName (v1/maintenances)

* fix remaining todo in backend (/v1/maintenances)

* refactor: extract MaintenanceEditModal

* first draft (to be cleaned)

* revert dependency updates (not required)

* translation + fix deletion

* fix main menu css issues

* fix main menu "create" button (css)

* enhancement: make item name clickable

* fix: add page title (+ translate existing ones)

* fix: missing toast translation (when updating)

* bug fix: missing group check in backend (for new endpoint)

* backport from following PR (to avoid useless changes)

* maintenances => maintenance
2024-09-23 13:07:27 -04:00