Commit Graph

488 Commits

Author SHA1 Message Date
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
a638133621 Increase page size to improve load speed 2022-11-13 14:58:04 +01:00
Kirill Kamakin
abd356b461 Add main view model tests 2022-11-13 13:25:12 +01:00
Kirill Kamakin
be534e73c3 Add paging factory tests 2022-11-13 13:18:08 +01:00
Kirill Kamakin
946f34cb37 Insert all recipes in one query 2022-11-13 13:17:55 +01:00
Kirill Kamakin
b7e8054d38 Fix unit tests 2022-11-13 11:05:36 +01:00
Kirill Kamakin
4fe9f7fccc Fix log message in setupSearchItem 2022-11-13 11:01:36 +01:00
Kirill Kamakin
9ae34e314f Remove unused searchable configuration 2022-11-13 10:58:54 +01:00
Kirill Kamakin
a952a5252e Hide InvalidatingPagingSourceFactory behind interface 2022-11-13 10:54:03 +01:00
Kirill Kamakin
929aad5659 Fix search text color 2022-11-13 10:46:29 +01:00
Kirill Kamakin
8980a519e3 Use SearchView's callbacks instead of Intents 2022-11-13 10:22:40 +01:00
Kirill Kamakin
0db76155a5 Send null queries to ViewModel 2022-11-13 10:10:45 +01:00
Kirill Kamakin
5a874e4899 Refresh results on new search automatically 2022-11-13 10:03:36 +01:00
Kirill Kamakin
79631a7eb0 Implement full text search 2022-11-13 09:52:52 +01:00
Kirill Kamakin
21abf38282 Start search implementation 2022-11-12 15:27:27 +01:00
Kirill Kamakin
980ffd54cb Link "testing" as test dependency 2022-11-12 14:06:57 +01:00
Kirill Kamakin
4dcf1cc915 Extract base test classes to separate module 2022-11-12 13:52:56 +01:00
Kirill Kamakin
cb23f1a62d Extract repetitive test setup to base class 2022-11-12 13:41:23 +01:00
Kirill Kamakin
612101f1b4 Fix base URL view model coverage calculation 2022-11-12 13:21:46 +01:00
Kirill Kamakin
3504eae248 Add base URL tests 2022-11-12 12:48:46 +01:00
Kirill Kamakin
4e1e3f81e3 Allow changing base URL from UI 2022-11-12 12:32:44 +01:00
Kirill Kamakin
e835d5bbe5 Replace deep links with global actions 2022-11-12 11:28:10 +01:00
Kirill Kamakin
ad22227f8e Simplify view binding in Activity 2022-11-12 11:10:20 +01:00
Kirill Kamakin
a501e6e9b9 Update app version 2022-11-06 20:19:19 +01:00
Kirill Kamakin
0c0248dbbc Ignore ingredients with empty note 2022-11-06 20:02:51 +01:00
Kirill Kamakin
3b88eb65e8 Add RecipeViewModel tests 2022-11-06 19:37:43 +01:00
Kirill Kamakin
0c87657b55 Add RecipeInfoViewModel test 2022-11-06 19:37:42 +01:00
Kirill Kamakin
5ed6d44099 Fix crashing when tapping too fast 2022-11-06 19:37:42 +01:00
Kirill Kamakin
b3ea95f732 Update recipe repo 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
bbc368ce69 Reuse build configuration for logger 2022-11-05 12:42:58 +01:00
Kirill Kamakin
79324278de Add Analytics tests 2022-11-05 12:42:58 +01:00
Kirill Kamakin
dc23c6574a Revert "Use separate Firebase project to debug"
This reverts commit 93b10eaaf61401efd26d7d8cb192880e434fd4ac.
2022-11-05 12:42:58 +01:00
Kirill Kamakin
52519a8d29 Revert "Move release Firebase config to type dir"
This reverts commit 3b08a6384c2349f426616b5f7d72c7040541e24f.
2022-11-05 12:42:58 +01:00
Kirill Kamakin
f98de3784e Disable Firebase data collection in debug builds 2022-11-05 12:42:57 +01:00
Kirill Kamakin
b84406d384 Move release Firebase config to type dir 2022-11-05 12:42:57 +01:00
Kirill Kamakin
8a4d2a7d1b Use separate Firebase project to debug 2022-11-05 12:42:57 +01:00
Kirill Kamakin
dfd590ee50 Add RecipeViewModel tests 2022-11-05 12:17:48 +01:00
Kirill Kamakin
2027f6ac60 Add valueUpdatesOnly tests 2022-11-05 11:44:14 +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
e0780e9a9f Add login data examples 2022-11-04 20:53:01 +01:00