Skip to content

Show Car claims on claim card and history (RND-1677)#2930

Open
hugokallstrom wants to merge 30 commits intodevelopfrom
feat/show-car-claims
Open

Show Car claims on claim card and history (RND-1677)#2930
hugokallstrom wants to merge 30 commits intodevelopfrom
feat/show-car-claims

Conversation

@hugokallstrom
Copy link
Copy Markdown
Contributor

Summary

  • Add PartnerClaim GraphQL type support and fetch partner claims alongside regular claims
  • Partner claims appear mixed in the same horizontal pager on the home screen, sorted by submission date
  • Partner claims appear in claim history list with "Closed" label
  • New simplified partner claim details screen (status card, display items, T&C documents — no chat/files/audio)
  • Extract shared composables (DisplayItemsSection, ExplanationBottomSheet, TermsConditionsCard) from feature-claim-details to ui-claim-status for reuse

Context

Test plan

  • Verify partner claims show up on home screen alongside regular claims
  • Verify tapping a partner claim card navigates to the simplified details screen
  • Verify partner claims appear in claim history (Profile → Claim history)
  • Verify tapping a partner claim in history navigates to the details screen
  • Verify regular claims still work as before (no regressions)
  • Verify the details screen shows status card, display items, and T&C document

🤖 Generated with Claude Code

@hugokallstrom hugokallstrom requested a review from a team as a code owner April 23, 2026 10:49
@notion-workspace
Copy link
Copy Markdown

hugokallstrom and others added 15 commits April 23, 2026 12:52
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Extends the Home query to include partnerClaimsActive, merges them with
regular claims sorted by date, and threads partnerClaimIds through
ClaimStatusCardsData so the UI can dispatch to the correct details screen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds onPartnerClaimDetailCardClicked parameter throughout the home
composable stack (HomeGraph → HomeDestination → HomeScreen →
HomeScreenSuccess), routing partner claim card taps to a separate
details screen based on partnerClaimIds from ClaimStatusCardsData.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Extends the claim history screen to include partner claims alongside regular claims, sorted by submission date. Partner claims dispatch to a separate navigation target on click.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use IconButton with wrapContentSize(CenterEnd) and Column padding,
matching the established pattern from the regular claim details screen.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hugokallstrom hugokallstrom changed the title Show partner car claims (Eir) on home screen and claim history (RND-1677) Show Car claims on claim card and history (RND-1677) Apr 23, 2026
hugokallstrom and others added 11 commits April 23, 2026 14:09
The claims/claimsActive fields are mutually exclusive via @skip/@include
directives, but `?:` treats an empty list as non-null, picking it over
the populated field. Use `.orEmpty()` concatenation instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…etail

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rough ViewModel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lbacks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
hugokallstrom and others added 4 commits April 27, 2026 11:11
…details

Since partner claims and regular claims share the same feature module,
there's no need to extract these components to ui-claim-status.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…to reduce diff noise

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hugokallstrom hugokallstrom marked this pull request as draft April 27, 2026 12:42
@hugokallstrom hugokallstrom marked this pull request as ready for review April 28, 2026 07:53
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