Commit Graph

839 Commits

Author SHA1 Message Date
Kirill Kamakin
2375be0329 Reduce memory footprint of Hilt (#159)
* Remove @Singleton where it is not needed

* Use @AssistedFactory where possible
2023-07-04 18:22:16 +02:00
Kirill Kamakin
2bc2bb76e4 Add supported languages to app language list (#158) 2023-07-03 15:50:00 +02:00
Kirill Kamakin
9e56efa8da New Crowdin updates (#157)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)

* New translations plurals.xml (French)

* New translations plurals.xml (German)

* New translations plurals.xml (Dutch)

* New translations plurals.xml (Portuguese)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)
2023-07-03 15:35:06 +02:00
Kirill Kamakin
bebbf02cb7 New translations strings.xml (Russian) (#156) 2023-07-03 15:22:04 +02:00
Kirill Kamakin
1bc21fbd08 Update crowdin configuration (#155) 2023-07-03 15:15:22 +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
a40f9a78ea Bump app version (#154) 2023-07-02 09:23:20 +02:00
Kirill Kamakin
3f93578ff0 Enable per-app language support (#153) 2023-07-02 09:20:05 +02:00
Kirill Kamakin
7560ac874e New Crowdin updates (#152)
* New translations short_description.txt (Russian)

* New translations full_description.txt (Russian)

* New translations 23.txt (Russian)

* New translations 24.txt (Russian)

* New translations 25.txt (Russian)

* New translations 26.txt (Russian)

* New translations 27.txt (Russian)

* New translations title.txt (Russian)
2023-07-02 09:02:45 +02:00
Kirill Kamakin
53c4950a00 New Crowdin updates (#150)
* New translations strings.xml (Spanish)

* New translations short_description.txt (Spanish)

* New translations full_description.txt (Spanish)

* New translations 23.txt (Spanish)

* New translations 24.txt (Spanish)

* New translations 25.txt (Spanish)

* New translations 26.txt (Spanish)

* New translations 27.txt (Spanish)

* New translations plurals.xml (Spanish)

* New translations title.txt (Spanish)
2023-07-02 08:49:13 +02:00
Kirill Kamakin
97d446cc34 Update crowdin.yml (#151) 2023-07-02 08:40:41 +02:00
Kirill Kamakin
760c8f82c1 Update README.md (#149) 2023-06-29 20:54:29 +02:00
Kirill Kamakin
266afddbe2 New Crowdin updates (#148)
* New translations strings.xml (Russian)

* New translations plurals.xml (Russian)
2023-06-29 20:42:32 +02:00
Kirill Kamakin
bd3d9bdeee Update crowdin.yml (#147) 2023-06-29 20:39:20 +02:00
Kirill Kamakin
dedf473d59 Merge pull request #144 from kirmanak/kirmanak-patch-1
Update crowdin.yml
2023-06-29 20:18:52 +02:00
Kirill Kamakin
28152055bd Update crowdin.yml 2023-06-29 20:18:45 +02:00
Kirill Kamakin
81daa3e9e7 Merge pull request #142 from kirmanak/crowdin
Create crowdin.yml configuration
2023-06-29 19:38:13 +02:00
Kirill Kamakin
7e35274d16 Create crowdin.yml configuration 2023-06-29 19:37:52 +02:00
Kirill Kamakin
6c759f486b Merge pull request #141 from kirmanak/dependencies
Update Actions dependencies
2023-05-03 21:49:10 +02:00
Kirill Kamakin
893afb215c Update Actions dependencies 2023-05-03 18:55:56 +02:00
Kirill Kamakin
3c0a72ae16 Merge pull request #140 from kirmanak/release-notes
Add changelog for release 27
2023-04-07 15:20:26 +02:00
Kirill Kamakin
4b5df79303 Add changelog for release 27 2023-04-07 15:19:25 +02:00
Kirill Kamakin
914d12538b Merge pull request #139 from kirmanak/login-field
Update email input field hint
2023-04-07 15:14:25 +02:00
Kirill Kamakin
980bcb1f43 Update email input field hint 2023-04-07 15:05:18 +02:00
Kirill Kamakin
3dc3aa006e Merge pull request #138 from kirmanak/versions
Bump versions of dependencies
2023-04-07 15:01:09 +02:00
Kirill Kamakin
d6a4fbb365 Bump versions of dependencies 2023-04-07 14:52:31 +02:00
Kirill Kamakin
c67e42be47 Merge pull request #137 from kirmanak/ux
Some UI/UX improvements
2023-04-07 14:51:54 +02:00
Kirill Kamakin
559ddb6056 Add search icon 2023-04-07 14:29:52 +02:00
Kirill Kamakin
9b03cfcbb4 Show Toast when recipe favorite status is updated 2023-04-07 14:14:25 +02:00
Kirill Kamakin
b78d30790f Increase space between recipes 2023-04-07 14:13:45 +02:00
Kirill Kamakin
132e12cab7 Increase search bar size 2023-04-07 14:13:45 +02:00
Kirill Kamakin
746e3db060 Merge pull request #136 from kirmanak/server-version
Fallback to V1 if server version is unknown
2023-04-07 14:06:29 +02:00
Kirill Kamakin
05f1c974a6 Update unit tests accordingly 2023-04-07 13:58:09 +02:00
Kirill Kamakin
12d39282de Bump version to 0.3.12 (27) 2023-04-07 13:38:40 +02:00
Kirill Kamakin
fba266fcb0 Fallback to V1 if server version is unknown 2023-04-07 13:30:35 +02:00
Kirill Kamakin
4ead4840a2 Merge pull request #133 from kirmanak/f-droid-readme
Add F-droid to README.md
2023-02-23 18:53:42 +01:00
Kirill Kamakin
7ad6ae466b Add F-droid to README.md 2023-02-23 18:45:08 +01:00
Kirill Kamakin
e81b224ad4 Merge pull request #131 from kirmanak/changelog
Add changelog for release 26 (0.3.11)
2023-02-01 16:45:34 +01:00
Kirill Kamakin
b9778ed4e7 Add changelog for release 26 (0.3.11) 2023-02-01 16:41:54 +01:00
Kirill Kamakin
c8603b90eb Merge pull request #130 from kirmanak/gradle-version
Update the gradle binaries
2023-02-01 16:41:41 +01:00
Kirill Kamakin
717d4a9e9c Update the gradle binaries 2023-02-01 16:37:13 +01:00
Kirill Kamakin
f50452c29e Merge pull request #128 from kirmanak/fastlane
Add Fastlane metadata for F-droid
2023-01-24 21:33:06 +01:00
Kirill Kamakin
3294c5233f Fix title.txt contents 2023-01-24 21:19:13 +01:00
Kirill Kamakin
da21c46bc0 Add phone screenshots with correct aspect ratio 2023-01-24 21:15:07 +01:00
Kirill Kamakin
00e72fdfd9 Add title to Fastlane metadata 2023-01-24 21:04:48 +01:00
Kirill Kamakin
e6552ad5f7 Add Fastlane metadata for F-droid 2023-01-24 20:41:28 +01:00
Kirill Kamakin
bec8d67bce Merge pull request #124 from kirmanak/base-url-fallback
Fallback to HTTP if automatically chosen HTTPS fails
2022-12-22 19:09:43 +01:00
Kirill Kamakin
f322112405 Fallback to HTTP if 443 is closed too 2022-12-22 18:48:46 +01:00
Kirill Kamakin
67eb1eca8b Simplify getBaseUrl method 2022-12-22 18:43:18 +01:00
Kirill Kamakin
05058091e9 Add BaseURLViewModel tests 2022-12-22 18:39:31 +01:00