Commit Graph

189 Commits

Author SHA1 Message Date
tonyaellie
d71da5f1ee fix: login page tailwind 2025-02-02 00:11:43 +00:00
Tonya
e708bd9839 Begin switching from daisyui to shadcnui (#492)
* feat: add shadcn

* feat: add themes

* feat: make sidebar use shadcn

* feat: sort bg

* feat: lint fixes

* feat: make daisyui toggleable, add tooltips to sidebar, add work in progress docs page

* fix: theme switching for shadcn

* Fix minor profile.vue issue

* feat: update docs, enlarge SidebarMenuButton and refine profile layout

* feat: add testing page

* feat: update css and remove comments from template

* fix: create dropdown not opening due to tooltip interference also lint

* fix: correct CSS selector for homebox in main.css to ensure proper theming functionality

* feat: make theme switching actually kinda work for shadcn

* fix: sidebar colours

* fix: remove unused router import, made sidebar indicate active page and sort tailwind config linting

* style: update styles

* chore: remove unused duplicate code

* style: refine theme management, CSS variables, get styles closer to original

* feat: implement suggested changes

* feat: better button size

---------

Co-authored-by: Matt Kilgore <tankerkiller125@users.noreply.github.com>
2025-02-01 10:32:10 +00:00
Matt Kilgore
574079437a Update label-generator.vue 2025-01-28 14:52:41 -05:00
Matt Kilgore
a262ff9628 Attempt to fix label generation issue 2025-01-28 14:45:20 -05:00
zebrapurring
b22a49a0fd feat: add search filter for items with no photo (#383)
* feat: add search filter for items without photos

* chore: configure Golang formatter for VSCode

* fix: displaying long filter labels for some locales

* feat: add search filter for items with photos

* test: fix linter errors

* chore: remove redundant height attribute

* fix: make with/without photo filters mutually exclusive

---------

Co-authored-by: zebrapurring <>
2025-01-27 23:00:24 +00:00
Matt Kilgore
a4e94ddf7a feat: Add measurement types to label generator, part of #436 2025-01-04 11:10:06 -05:00
EdWorth120
1638e35da3 fix: #413 text not wrapping in location names when in location page (#422)
Some checks failed
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Docker publish rootless / build-rootless (push) Has been cancelled
Docker publish / build (push) Has been cancelled
Dockerhub publish / build (push) Has been cancelled
Update Currencies / update-currencies (push) Has been cancelled
2025-01-01 19:58:14 -05:00
Tonya
2ae1115a3e refactor: remove strings lib (#405) 2024-12-26 16:37:07 -05:00
Katos
0f3948d435 Revert "Fix: Show labels on item page" 2024-12-26 17:38:01 +00:00
Katos
29d82fcbfe Update index.vue 2024-12-26 16:57:39 +00:00
Katos
a935c7d0dd Update index.vue 2024-12-26 16:16:34 +00:00
Katos
55d11f0b05 Update index.vue
Update Item page to correct the JSON return for labels and add a fall back if no labels are collected.
2024-12-26 16:09:00 +00:00
zebrapurring
441c2e7a59 feat: add button to copy the item URL (#389)
Some checks failed
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Docker publish rootless / build-rootless (push) Has been cancelled
Docker publish / build (push) Has been cancelled
Update Currencies / update-currencies (push) Has been cancelled
Co-authored-by: zebrapurring <>
2024-12-23 22:18:44 -05:00
zebrapurring
a3ebeb8f6f feat: display item labels in the details page (#387)
Some checks failed
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Docker publish rootless / build-rootless (push) Has been cancelled
Docker publish / build (push) Has been cancelled
Update Currencies / update-currencies (push) Has been cancelled
Co-authored-by: zebrapurring <>
2024-12-20 19:36:14 -05:00
slid1amo2n3e4
beed55f322 Merge branch 'main' into parent-location-sync 2024-12-13 15:01:02 +01:00
slid1amo2n3e4
63eb287485 Make the tests pass, hopefully. 2024-12-10 18:48:49 +01:00
Matt Kilgore
5e81e60106 fix: #289 Corrects the asset ID to always be correct for the description data. (#351) 2024-11-29 13:18:20 -05:00
Tommy Zaft
121d577e45 Show full location (including parents) of items in search results (#347)
* Pass locationFlatTree to ItemCard in order to display full location

* Add item.location.name as fallback if location is not found in flat tree
2024-11-27 15:51:43 -05:00
Adam Kleizer
3d972dcac3 fix: #321 use date-fns for localized datetime formatting (#345)
* fix: #321 use date-fns for localized datetime formatting

* chore: lint fixes for use-formatters

* chore: more lint fixes for use-formatters

* date and currency localization fixes

---------

Co-authored-by: Ádám Kleizer <adkl@boyum-it.com>
2024-11-23 12:33:46 -05:00
Matt Kilgore
daf07d4f35 Merge branch 'main' into parent-location-sync 2024-11-02 23:22:53 -04:00
tonyaellie
40b1793cce feat: sanitise translations when using v-html 2024-10-30 22:40:02 +00:00
Matt Kilgore
ae76538178 Merge branch 'main' into parent-location-sync 2024-10-30 15:49:18 -04:00
tonyaellie
4510712359 feat: make 404 follow theme and add a return home page 2024-10-30 16:01:05 +00:00
Matt Kilgore
ab80805073 Merge branch 'main' into parent-location-sync 2024-10-28 15:51:31 -04:00
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
tonya
1d5b62fdf3 feat: add locale time ago formatting and the local name for the language in language dropdown 2024-10-23 23:56:31 +00:00
tonya
a9616911f5 feat: improve languages support 2024-10-22 23:58:43 +00:00
Matt Kilgore
3eb5ece34d fix: minor things 2024-10-19 13:10:19 -04:00
Matt Kilgore
77246ca57b fix: #290 text not wrapping in correct places 2024-10-19 13:07:26 -04:00
Matt Kilgore
8a6df8a69b fix: label generator gets way bent out of shape with long names 2024-10-16 21:52:46 -04:00
Song Lim
a1e66854cd fix: inaccurate purchaseTime (#279) 2024-10-12 22:05:34 -04:00
Tonya
65b247573e Merge pull request #259
* feat: duplicate item button
2024-10-12 10:29:21 -04:00
slid1amo2n3e4
17e7e24070 Implement syncing child's locations to that of parent. 2024-10-08 15:48:12 -04:00
Matt Kilgore
c6158e7c9e fix: javascript handles nulls in an incredibly stupid way. 2024-10-05 15:38:31 -04:00
Matt Kilgore
da8cc19838 fix: #204 sets inline form inputs to use properties correctly, numbers now enforce correct format. 2024-10-04 14:24:35 -04:00
Matt Kilgore
a3d5485c1d fix: #147 notifier now shows previous input value 2024-10-04 13:49:36 -04:00
Katos
2eb421455b Merge pull request #137 from strass/label-report-prefill
label generation tool prefills already allocated items
2024-09-30 13:15:09 +01:00
Tonya
4a0039c838 Merge branch 'main' into add-char-counts-with-max-to-lots-of-inputs 2024-09-28 20:28:01 +00: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
cabaa07384 fix close & download buttons when viewing a picture attachment (#239) 2024-09-26 13:44:55 -04:00
Filipe Dobreira
4e260c5a8b feat: Fix, add, tweak various empty states across the app (#241)
* fix: add empty state to locations list

* fix: add empty states for homepage lists

* fix: add empty state to notifiers list

* fix: update profile notifiers to use translation, add en and pt-pt copy

* chore: tweak copy for notifier empty state

* fix: add new empty state for search page

* fix: update new empty states to use translation strings

* chore: eslint fixes, translation

* fix: translation key

---------

Co-authored-by: Matt Kilgore <matthew@kilgore.dev>
2024-09-24 08:28:54 -04: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
Filipe Dobreira
897f3842e0 fix: redirect back to locations list after deleting location (#240) 2024-09-23 08:12:59 -04:00
tonya
d159908b91 feat: add char counts 2024-09-17 21:58:57 +00:00
Katos
405d0c7487 Merge pull request #212 from tonyaellie/make-ItemViewTable-headers-customisable
make ItemViewTable headers customisable
2024-09-13 19:53:21 +01:00
Tonya
073aade67f feat: show item is archived in more places (#210) 2024-09-11 10:48:13 -04:00
tonya
b18f0c790b feat: make ItemViewTable headers customisable 2024-09-09 19:38:58 +00:00
Tonya
fb62f51958 feat: refresh search on include archived change (#208) 2024-09-08 20:15:52 -04:00