rewrite get_all routes to use a pagination pattern to allow for better implementations of search, filter, and sorting on the frontend or by any client without fetching all the data. Additionally we added a CI check for running the Nuxt built to confirm that no TS errors were present. Finally, I had to remove the header support for the Shopping lists as the browser caching based off last_updated header was not allowing it to read recent updates due to how we're handling the updated_at property in the database with nested fields. This will have to be looked at in the future to reimplement. I'm unsure how many other routes have a similar issue.
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
* Fix or comment several ts-ignores
* Fix typing related to BaseOverflowButton
* Remove unused functionality of useCookbooks, fix usage bug
* Fix more typing, add some comments
* Only allow ts-ignore if it has a comment
* move api clients and rename
* organize recipes composables
* rewrite useRecipeContext
* refactor(frontend): ♻️ abstract common ingredient functionality.
* feat(frontend): ✨ add scale, and back to recipe button + hide ingredients if none
* update regex to mach 11. instead of just 1.
* minor UX improvements
Co-authored-by: Hayden K <hay-kot@pm.me>
* make entry for NLP model `setup-model`
* add comments
* feat(frontend): ✨ Rewrite context menu in TS and add 'add to mealplan' options
* add note to changelog
Co-authored-by: Hayden K <hay-kot@pm.me>
* fix(backend): 🐛 Fix favorite assignment on backend
* fix(frontend): 🐛 fix printer button on recipe page
* style(frontend): 🚸 add user feadback on copy of recipe link
* fix(frontend): 🐛 Fix enableLandscape incorrect bindings to remove duplicate values
* feat(frontend): ✨ add ingredient copy button for markdown list -[ ] format
* feat(frontend): ✨ add remove prefix button to bulk entry
* fix(frontend): 🐛 disable random button when no recipes are present
* fix(frontend): ✨ fix .zip download error
* fix(frontend): 🚸 close image dialog on upload/get
* fix(frontend): 🐛 fix assignment on creation for categories and tags
* feat(frontend): ✨ Open editor on creation / fix edit button on main screen
* fix(frontend): 🐛 fix false negative regex match for urls on creationg page
* feat(frontend): 🚸 provide better user feadback when recipe exists
* feat(frontend): ✨ lock bulk importer on submit
* remove zip from navigation
* fix(frontend): ✨ rerender recipes on delete
Co-authored-by: Hayden K <hay-kot@pm.me>