1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
mealie/frontend/pages
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
..
admin feat(lang): more localization(#2219) 2023-03-21 11:45:27 -08:00
cookbooks fix: 2148 infinite scroll on search (#2173) 2023-02-26 10:20:26 -09:00
explore/recipes/_groupId fix: set meta description and image for shared recipes (#1635) 2022-09-10 09:29:21 -08:00
group fix: Potential Fix for Global Timeline Server Error (#2372) 2023-05-06 10:01:38 -08:00
recipe feat: Parser Workflow Improvements (#2249) 2023-04-01 17:43:59 -08:00
recipes refator: reuse search page component (#2240) 2023-03-12 12:59:28 -08:00
register fix: frontend register url (#2231) 2023-03-12 12:40:31 -08:00
shared/recipes fix: set meta description and image for shared recipes (#1635) 2022-09-10 09:29:21 -08:00
shopping-lists fix: Shopping List Label Dropdown Doesn't Save Correctly (#2361) 2023-04-25 09:46:58 -08:00
user feat(lang): more localization(#2219) 2023-03-21 11:45:27 -08:00
forgot-password.vue Refactor/composables-folder (#787) 2021-11-06 11:28:47 -08:00
index.vue feat: random sort option for front page (#2363) 2023-05-29 16:56:20 -08:00
login.vue Localize hard-coded texts (#2044) 2023-01-28 16:39:51 -09:00
reset-password.vue Refactor/composables-folder (#787) 2021-11-06 11:28:47 -08:00