* chore: added `rel="noopener noreferrer"` to external links for improved security on homepage
* fix: reused variable name
* feat: make the item table use a link instead of a click event
* fix: pagination now shows correct page if loading page that isnt 1
* fix: make save button sticky again on item edit page
* fix: adjust sticky header positioning based on whether legacy header is enabled
* fix: navigate to homepage on unauthorized request in useUserApi function
* fix: enhance link handling in DetailsSection
* fix: improve markdown rendering, don't add big breaks between lines, make the gap smaller and dont have a trailing newline
* fix: use secondary colour as switch secondary colour so its more visible against bg
* fix: call refresh methods on location and label stores during component mount for better data consistency
* fix: loading indicators
* fix: convert detail.text to string for correct URL handling in DetailsSection component
* fix: use replace instead of splice to remove newline at end of markdown
* fix: use css vars for header height
* feat: begin work on topbar refresh
* feat: implement search input functionality
* feat: add ScannerModal component based on scanner page
* feat: add toggle to enable legacy topbar, remove scanner page
* feat: update scanner menu item to use SidebarMenuButton for legacy header support
* chore: lint
* style: make margin and padding more consistent
* feat: fun hack
* fix: remove uneeded log and class=""
* 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 :(
* 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>
* 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>
* 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>
- Required updating query value to use first.value
to set the value of the initial sort
- Ordering starts with name but can be changed to
createdAt or updatedAt by the user
* use vue component for date picker
* zero out database fields even when set to 0001-xx-xx
* fix wrong datetime display + improved datepicker
* fix ts error
* zero out times
* add date-fns to dependencies
* rough implementation of WS based event system for server side notifications of mutation
* fix test construction
* fix deadlock on event bus
* disable linter error
* add item mutation events
* remove old event bus code
* refactor event system to use composables
* refresh items table when new item is added
* fix create form errors
* cleanup unnecessary calls
* fix importer erorrs + limit fn calls on import
Former-commit-id: 2cbcc8bb1d
* new PR tasks
* add homebox to know words
* formatting
* bump deps
* generate db models
* ts errors
* drop id
* fix accessor
* drop unused time field
* change CI
* add expected error
* add type check
* resolve serveral type errors
* hoise in CI
* make login case insensitive
* expand query to support by Field and By AID search
* type generation
* new API callers
* rework search to support field queries
* improve unnecessary data fetches
* clear stores on logout
* change verbage
* add labels
* location tree API
* test fixes
* initial tree location elements
* locations tree page
* update meta-data
* code-gen
* store item display preferences
* introduce basic table/card view elements
* codegen
* set parent location during location creation
* add item support for tree query
* refactor tree view
* wip: location selector improvements
* type gen
* rename items -> search
* remove various log statements
* fix markdown rendering for description
* update location selectors
* fix tests
* fix currency tests
* formatting
* fix generated types
* fix tailwind auto-complete
* force lowercase buttons
* add title and change style for items page
* add copy button support for item details
* empty state for log
* fix duplicate padding
* add option for create without closing the current dialog.
* hide purchase price is not set
* invert toggle for edit mode
* update styles on item cards
* add edit support for maintenance logs
* schema changes
* db generate
* db migration
* add role based middleware
* implement attachment token access
* generate docs
* implement role based auth
* replace attachment specific tokens with gen token
* run linter
* cleanup temporary token implementation
Add archive option feature. Archived items can only be seen on the items page when including archived is selected. Archived items are excluded from the count and from other views
* initial UI for currency selection
* add task to purge invitation tokens
* group API contracts
* fix type import
* use auth middleware
* add currency setting support (UI)
* use group settings for format currency
* fix casing