Commit Graph

78 Commits

Author SHA1 Message Date
Kirill Kamakin
226097d096 Remove recipe from local db when deleted 2022-12-16 20:24:40 +01:00
Kirill Kamakin
878fc8f080 Replace LiveData with Flow for delete result 2022-12-16 20:06:44 +01:00
Kirill Kamakin
822fdf86e4 Show confirmation dialog before deleting recipe 2022-12-16 19:42:46 +01:00
Kirill Kamakin
9ab86e7be3 Initialize recipe removal feature 2022-12-16 17:56:03 +01:00
Kirill Kamakin
a20694e7fd Hide/show favorite icon on sign-out/sign-in 2022-12-16 17:24:35 +01:00
Kirill Kamakin
cd3931e147 Show error message when favorite update fails 2022-12-16 17:24:35 +01:00
Kirill Kamakin
30ee8ecdea Add TODOs 2022-12-16 17:24:35 +01:00
Kirill Kamakin
af390ebcaf Fix recipe list diff calculation 2022-12-16 17:24:34 +01:00
Kirill Kamakin
4334fdaa6a Replace add/remove with update 2022-12-16 17:24:34 +01:00
Kirill Kamakin
2fa43f57b7 Update favorite status on icon click 2022-12-16 17:24:34 +01:00
Kirill Kamakin
3eb99206e8 Display favorite icon on recipe holders 2022-12-16 17:24:33 +01:00
Kirill Kamakin
54d0c895a9 Extract Authorization header to an interceptor 2022-12-10 08:15:46 +01:00
Kirill Kamakin
a18984bda0 Implement displaying ingredient sections 2022-12-04 19:25:36 +01:00
Kirill Kamakin
221ab89b86 Fix formatting zeroes 2022-12-04 19:02:14 +01:00
Kirill Kamakin
aee1585106 Add notes when amounts are enabled 2022-12-04 19:00:52 +01:00
Kirill Kamakin
58ccd10f35 Do not filter blank ingredients and instructions 2022-12-04 18:59:20 +01:00
Kirill Kamakin
a628912557 Parse ingredient amounts from V1 response 2022-12-04 18:47:27 +01:00
Kirill Kamakin
7fa96affe8 Show text when no recipes found 2022-11-21 20:17:16 +01:00
Kirill Kamakin
d7c94d29d4 Hide edit text cursor on list scroll 2022-11-20 15:49:14 +01:00
Kirill Kamakin
fd235c43c7 Use id to determine current destination 2022-11-20 14:41:38 +01:00
Kirill Kamakin
6c3abbd51c Highlight current tab in navigation drawer 2022-11-20 10:36:26 +01:00
Kirill Kamakin
1a4d15b680 Lock drawer closed in onboarding 2022-11-19 12:30:43 +01:00
Kirill Kamakin
4510087209 Remove custom shapes and elevations 2022-11-19 10:00:04 +01:00
Kirill Kamakin
e86b24c3f6 Use material toolbar without action bar 2022-11-18 22:42:56 +01:00
Kirill Kamakin
db3458ca2e Allow reading recipe info from DB 2022-11-17 22:05:59 +01:00
Kirill Kamakin
274a3ec20f Hide keyboard when user scrolls recipe list 2022-11-17 20:56:07 +01:00
Kirill Kamakin
32d366b8fd Fix absent recipe refresh on authorization 2022-11-13 15:38:45 +01:00
Kirill Kamakin
280f282972 Disable swipe refresh when data is refreshing 2022-11-13 15:29:44 +01:00
Kirill Kamakin
5c66247843 Rename RecipesFragment to RecipesListFragment 2022-11-13 15:04:24 +01:00
Kirill Kamakin
21abf38282 Start search implementation 2022-11-12 15:27:27 +01:00
Kirill Kamakin
0c0248dbbc Ignore ingredients with empty note 2022-11-06 20:02:51 +01:00
Kirill Kamakin
5ed6d44099 Fix crashing when tapping too fast 2022-11-06 19:37:42 +01:00
Kirill Kamakin
4ad3e7662e Split loadRecipeInfo to refresh/load 2022-11-06 19:37:42 +01:00
Kirill Kamakin
cc73f68751 Fix jumping recipe info sheet 2022-11-06 19:37:42 +01:00
Kirill Kamakin
ff38ce655d Read navigation argumens in ViewModel 2022-11-06 19:37:42 +01:00
Kirill Kamakin
d873bfa2ed Ignore load errors if wasn't loading 2022-11-05 11:32:17 +01:00
Kirill Kamakin
39ce70f964 Remove unnecessary method 2022-11-05 11:08:12 +01:00
Kirill Kamakin
7800d7e754 Simplify RecipesPagingAdapter creation 2022-11-05 11:06:21 +01:00
Kirill Kamakin
1ee0456494 Use repeatOnLifecycle 2022-11-05 10:57:56 +01:00
Kirill Kamakin
b7bb6c8566 Simplify edge case handling 2022-11-05 10:40:15 +01:00
Kirill Kamakin
33bdaf9726 Show load end/load failure toasts 2022-11-04 22:13:57 +01:00
Kirill Kamakin
714ff7d33f Request recipes on successful authorization 2022-11-04 21:51:14 +01:00
Kirill Kamakin
6280445a7c Move runCatchingExceptCancel to datasource 2022-10-29 19:31:02 +02:00
Kirill Kamakin
47addc3b90 Fix opening recipes on v0.5.6 2022-10-29 17:46:28 +02:00
Kirill Kamakin
45b1b07372 Fix absent images on v0.5.6 2022-10-29 17:33:39 +02:00
Kirill Kamakin
95205f8ffe Initialize v1 support 2022-08-14 18:19:42 +02:00
Kirill Kamakin
e0a4442e72 Create network module 2022-08-06 18:23:10 +02:00
Kirill Kamakin
107bb64256 Replace Timber with Logger 2022-08-05 20:16:29 +02:00
Kirill Kamakin
53b40bbc60 Extract database module 2022-08-04 19:34:21 +02:00
Kirill Kamakin
e18f726da5 Implement adding recipes through app 2022-06-12 12:49:18 +02:00