Commit Graph

1312 Commits

Author SHA1 Message Date
tonyaellie
53a5ed1f77 feat: proof of concept 2025-04-13 16:43:16 +00:00
tonyaellie
5d5ee8f555 feat: move image upload to its own component 2025-04-13 15:33:23 +00:00
Weblate
4b13897839 Translated using Weblate (Czech)
Currently translated at 100.0% (316 of 316 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (316 of 316 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translation: Homebox/Frontend
2025-04-11 17:00:38 +00:00
Weblate
6984b33389 Update translation files
Updated by "Cleanup translation files" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/
Translation: Homebox/Frontend
2025-04-11 10:02:53 +00:00
Tonya
9ff4b32db0 Switch layouts to use shadcn (#507)
* 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>
2025-04-11 11:02:49 +01:00
tonyaellie
964d3264cc docs: add missing env var change 2025-04-10 13:51:59 +00:00
Weblate
fca21a58f6 Translated using Weblate (French)
Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: sephrat <florian.dupret@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/
Translation: Homebox/Frontend
2025-04-09 20:00:38 +00:00
tonyaellie
2fe41d4783 fix: update asset and warranty field names to use translations 2025-04-09 10:23:37 +00:00
Tonya
4c0af18dcb feat: migration guide for hay-kot version (#620)
* feat: migration guide for hay-kot version

* Update docs/en/quick-start.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs: enhance migration guide with clearer steps and emphasize backup importance before migration process

* docs: add 'Migration Guide' link to menu and change from upgrade to migration guide in quick start

* docs: better text

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-09 10:13:23 +00:00
Weblate
a68aafdfd7 Translated using Weblate (Swedish)
Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: ecke101 <ecke101@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/sv/
Translation: Homebox/Frontend
2025-04-08 13:00:38 +00:00
Weblate
9db6f51a43 Translated using Weblate (Swedish)
Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: ecke101 <ecke101@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/sv/
Translation: Homebox/Frontend
2025-04-08 08:03:52 +00:00
Weblate
fade1fbc21 Translated using Weblate (Spanish)
Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: Ricardo González <notorius28@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/es/
Translation: Homebox/Frontend
2025-04-06 20:00:38 +00:00
Weblate
cdabadb276 Translated using Weblate (Catalan)
Currently translated at 86.0% (266 of 309 strings)

Co-authored-by: Oriol Navascuez <onavascuez@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ca/
Translation: Homebox/Frontend
2025-04-05 14:59:47 +00:00
EdWorth120
cd510a07e7 Fix cannot delete photo in create item modal form (#613)
* 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
2025-04-05 08:38:53 -04:00
Matt Kilgore
b50add5732 Update CODE_OF_CONDUCT.md 2025-03-29 15:38:13 -04:00
mygrexit
ca612a138f fix: apply natural sorting for item names (#607) 2025-03-26 20:31:49 -04:00
Matt Kilgore
c275fa3e4a Fixes #605 2025-03-26 09:46:52 -04:00
Weblate
0ba6c08dda Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.6% (308 of 309 strings)

Co-authored-by: Cheng Gu <guchengf@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/zh_Hans/
Translation: Homebox/Frontend
2025-03-25 09:35:33 +00:00
Weblate
35b3e94b2f Translated using Weblate (Hungarian)
Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Russian)

Currently translated at 93.5% (289 of 309 strings)

Translated using Weblate (French)

Currently translated at 96.7% (299 of 309 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: Adam Kleizer <adamkleizer@gmail.com>
Co-authored-by: Eugene Zrazhevsky <eugeny.zrazhevsky@gmail.com>
Co-authored-by: Hannes Salen <hannes.salen@gmail.com>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: alexdelli <alexdelli@gmail.com>
Co-authored-by: buzz <buzz.eclair@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/hu/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/it/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ru/
Translation: Homebox/Frontend
2025-03-24 10:35:33 +00:00
Weblate
bf9ac0fb3b Translated using Weblate (Hungarian)
Currently translated at 100.0% (309 of 309 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (309 of 309 strings)

Co-authored-by: Adam Kleizer <adamkleizer@gmail.com>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/hu/
Translation: Homebox/Frontend
2025-03-24 06:10:17 +00:00
Katos
c5ae258757 Exclude sold items from TotalPrice calculation
Exclude items that have a solddate from total price calculation
2025-03-23 20:48:39 +00:00
Katos
9a1bd6bfc4 Re-add photopreview, will fix this in a separate issue for Linting 2025-03-23 20:47:45 +00:00
Katos
1c802feabe Remove PhotoPreview import to fix Linting errors 2025-03-23 20:45:39 +00:00
Katos
6b0c28df83 Add method to type ItemSummary 2025-03-23 20:34:29 +00:00
Katos
7937518ef0 Fix issue with duplicated SoldTime struct 2025-03-23 20:27:50 +00:00
Katos
406eca7709 Exclude items that have a solddate from total price calculation 2025-03-23 20:17:40 +00:00
Matthew Kilgore
e716fe54e1 Merge remote-tracking branch 'origin/main' 2025-03-22 21:45:08 -04:00
Matthew Kilgore
64b4173d1d fix: borked doc param 2025-03-22 21:45:01 -04:00
Matt Kilgore
dcf16ba4c9 Update index.md 2025-03-22 14:09:50 -04:00
Matthew Kilgore
c00edce158 chore: Use our own site instead of jsDelivr 2025-03-22 14:04:08 -04:00
Matt Kilgore
71d9b6605b Update api.md 2025-03-22 13:47:56 -04:00
Matt Kilgore
8e9571c96a Update api.md 2025-03-22 13:31:09 -04:00
Matt Kilgore
41ff4c4664 Mk/fix api docs (#601)
* fix: API URLs for docs

* fix: merge issue

* fix: Lets try this again with some minor changes
2025-03-22 13:26:42 -04:00
Katos
7279703d7c Revert temp API test 2025-03-22 16:59:30 +00:00
Katos
6b938a88cf FIX: Dynamically patch the BaseURL on load (API) 2025-03-22 16:56:50 +00:00
Katos
8854a6835e API changes 2025-03-22 16:52:47 +00:00
Katos
51291e94b0 Skill issue central, sorry! 2025-03-22 16:51:00 +00:00
Katos
733d1c5f77 Stoplight being stupid with BaseURL 2025-03-22 16:49:16 +00:00
Katos
91fde1e3d7 Adjust API footer to AGPL license 2025-03-22 16:44:02 +00:00
Katos
46539547af API: Dynamically reload CSS on light/dark mode 2025-03-22 16:38:05 +00:00
Katos
858f242e52 Fix host URL 2025-03-22 16:36:40 +00:00
Katos
1c7b6fef9e Update BaseURL on API 2025-03-22 16:35:08 +00:00
Matt Kilgore
d5b062cd62 fix: API URLs for docs (#599)
* fix: API URLs for docs

* fix: merge issue
2025-03-22 12:04:52 -04:00
Katos
e216d46848 Update API 2025-03-22 15:42:36 +00:00
Katos
9ee6b7b72f Remove hash router 2025-03-22 15:38:40 +00:00
Katos
a7c3c7041a Update openapi-2.0.json 2025-03-22 15:37:59 +00:00
Katos
92a0fa1193 Update openapi-2.0.json 2025-03-22 15:34:18 +00:00
Katos
46d217232a Update api.md 2025-03-22 15:33:14 +00:00
Katos
3b35612574 Yeet a test to fix API redirect issues 2025-03-22 15:31:34 +00:00
Matt Kilgore
5e2e8b66d8 Mk/simplified analytics (#596)
* chore: move analytics to it's own seperate file and function.

* chore: fix linting
2025-03-22 11:24:57 -04:00