Retries + logging: Set timestamped errors on 5xx/429 or JSON failures.
Empty-array guard: script exits non-zero if the API returns [], so won’t commit an empty file.
Exit codes: any API or I/O error yields sys.exit(1), triggering “no commit on failure” logic.
Upgrades to the latest Action versions (checkout@v3, setup-python@v4).
Caches Python dependencies.
Detects both “any file changes” and “empty array” in one step (so won’t ever commit an emty array).
Replaces manual branch/CURL logic with peter-evans/create-pull-request, which handles branch creation, rebasing and PR creation in one go.
* feat: sort themes and remove daisyui
* docs: update docs to reflect daisyui being removed
* feat: remove specific colours for better theme compatibility
* feat: migrate tools page and label generator to shadcn
* chore: lint issues
* feat: also do profile page
* feat: shadcn 404 page
* feat: login page shadcn
* fix: daisyui ironically breaks the z height for the login page
* feat: componentise the language selector and add it to the login page
* feat: use nuxtlink
* feat: card and table made more shadcn
* feat: shadcn statscard
* chore: lint
* feat: shadcn labelchip and locationcard
* feat: shadcn locations page
* refactor: remove unused new item page
* chore: lint
* feat: shadcn item card
* fix: wrapping of location and lint
* feat: ctrl enter in text area in form submits form
* feat: begin shadcn locations page and remove pageqrcode comp in favour of integrating it into labelmaker
* chore: lint + remove unused code
* fix: remove uneeded margin
* feat: shadcn labels page and fix some issues with location
* feat: shadcn scanner
* chore: lint
* feat: begin shadcning item pages
* feat: shadcn maintenance page
* feat: begin shadcn search page
* fix: quick switch blurry text and crashing page when switching + incorrect z height for create menu
* feat: finish shadcn search page
* chore: lint
* feat: shadcn edit item page
* fix: quickmenumodal bug
* feat: shadcn item details page
* feat: remove all non-color related daisyui classes
* fix: type error
* fix: quick menu modal again :(
* Add e2e testing for frontend
* Hopefully working CI/CD for playwright
* Fix run name
* Trying to fix the CI/CD stuff
* Try this again, although Vite apparently has playwright?
* Fix vitetest
* Add registration tests
* Safer kill of testing dependencies
* These might not last.
* feat: Add iPhone and Android device testing
* fix: Minor fixes, set registration to "fixme" as it fails frequently for some reason.
* fix: Make sure the OS dependencies get installed
* fix: For now remove mobile, they seem to be very hit or miss.
* Use sharding based testing
* Fix some minor mess ups
* Forgot PNPM for the merge
* feat: begin switching sonner, currently this breaks all alerts
* feat: switch to using new sonner and fix class names
* feat: add Shortcut component for improved keyboard shortcuts display in default layout
* feat: rewrite quick menu modal in shadcn
* feat: update QuickMenu modal placeholders and localize no results message in default layout
* feat: begin switching modals in layout to use shadcn dialog, needs bug fixing
* feat: implement DialogProvider for consistent dialog management across components
* fix: types
* feat: begin adding shadcn label selector (wip)
* feat: shadcnify textarea
* feat: begin adding location selector
* feat: add hotkey support for opening create modals in dialog provider components
* fix: update click event on NuxtLink and reorder sidebar menu item IDs for consistency
* feat: unify shortcut text across create modals and sort issue with text centring
* feat: prevent dialog from opening when a dialog alert is open
* fix: prevent potential out of bounds error
* feat: enhance button group UI in create modals for better layout and introduce new item photo label in the form
* fix: search on label selector
* chore: lint
* fix: oops
* feat: make selector usable
* feat: add actual data to label selector
* feat: label selector kinda works
* fix: add legacy selector for edit page
* fix: enable camera capture in image upload for CreateModal component
* fix: z levels for sidebar mobile
* fix: gap between inputs
* feat: update radix-vue, custom search function for location selector
* feat: add fuzzysort (can always remove it and go to lunr if we want to)
* feat: limit label name to 50 characters in create modal and selector, helps with issues with ui not working with larger labels, as it is only enforced on the frontend could be easily bypassed but thats a them problem
* feat: add colours to toast
* chore: lint
* feat: abstract the dialog for creation modals
* feat: add drawer component and responsive dialog for create modals
* feat: enhance photo preview in CreateModal
* fix: remember state of sidebar
* feat: add ui functionality for changing primary image
* feat: use button for file upload
* style: lint
* fix: dont clone asset id
* fix: using create and add label breaks selector
* chore: oops remove logging
* chore: lint
* fix: cut length of label dramatically to ensure maximal compatibility, not sure if too much
* fix: more limiting of label length
* feat: update reka-ui (prev radix-vue)
* chore: cleanup dialog provider and siebar provider a bit
* fix: improve accessibility
* fix: docs for shadcn error
* fix: hack to prevent issues with lots of toasts in quick succession
* feat: cleanup toast file and lint
* feat: improvements to dialog scroll and disable the ability to set default photo for now
* feat: add tooltips for photo buttons
* chore: substring to length check
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add a delete icon to every photo added in the create item modal form.
* Add a delete icon to every photo added in the create item modal form.
* Corrected margin of filename.
* Format the layout of the delete button using daisyUI indicator component CSS classes.
* Moved PhotoPreview interface to the local component file, it should not go in data-contracts.ts, this file is generated based on the contents of swagger.json, that is generated based on the contents of the backend, the type definition if it needs to be shared should go inside non-generated.ts