Skip to content

Feature: step content information#3005

Merged
StylianosGakis merged 43 commits into
developfrom
feat/step-content-information
Jul 10, 2026
Merged

Feature: step content information#3005
StylianosGakis merged 43 commits into
developfrom
feat/step-content-information

Conversation

@panasetskaya

Copy link
Copy Markdown
Contributor

New stepContent - Information with 2 levels of severity.
link to slack

@panasetskaya panasetskaya requested a review from a team as a code owner June 23, 2026 20:14
Comment on lines +945 to +956
if (stepItem.stepContent.isSkippable) {
HedvigButton(
modifier = modifier.fillMaxWidth(),
text = stringResource(Res.string.claims_skip_button),
onClick = dropUnlessResumed {
onEvent(Skip(stepItem.id))
},
enabled = true,
buttonStyle = ButtonDefaults.ButtonStyle.Secondary
)
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have override val isSkippable: Boolean = false always there I suppose this is never hit?
Is this supposed to be wired up later or just not applicable for this step type?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never hit, removed

panasetskaya and others added 25 commits June 24, 2026 15:32
# Conflicts:
#	app/design-system/design-system-hedvig/src/commonMain/kotlin/com/hedvig/android/design/system/hedvig/StartClaimBottomSheet.kt
- Restore dropUnlessResumed guard on navigateToClaimChat in HomeEntries
- Parse raw value (it.value) instead of display text (it.text) for DATE fields
- Drop unmapped createdAt field from ClaimIntentFragment
- Fix 5-space indent to 4-space in ResumeClaimQuery.graphql
- Assert draftClaim is null when ENABLE_CLAIM_INTENT_RESUME flag is off
- Expired notice: single Close that removes the draft (matches Figma), replacing the two-button Start-new-claim/Cancel flow
- Draft card: reuse the existing Submitted progress segment instead of a custom Started label
- Draft card: red destructive label on Delete via a new HedvigSecondaryRedTextButton
- Draft dialog: drop the Cancel button (Continue draft / Start new claim only)
Switch DraftClaimDialog to the design-system two-button dialog (like the
Delete-draft alert) so the buttons sit side by side when they fit and stack
otherwise. Add an opt-in confirmButtonRedText flag to DialogStyle.Buttons so
the destructive 'Start new claim' confirm renders as a secondary fill with a
red label, matching the Ready-for-dev design, wired through both the
horizontal and vertical button layouts. Also relocate the expired-dialog
comment out of the call arguments so ktlint keeps it.
# Conflicts:
#	app/feature/feature-home/src/main/kotlin/com/hedvig/android/feature/home/home/data/GetHomeDataUseCase.kt
The develop merge added two new tests (a cross-sell addon presenter test and
a recommended-addon mapping test) that predate the resume-claim parameters, so
their HomePresenter/HomeData/HomeQuery construction sites needed the
deleteClaimIntentDraftUseCase, draftClaim, and resumeClaimEnabled arguments.
Also reindent the flatMapLatest combine lambda in GetHomeDataUseCase.
# Conflicts:
#	app/apollo/apollo-octopus-public/src/commonMain/graphql/com/hedvig/android/apollo/octopus/schema.graphqls
#	app/feature/feature-claim-chat/src/commonMain/kotlin/com/hedvig/feature/claim/chat/ClaimChatViewModel.kt
#	app/feature/feature-claim-chat/src/commonMain/kotlin/com/hedvig/feature/claim/chat/ui/ClaimChatDestination.kt
@StylianosGakis StylianosGakis merged commit 9c1c47c into develop Jul 10, 2026
4 checks passed
@StylianosGakis StylianosGakis deleted the feat/step-content-information branch July 10, 2026 15:11
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