1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
mealie/frontend
Jacob Corn e1d3a247c7
feat: random sort option for front page (#2363)
* Add hook for random sorting

* Add random sorting to front page

* Add multiple tests for random sorting.

* Be extra sure that all recipes are returned.

* Too stable random. seed doesn't reach backend.

* add timestamp to useRecipeSearch

* Update randomization tests for timestamp seeding

* ruff cleanup

* pass timestamp separately in getAll

* remove debugging log items

* remove timestamp from address bar

* remove defaults from backend timestamps

* timestamp should be optional

* fix edge case: query without timestamp

* similar edge case: no timestamp in pagination

* ruff :/

* better edge case handling

* stabilize random search test w/more recipes

* better pagination seeding

* update pagination seed test

* remove redundant random/seed check

* Test for api routes to random sorting.

* please the typing gods

* hack to make query parameters throw correct exc

* ruff

* fix validator message typo

* black reformatting

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-05-29 16:56:20 -08:00
..
assets fix: font loading in css (#2182) 2023-02-26 10:29:11 -09:00
components feature: query filter support for common SQL keywords (#2366) 2023-05-06 14:28:40 -08:00
composables feat: random sort option for front page (#2363) 2023-05-29 16:56:20 -08:00
lang New Crowdin updates (#2340) 2023-05-05 14:11:53 -08:00
layouts Feature: Global Timeline (#2265) 2023-04-25 09:46:00 -08:00
lib feat: random sort option for front page (#2363) 2023-05-29 16:56:20 -08:00
pages feat: random sort option for front page (#2363) 2023-05-29 16:56:20 -08:00
plugins fix: delay dark mode loading to bypass vuetify bug (#1877) 2022-12-04 10:30:02 -09:00
static Fix/potential-pwa-fix-4 (#1993) 2023-01-06 15:26:25 -09:00
store Setup vite for development 2021-08-08 17:01:45 -08:00
tests fix: eslint errors and failing tests (#2078) 2023-01-29 13:01:41 -09:00
types Feature: Add "Authentication Method" to allow existing users to sign in with LDAP (#2143) 2023-02-26 10:12:16 -09:00
.editorconfig nuxt init 2021-07-31 14:00:28 -08:00
.eslintrc.js chore(deps): update to Nuxt 2.16 (Vue 2.7) (#2144) 2023-02-19 16:11:52 -09:00
.gitignore nuxt init 2021-07-31 14:00:28 -08:00
.nuxtignore ui: rework meal-planner (#2203) 2023-03-02 09:45:06 -09:00
.prettierrc refactor(frontend): 🏗️ scafold pages and componenets folder 2021-07-31 14:45:28 -08:00
nuxt.config.js fix: moved vuetify options from nuxt cfg to vuetify cfg (#2084) 2023-02-01 18:51:51 -09:00
package.json fix: broken frontend development (#2357) 2023-04-25 09:44:48 -08:00
template.env feat(frontend): Add Meal Tags + UI Improvements (#807) 2021-11-20 14:30:38 -09:00
tsconfig.json chore(deps): update to Nuxt 2.16 (Vue 2.7) (#2144) 2023-02-19 16:11:52 -09:00
vitest.config.js chore: frontend testing setup (#1739) 2022-10-22 11:51:07 -08:00
vuetify.options.js fix: moved vuetify options from nuxt cfg to vuetify cfg (#2084) 2023-02-01 18:51:51 -09:00
yarn.lock fix: broken frontend development (#2357) 2023-04-25 09:44:48 -08:00