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

GEN-2547: travel certificate #2315

Merged
merged 10 commits into from
Nov 21, 2024
Merged

GEN-2547: travel certificate #2315

merged 10 commits into from
Nov 21, 2024

Conversation

StylianosGakis
Copy link
Member

Biggest diff comes from the fact that I needed to find a way to still allow travel-certificate use the datepickerstate it used to use, which came directly from m3.

To make it all work, I extracted an interface to a shared design-system-api module, which both ds and ds-internals can see, where this new interface lives.
Then as an implementation detail inside the -details module, it delegates all operations to the m3 implementation, which it knows about.

Explicitly refers to how this version of the state is an immutable
object which needs to be re-created every time there is a new input in
the date picker
This allows us to use the m3 sheet as-is, while not exposing the m3
types at all.
travel-certificate date input screen was making use of this so we want
to keep it intact

Create `:design-system-api` for common interfaces both -internals and
-hedvig need to access
@StylianosGakis StylianosGakis requested a review from a team as a code owner November 20, 2024 14:04
@StylianosGakis StylianosGakis changed the title Ds/travel certificate GEN-2547: travel certificate Nov 20, 2024
Copy link

# Conflicts:
#	app/feature/feature-payments/src/main/kotlin/com/hedvig/android/feature/payments/navigation/PaymentsGraph.kt
@StylianosGakis StylianosGakis merged commit d37138f into develop Nov 21, 2024
4 checks passed
@StylianosGakis StylianosGakis deleted the ds/travel-certificate branch November 21, 2024 08:27
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.

2 participants