Skip to content

Remove unused PurchaseFailure destination (RND-1965)#2944

Open
hugokallstrom wants to merge 1 commit into
feat/in-app-car-purchasefrom
claude/pedantic-haslett-fd0b10
Open

Remove unused PurchaseFailure destination (RND-1965)#2944
hugokallstrom wants to merge 1 commit into
feat/in-app-car-purchasefrom
claude/pedantic-haslett-fd0b10

Conversation

@hugokallstrom
Copy link
Copy Markdown
Contributor

Summary

  • Delete the Failure data object from PurchaseCommonDestination and the PurchaseFailureDestination composable — both were imported in the car and apartment nav graphs but never registered as a navdestination<Failure>.
  • Signing failures are already handled in-place by SigningDestination (HedvigErrorSection + Retry), so removing this leaves no UX regression.

Test plan

  • :purchase-common:compileDebugKotlin :feature-purchase-car:compileDebugKotlin :feature-purchase-apartment:compileDebugKotlin pass locally (verified)
  • CI green on car + apartment purchase modules
  • Trigger a signing failure in the car flow and confirm the existing in-place error UI still shows + Retry works
  • Same check for apartment flow

🤖 Generated with Claude Code

The Failure destination and PurchaseFailureDestination composable were
never wired into either nav graph. Signing failures are already handled
in-place by SigningDestination's HedvigErrorSection + Retry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hugokallstrom hugokallstrom requested a review from a team as a code owner May 21, 2026 05:45
@hugokallstrom hugokallstrom changed the title Remove unused PurchaseFailure destination Remove unused PurchaseFailure destination (RND-1965) May 21, 2026
@notion-workspace
Copy link
Copy Markdown

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