Add in-app vacation home (fritidshus) purchase flow (RND-1965)#2947
Open
hugokallstrom wants to merge 15 commits into
Open
Add in-app vacation home (fritidshus) purchase flow (RND-1965)#2947hugokallstrom wants to merge 15 commits into
hugokallstrom wants to merge 15 commits into
Conversation
Single feature-purchase-house module, vacation home first, extra-buildings UI and SE_HOUSE form deferred to follow-up PRs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…purchase 13 tasks: scaffold feature-purchase-house module, Apollo ops, use cases, ViewModel, form composable with 8 fields (3 radios, 1 stepper, 4 text/number), nav graph, DI, cross-sell routing, app wiring, emulator verification. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Required for the housePurchaseModule and housePurchaseNavGraph wired in the previous commit. sort-dependencies plugin alphabetized the file as a side effect. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Use RadioChoiceRow with RadioGroupStyle.Labeled.HorizontalFlow label - Add UpdateMultipleOwners/UpdateHasWaterConnected/UpdateIsSubleted events so radio values live in ViewModel state, clear their own error on change - Switch text fields to rememberSaveable for config-change survival - yesNoOptions() helper shared across the three boolean radios - English copy primary with Lokalise TODO comments (matches pet) - onEvent(VacationHomeFormEvent) handler replaces N individual callbacks Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
feature-purchase-housemodule hosting theSE_VACATION_HOME(fritidshus) in-app purchase flow.purchase-commonscreens (tier select, summary, signing, success).fritidshusforsakring/vacation-homecross-sell URLs into the new flow viafeature-insurances.RadioChoiceRowwithRadioGroupStyle.Labeled.HorizontalFlow,yesNoOptions()helper, radio values held in ViewModel state with per-fieldUpdate*events that clear their own error, text fields withrememberSaveable, English copy primary with Lokalise TODOs.extraBuildings: []to the backend — the add-building dialog UI is deferred to a follow-up PR (called out in the design spec).feature-purchase-houseso aSE_HOUSEform can be added later as a sibling composable without restructuring.Base branch:
feat/in-app-pet-purchase(depends onpurchase-commonand matches pet's form conventions). Will retarget todeveloponce the pet PR merges.Design + plan:
docs/superpowers/specs/2026-05-21-in-app-vacation-home-purchase-design.mdanddocs/superpowers/plans/2026-05-21-in-app-vacation-home-purchase.md.Test plan
./gradlew :app:assemble) and Compose previews render.fritidshusforsakringorvacation-home) routes to the new form.SelectTiershowing BAS + STANDARD offers.HedvigErrorSectionwith retry.🤖 Generated with Claude Code