Commit graph

77 commits

Author SHA1 Message Date
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
ae6da1a5ae Add default servings to profile + choose servings when scheduling 2025-02-03 23:42:07 +01:00
d8641d4db6 Calendar (WIP): user can select a day 2025-02-02 12:50:12 +01:00
79a0aeb1b8 Calendar (WIP) 2025-01-29 14:37:25 +01:00
9d3f9e9c60 Add a calendar to schedule a recipe to a chosen date (WIP) 2025-01-23 03:01:15 +01:00
65489e7692 Rewrite README + use lettre crate to validate email address instead of regex 2025-01-16 23:09:06 +01:00
67e13d9074 Factorize some ron api types 2025-01-16 00:43:19 +01:00
ca2227037f Ingredients can now be manually ordered 2025-01-16 00:17:08 +01:00
54989f3212 Forced lower case tags 2025-01-15 10:49:46 +01:00