Commit Graph

909 Commits

Author SHA1 Message Date
renovate[bot]
e5fdd7fed2 Update dependency androidx.compose.material:material to v1.7.2 (#323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 06:46:23 +00:00
renovate[bot]
6c75fe1b3c Update dependency com.android.tools:desugar_jdk_libs to v2.1.2 (#321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 06:32:54 +00:00
Erik
b68cf9a1ae Various addtions to ShoppingList page (#325)
* Improve design of ShoppingListItems

* Improve scrolling behaviour of ShoppingListItemEditor

* Add search functionality to food and unit fields in ShoppingListItemEditor

* Add functionality to display plurals of units in shopping lists

* Fix tests

* Ensure editor displays correctly when switching to food mode.

- Fixed a bug causing the editor to display incorrectly when switching to food mode while at the bottom of the screen

* Fix regressions caused in 5dff173

- Fixed a regression introducing incorrect scrolling behaviour when editing items at the bottom of the page
- Fixed a regression causing the add button to not be hidden

* Prefill fields in ShoppingListItemEditorFoodRow if possible

* Remove unnecessary trigger for bringIntoView function

- Remove unnecessary trigger for bringIntoView function of ShoppingListItemEditor

* Display showAddButton dynamically

* Add support for food plurals

* Extract plural functionality to function

* Remember filtering options

* Use ExposedDropdownMenu instead of DropdownMenu

- Updated selection of foods and units to use ExposedDropdownMenu
- Updated composeBom to 2024.09.02
- Updated composeBom to 2024.09.02 to increment androidx.compose.material3 to 1.3.0 needed for androidx.compose.material3.MenuAnchorType

* Only allow one edit menu to be open at a time
2024-09-29 08:22:50 +02:00
Erik
7c825970ea Group items in shopping lists based on labels (#319)
* Add data classes to hold food label information

- Created `GetFoodLabelResponse` data class to represent food label details
- Updated `GetFoodResponse` to include `label` property of type `GetFoodLabelResponse`

* Add backend to sort items in shopping lists by label

* Add UI code to sort items in shopping lists by label

* Use label from ShoppingListItem instead of Food

* Use list for ShoppingListItems and labels storage

* Fix incorrect routing code

* Only add DefaultLabel if there are items with a label

* Small improvements to comments and formatting
2024-09-07 22:01:02 +02:00
renovate[bot]
5aa2327c01 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.2 (#317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 21:04:20 +02:00
renovate[bot]
a934c006de Update dependency com.android.tools:desugar_jdk_libs to v2.1.1 (#316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 18:46:40 +02:00
renovate[bot]
7431c8a4b2 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 (#310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 16:46:14 +00:00
renovate[bot]
37d89857c7 Update dependency androidx.test:runner to v1.6.2 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 16:46:01 +00:00
renovate[bot]
3e134b1816 Update dependency gradle to v8.10 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 18:32:29 +02:00
renovate[bot]
ac8dd73c43 Update dependency com.google.devtools.ksp to v2.0.10-1.0.24 (#305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 16:20:56 +00:00
renovate[bot]
02083d45e2 Update kotlin monorepo to v2.0.10 (#304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 18:08:50 +02:00
renovate[bot]
882b099eb0 Update gradle/actions action to v4 (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 17:33:51 +02:00
renovate[bot]
e04dbef1c1 Update dependency com.android.tools.build:gradle to v8.5.2 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 14:52:42 +00:00
renovate[bot]
699bfe1919 Update paging to v3.3.2 (#306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 21:10:44 +02:00
renovate[bot]
edafb1078b Update hilt to v2.52 (#303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 20:03:02 +02:00
Kirill Kamakin
5819d0c03d Fix incompatibility with Mealie v1.11.0 (#302)
* Allow dateUpdated field to contain time zone

* Remove unused dateUpdated field

* Update version code
2024-08-04 14:52:40 +00:00
renovate[bot]
8500ba5b9c Update protobuf to v4.27.3 (#299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 21:10:21 +02:00
renovate[bot]
48ef77560e Update dependency com.google.devtools.ksp to v2.0.0-1.0.24 (#298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 07:03:31 +02:00
Kirill Kamakin
16fdd956e8 Add changelog (#297)
* Add changelog

* Fix changelog version mismatch
2024-07-28 07:52:43 +00:00
Kirill Kamakin
e71055930c Update Kover to 0.8.3 (#296) 2024-07-28 07:31:06 +00:00
Kirill Kamakin
f9277208b9 New Crowdin updates (#282)
* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* 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 strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese)

* New translations strings.xml (German)
2024-07-28 07:07:54 +00:00
Kirill Kamakin
86e70e03d0 Implement the dialog to add a new shopping list (#280)
* Add endpoint to create new shopping lists

* Initialize editing of lists names

* Implement adding new lists

* Fix invalid password for demo

* Use StateFlow to avoid lost state updates

* Refactor the list update to support empty lists

* Hide add new list button if there's a new list

* Scroll to the newly added list or item

* Replace deprecated Divider

* Move new field name input to dialog

* Display a modal dialog instead of bottom sheet

* Reduce unnecessary recompositions

* Do not hide button since it is overlapped by dialog

* Extract Composable for editable items

* Remove unused imports

* Add UI for removing and editing shopping lists

* Implement editing list name and removing lists

* Fix initial cursor state when editing name

* Add capitalization of list names

* Fix color of divider in dark mode
2024-07-27 18:12:00 +00:00
renovate[bot]
f0098af3f6 Update dependency com.google.truth:truth to v1.4.4 (#290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 15:30:50 +00:00
renovate[bot]
1d87cf2a92 Update dependency com.android.tools.build:gradle to v8.5.1 (#288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 15:21:34 +00:00
renovate[bot]
f0153728a7 Update lifecycle to v2.8.4 (#293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 15:12:03 +00:00
renovate[bot]
dc86919c75 Update coil to v2.7.0 (#292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 15:05:17 +00:00
renovate[bot]
c605782f0d Update dependency io.mockk:mockk to v1.13.12 (#291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 14:58:17 +00:00
renovate[bot]
983296162e Update paging to v3.3.1 (#294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 14:48:41 +00:00
Kirill Kamakin
37bd3abdae Fix flaky UI tests (#295) 2024-07-27 14:39:10 +00:00
renovate[bot]
23b1d0f2f8 Update lifecycle to v2.8.3 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 20:57:22 +00:00
renovate[bot]
b6b729e89e Update dependency com.google.devtools.ksp to v2.0.0-1.0.23 (#289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 22:49:16 +02:00
renovate[bot]
e70938cd53 Update dependency org.robolectric:robolectric to v4.13 (#285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 17:53:52 +00:00
renovate[bot]
a38eae43cf Update dependency gradle to v8.9 (#287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 19:44:05 +02:00
renovate[bot]
8c9509e979 Update dependency org.sonarqube to v5.1.0.4882 (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 19:07:55 +02:00
renovate[bot]
90be251269 Update protobuf to v4 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:56:13 +00:00
renovate[bot]
9033d37443 Update dependency androidx.compose:compose-bom to v2024.06.00 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:49:40 +00:00
renovate[bot]
bd8db3ac21 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1 (#267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:43:14 +00:00
renovate[bot]
fd535545e5 Update dependency androidx.test:core to v1.6.1 (#275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:37:14 +00:00
renovate[bot]
6ac36c9a59 Update dependency androidx.test:rules to v1.6.1 (#278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:11:57 +00:00
renovate[bot]
b059719daa Update dependency androidx.test:runner to v1.6.1 (#279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 16:06:54 +00:00
renovate[bot]
42e5f9ac68 Update dependency androidx.test:orchestrator to v1.5.0 (#277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 18:01:02 +02:00
Kirill Kamakin
5dc7365b34 Update Kotlin to 2.0.0 (#276) 2024-06-30 15:37:40 +00:00
renovate[bot]
857dfed446 Update paging to v3.3.0 (#269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 15:24:08 +00:00
renovate[bot]
872ec3aca6 Update dependency com.google.truth:truth to v1.4.3 (#273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 17:16:51 +02:00
Kirill Kamakin
bfdf89ae1c Migrate Hilt plugin to KSP (#274) 2024-06-30 15:01:44 +00:00
renovate[bot]
b6c9ace18f Update dependency androidx.test.ext:junit-ktx to v1.2.1 (#272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 21:08:48 +02:00
renovate[bot]
5cf63eb867 Update lifecycle to v2.8.2 (#268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 08:10:06 +02:00
renovate[bot]
ff33769f21 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 (#266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 14:31:58 +02:00
renovate[bot]
24ef00494b Update dependency com.android.tools.build:gradle to v8.5.0 (#251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 14:12:08 +02:00
renovate[bot]
8ec4928d18 Update dependency gradle to v8.8 (#264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 12:34:09 +02:00