Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving flow fixes before release #1835

Merged
merged 19 commits into from
Oct 20, 2023

Conversation

StylianosGakis
Copy link
Member

Mostly UI fixes
Fix all the navigation handling so that going back does not exit the entire moving flow
Use movingFlowClient as a feature flag for this feature.

Also use the hedvig icon instead of the generic one.
Remove the content description which was not precicly describing the
action.
Make buildings content animate in individually, and not all items at all
times whenever there is any chane. Done by applying the animation per
item instead of for all items together.
Use correct contentColor for button.
Fix visibility modifiers for both functions
Fix using `height` as a spacer in a row instead of `width`
Fix greyed out text to use `onSurfaceVariant`
The function was returning a new list with the result instead of
mutating the MutableList in-place. Removed the function altogether in
favor of doing a simpler approach of removing the item if it's in there
since we already got a mutable list to work with.
Remove "Destination" suffix from the offer screen, and remove turn
EnterNewVillaAddress into EnterVillaInformation, as it better represents
the functionality of that destination
Make back handling move normally through the backstack instead of
exiting the entire flow in some scenarios.
For this to work, instead of relying on some state being there for the
navigation to trigger, instead handle that through event triggers baked
in the ui state itself which the UI clears when the navigation event is
properly handled.
This allows the member to go back and forth to all moving flow
destinations without having to exit the entire flow for no reason.
Going forward again triggers the same path as before, overriding the old
results in case of a new success response from the backend.
Remove all BackHandler calls to support this.
Keep ChangeAddressDestination.AddressResult outside of the
AppDestination.ChangeAddress navigation graph, and make sure that when
we do end up there, we do it after popping the entire backstack up to
ChangeAddressDestination.AddressResult.
Allow HedvigInfoCard take in a new shape if the caller needs it to
Make the small info card use the right squircle corner radius
For cases where the divider is added on a list on all but the last item,
prefer adding it in the first line by doing a much simpler `index > 0`
check instead.
Remove some non lokalised content description.
Use the right icon for the info icon
Use the right tint for the arrow showing that there is more info in the
quote details card
Remove the odd color for the ExpandablePlusCard which made it look
different from the cards above, especially in dark mode. New colors
match Figma instead.
@StylianosGakis StylianosGakis requested a review from a team as a code owner October 18, 2023 16:17
More or less nothing of those had to be public and available to the :app
module or anywhere else.
@StylianosGakis StylianosGakis merged commit e057f5d into develop Oct 20, 2023
4 checks passed
@StylianosGakis StylianosGakis deleted the fix/moving_flow_fixes_before_release branch October 20, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant