Commit graph

85 commits

Author SHA1 Message Date
9b28fff3f6 Calendar: Left and right arrow keys can be used to navigate between months 2025-05-25 23:06:09 +02:00
3e91f34303 Add search frontend code 2025-05-24 12:18:23 +02:00
084f7ef445 Add a RON API to search recipes by title + a bit of refactoring 2025-05-21 19:58:31 +02:00
c24b0caeaf Add a API entry point to get all tags 2025-05-20 15:32:54 +02:00
6e017e41a3 Simplify web API (put ids in url) 2025-05-19 22:58:00 +02:00
e4ec80e118 Add some HTTP tests for recipe fields and recipe tags 2025-05-15 00:36:07 +02:00
a4e321e66d Remove scanf dependency 2025-05-13 23:42:52 +02:00
1c2e910dea Replace mime type "application/ron" by "text/ron" and put it in the common crate 2025-05-09 23:45:32 +02:00
6f014ef238 Cleaning 2025-05-07 20:12:49 +02:00
ec36391ec8 Dispaly a user message when a recipe is successfully deleted 2025-05-05 23:28:17 +02:00
d86c8ab6fe Cleaning frontend/Cargo.toml 2025-05-05 12:15:26 +02:00
348b0f24e9 Update dependencies, add translation endpoint, and display a user message when logged in 2025-05-05 01:59:30 +02:00
9c755c6487 Use nu command instead of rm to remove a file 2025-05-01 18:42:25 +02:00
8be2aa0129 - CSS for modal dialog
- User can click outside modal dialog to close it
2025-05-01 00:48:51 +02:00
2b7e88ae95 Doc + little CSS adjustement 2025-04-30 19:29:03 +02:00
58e299b337 Set parameter SameSite to Lax for both cookies *dark_theme* and *lang* 2025-04-30 17:38:16 +02:00
fb62288161 Implement Default trait for Config type 2025-04-29 18:09:58 +02:00
be6905cc3b Logo for dark theme 2025-04-28 02:34:42 +02:00
cf9c6b2a3f Refactor toast notifications and modal dialog implementation
- Updated SCSS for toast notifications to support multiple toast types (success, info, warning, error) and improved layout.
- Added new SVG icons for error, info, success, and warning notifications.
- Created separate HTML templates for toast notifications and modal dialogs.
- Enhanced the dev panel with buttons to test different toast notifications and modal dialogs.
2025-04-27 12:49:39 +02:00
7b9df97a32 Log errors in the user module 2025-04-27 02:57:08 +02:00
2d1aa4bdfd Toast and modal dialog CSS (WIP). 2025-04-26 01:50:37 +02:00
fdbf2e4f27 Add first day of the week feature to user settings and calendar functionality 2025-04-19 12:01:46 +02:00
f2e0aa3b43 Form CSS style + dev panel (WIP) 2025-04-15 11:34:18 +02:00
719cfafefc Cleaning 2025-04-12 16:01:20 +02:00
2a288abb07 CSS: use a $margin constant. Some CSS improvements (WIP). 2025-04-09 15:08:43 +02:00
2b230ae96a Update dependencies 2025-04-08 18:09:46 +02:00
9b89117a66 Replace endpoint /calendar/schedule_recipe by /calendar/sheduled_recipe 2025-04-02 02:14:17 +02:00
4f739593b8 Rename 'published' to 'public' (for recipe) 2025-04-02 01:53:02 +02:00
bb9a6ba9ec Documentation 2025-04-01 18:14:35 +02:00
63266dec56 Use the default OS theme (dark or light) 2025-03-31 23:37:58 +02:00
315626b3ed Remove useless verbs in web api urls 2025-03-31 21:24:20 +02:00
559ed139aa Add a toggle between dark and light theme 2025-03-31 15:31:06 +02:00
3089ede6eb Add the lang prefix to all links 2025-03-26 12:03:31 +01:00
b39cb1c067 Put the lang in front of url (WIP) 2025-03-26 02:08:20 +01:00
418d31a127 * Support for lang in URL as /fr/recipe/view/42
* Create a pages module in the frontend crate
2025-03-26 01:49:02 +01:00
b812525f4b Update ron version to 0.9 2025-03-19 01:06:57 +01:00
995f77d1ef Doc + formatting 2025-03-18 20:03:25 +01:00
9ed5a04e22 Replace PUT method by the more appropriate PATCH method. 2025-03-18 20:02:30 +01:00
08c4238dcb Replace 'wasm-pack' by 'trunk' 2025-03-11 17:24:13 +01:00
a90c097e2a Set language cookie even when connected + increase number of concurrent connections when sign in and sign up 2025-03-10 21:06:09 +01:00
a590d7e1e9 A bit of clean up 2025-03-02 00:39:58 +01:00
a1fd63ad08 Shopping list items can now be checked/unchecked 2025-02-12 23:13:48 +01:00
da5ea57787 Ingredients can now be remove from shopping list when a recipe is unscheduled. 2025-02-12 02:05:38 +01:00
a3f2b4a86a Scheduled recipes can now be removed 2025-02-12 00:22:50 +01:00
084be9fb00 Shopping list (WIP) 2025-02-11 19:39:13 +01:00
ce3821b94e Ingredients can now be added to shopping list when a recipe is scheduled 2025-02-10 15:02:20 +01:00
15173c4842 Do not display remove buttons for scheduled recipes when picking a date 2025-02-10 00:06:09 +01:00
37721ac3ea Calendar is now displayed on home page and recipes can be scheduled without being logged 2025-02-08 22:31:38 +01:00
ccb1248da3 Toast message when scheduling a recipe 2025-02-05 15:44:48 +01:00
fbef990022 Recipe can now be scheduled 2025-02-04 22:29:56 +01:00