13 Commits

Author SHA1 Message Date
2d4214562a Added the profile feature 2025-08-05 10:51:31 -06:00
renovate[bot]
668bdaab6b Update plugin org.gradle.toolchains.foojay-resolver-convention to v0.8.0 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-24 18:43:01 +00:00
Kirill Kamakin
c03c65a96b Add Kotlinx Kover test coverage calculator (#199)
* Add Kotlin Kover

* Add AuthKtorConfiguration tests

* Ensure at least 25% code coverage

* Exclude Previews from code coverage

* Specify Kover report path for SonarQube

* Add Kover xml report task

* Extract sonar to a separate step

* Add some exclusions and minimum coverage

* Exclude Hilt-generated classes

* Add shopping list view model tests

* Reduce the coverage requirement
2024-02-17 10:43:36 +01:00
Kirill Kamakin
888783bf14 Update dependencies (#172)
* Remove rootCoverage

* Bump versions of dependencies

* Update GitHub Actions dependencies
2023-10-15 22:08:31 +02:00
Kirill Kamakin
1e5e727e92 Implement shopping lists screen (#129)
* Initialize shopping lists feature

* Start shopping lists screen with Compose

* Add icon to shopping list name

* Add shopping lists to menu

* Set max size for the list

* Replace compose-adapter with accompanist

* Remove unused fields from shopping lists response

* Show list of shopping lists from BE

* Hide shopping lists if Mealie is 0.5.6

* Add shopping list item click listener

* Create material app theme for Compose

* Use shorter names

* Load shopping lists by pages and save to db

* Make page handling logic match recipes

* Add swipe to refresh to shopping lists

* Extract SwipeToRefresh Composable

* Make LazyPagingColumn generic

* Show refresh only when mediator is refreshing

* Do not refresh automatically

* Allow controlling Activity state from modules

* Implement navigating to shopping list screen

* Move Compose libraries setup to a plugin

* Implement loading full shopping list info

* Move Storage classes to database module

* Save shopping list items to DB

* Use separate names for separate ids

* Do only one DB version update

* Use unique names for all columns

* Display shopping list items

* Move OperationUiState to ui module

* Subscribe to shopping lists updates

* Indicate progress with progress bar

* Use strings from resources

* Format shopping list item quantities

* Hide unit/food/note/quantity if they are not set

* Implement updating shopping list item checked state

* Remove unnecessary null checks

* Disable checkbox when it is being updated

* Split shopping list screen into composables

* Show items immediately if they are saved

* Fix showing "list is empty" before the items

* Show Snackbar when error happens

* Reduce shopping list items paddings

* Remove shopping lists when URL is changed

* Add error/empty state handling to shopping lists

* Fix empty error state

* Fix tests compilation

* Add margin between text and button

* Add divider between checked and unchecked items

* Move divider to the item

* Refresh the shopping lists on authentication

* Use retry when necessary

* Remove excessive logging

* Fix pages bounds check

* Move FlowExtensionsTest

* Update Compose version

* Fix showing loading indicator for shopping lists

* Add Russian translation

* Fix SDK version lint check

* Rename parameter to match interface

* Add DB migration TODO

* Get rid of DB migrations

* Do not use pagination with shopping lists

* Cleanup after the pagination removal

* Load shopping list items

* Remove shopping lists storage

* Rethrow CancellationException in LoadingHelper

* Add pull-to-refresh on shopping list screen

* Extract LazyColumnWithLoadingState

* Split refresh errors and loading state

* Reuse LazyColumnWithLoadingState for shopping list items

* Remove paging-compose dependency

* Refresh shopping list items on authentication

* Disable missing translation lint check

* Update Compose and Kotlin versions

* Fix order of checked items

* Hide useless information from a shopping list item
2023-07-03 15:07:19 +02:00
Kirill Kamakin
4dcf1cc915 Extract base test classes to separate module 2022-11-12 13:52:56 +01:00
Kirill Kamakin
bbc368ce69 Reuse build configuration for logger 2022-11-05 12:42:58 +01:00
Kirill Kamakin
e0a4442e72 Create network module 2022-08-06 18:23:10 +02:00
Kirill Kamakin
ba5f7322ab Implement logging module 2022-08-05 18:58:21 +02:00
Kirill Kamakin
8784912cdb Extract AddRecipeInput proto file to a module 2022-08-04 20:53:26 +02:00
Kirill Kamakin
53b40bbc60 Extract database module 2022-08-04 19:34:21 +02:00
Kirill Kamakin
4d53b10db0 Extract application build setup to plugin 2022-08-03 19:48:55 +02:00
Kirill Kamakin
8193db9498 Migrate to Kotlin DSL 2022-07-29 21:43:07 +02:00