Skip to content

Release 1.0.1 - #14

Merged
T0liver merged 5 commits into
releasefrom
main
Sep 13, 2026
Merged

T0liver merged 5 commits into
releasefrom
main

Conversation

@T0liver

@T0liver T0liver commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Several bug fixes

This pull request introduces significant improvements to state management for modal sheets in the wine listing and detail screens, ensuring that sheet state is properly reset when opened for different items or sessions. It also refactors state preservation in Compose components to use rememberSaveable with custom keys, preventing stale or incorrect data when switching between different wines or filters. Additionally, it makes minor adjustments to Android permissions and UI behavior.

State Management and Preservation Improvements:

  • Added session IDs (sessionId, filterSheetSessionId, wineFormSessionId, editSheetSessionId) to sheet-related state classes (WineListState, WineDetailState) and increment these IDs when opening sheets, ensuring that sheet state is reset for each session. Components now receive these session IDs as parameters and use them as keys for rememberSaveable, so that form and filter state does not leak between sessions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

  • Refactored all stateful variables in WineFormSheet and WineFilterSheet to use rememberSaveable with the new session keys, ensuring that their values are properly scoped to the current editing/filtering context. [1] [2] [3] [4]

UI/UX Adjustments:

  • Changed skipPartiallyExpanded from true to false in modal bottom sheets, allowing partial expansion for better user experience. [1] [2]

  • Ensured that filter and form values are always converted to the correct types (Set for filters) before being applied.

Other Improvements:

  • Updated Compose state initialization in SummaryStepContent to use rememberSaveable for the date picker dialog, preserving its state across recompositions. [1] [2]

  • Marked certain Android permissions as not required (android:required="false") in the manifest, making the app more flexible for devices that lack these features.

T0liver and others added 5 commits June 23, 2026 23:33
GPS is not required it's just a funny feature. I can set this so maybe more ppl can use it if there are restrictions because of this.
Fixing accidentally closing forms
Fixing "No save state for forms"
@T0liver T0liver self-assigned this Sep 13, 2026
@github-actions

Copy link
Copy Markdown

Test Results

1 tests   1 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 3051be3.

@T0liver
T0liver merged commit 927206b into release Sep 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant