Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ee424a5
Add draft code for payout account logic in payments tab
StylianosGakis Apr 10, 2026
858660f
Add logic for new payout connection possibility through the app
StylianosGakis Apr 15, 2026
af163ae
Add logic to hide the "payout" payments button when it's not applicable
StylianosGakis Apr 15, 2026
0faf36f
Extract presenter for the payout button
StylianosGakis Apr 15, 2026
81d25c0
Make ShouldShowPayoutPresenter private in class
StylianosGakis Apr 16, 2026
c84fe76
Move payments feature to commonMain
StylianosGakis Apr 16, 2026
e585caa
Fix using java local date in CMP code
StylianosGakis Apr 17, 2026
b46e36a
Update schema
StylianosGakis Apr 17, 2026
8f3fed7
More payout changes
StylianosGakis Apr 20, 2026
b27a942
Test locally
StylianosGakis Apr 20, 2026
8bb25b3
Make pullrefresh KMP
StylianosGakis Apr 21, 2026
be16d44
Test code
StylianosGakis Apr 21, 2026
5339818
Add setup invoice step
StylianosGakis Apr 21, 2026
10f132a
Make feature-payments an android module again
StylianosGakis Apr 21, 2026
633d811
Download strings
StylianosGakis Apr 21, 2026
751a168
Use some new strings
StylianosGakis Apr 21, 2026
a8c7c31
Use some new strings and small UI fixes
StylianosGakis Apr 21, 2026
637028c
Pop payout choice screen before going to connect trustly
StylianosGakis Apr 21, 2026
3569520
Pop payout choice screen before finishing a successful connection
StylianosGakis Apr 21, 2026
c114d2f
Extract common code in Payout overview screen
StylianosGakis Apr 22, 2026
562db14
Update payout to the new schema
StylianosGakis Apr 22, 2026
76746ed
Remove redundant interfaces
StylianosGakis Apr 22, 2026
d6711fa
Read the pending status of payout options
StylianosGakis Apr 22, 2026
4a7ef9d
Fix connect payout button in overview screen
StylianosGakis Apr 22, 2026
84bd96e
Remove extra space when not needed
StylianosGakis Apr 22, 2026
5fe89d6
Update schema
StylianosGakis Apr 22, 2026
1e0dd85
Use new `paymentMethodSetupTrustly` over `registerDirectDebit2`
StylianosGakis Apr 24, 2026
8d5c5eb
Add missing payout reminder
StylianosGakis Apr 24, 2026
4d7cf2f
Update strings
StylianosGakis Apr 24, 2026
d14bcda
Add 8XXXX number to match Swedbank
StylianosGakis Apr 24, 2026
65b056d
Fix some strings
StylianosGakis Apr 24, 2026
a4ef2d4
Move bank name to the field's header instead
StylianosGakis Apr 24, 2026
9b7d78f
Only allow submitting a new bank account with long enough input
StylianosGakis Apr 24, 2026
30b4adb
Match payout button position to iOS impl
StylianosGakis Apr 27, 2026
6679fe1
Update schema
StylianosGakis Apr 27, 2026
32ee773
Use bank account details for Trustly payout option too
StylianosGakis Apr 27, 2026
06f653d
Build payout feature for test session
StylianosGakis Apr 28, 2026
011789b
Add fixed "Trustly" text in payout account overview
StylianosGakis Apr 28, 2026
8e00601
Add dash between bank name and text field title
StylianosGakis Apr 28, 2026
e7cc8b7
Show "something went wrong" if the error is present but blank
StylianosGakis Apr 28, 2026
17c9e6c
Add payout deep link
StylianosGakis Apr 28, 2026
9e567a1
Clear error message on new input
StylianosGakis Apr 28, 2026
afa3d04
Account number should be in the range of 6..12 chars according to bac…
StylianosGakis Apr 28, 2026
e31a643
Delete temp FakePayoutAccountStorage
StylianosGakis Apr 28, 2026
f0285f5
Show an error section with a back button when no payout methods are a…
StylianosGakis Apr 28, 2026
93b276f
Fix missing parameter
StylianosGakis Apr 28, 2026
74c9616
Add placeholder "something went wrong" text on empty state
StylianosGakis Apr 28, 2026
8be367d
Add info card when there is a pending current method
StylianosGakis Apr 28, 2026
f08163c
Add showing pending state to payout overview screen
StylianosGakis Apr 28, 2026
1b79f08
Merge clearing and account number together
StylianosGakis Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- develop
- feat/pet-chip-id
- feature/payment-methods
workflow_dispatch:

concurrency:
Expand Down
13 changes: 13 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ val applicationModule = module {
- Use `Provider<T>` when we need a different implementation for the demo mode of the App, which we very rarely do. We always do that using `ProdOrDemoProvider`
- Each feature/data module has its own DI module
- Common dependencies (logging, tracking) auto-injected by build plugin
- When a Presenter or ViewModel needs to call a use case, always inject the use case directly as a typed dependency — never abstract it into an anonymous `suspend () -> T` lambda. If two separate operations are needed (e.g. payin vs payout setup), create two separate, dedicated use case classes and two separate presenters. Do not create a shared interface just to enable reuse through a single presenter.

### Data Layer

Expand Down Expand Up @@ -441,6 +442,18 @@ dependencies {
# String resources in app/core/core-resources/
```

**IMPORTANT:** String resource XML files (`strings.xml`) are fully managed by Lokalise and regenerated on every `./gradlew downloadStrings` run. **Never add new strings directly to any `strings.xml` file** — they will be overwritten and lost.

When new UI text is needed that does not yet exist as a string resource:
1. Hardcode the English string directly in the Kotlin/Compose code.
2. Add a `// TODO: Add "<English text>" / "<Swedish text>" to Lokalise` comment on the same line or the line above.

Example:
```kotlin
// TODO: Add "This is some text for feature X" / "Detta är lite text för feature X" to Lokalise
Text("This is some text for feature X")
```

## Debugging

### Common Issues
Expand Down
14 changes: 9 additions & 5 deletions app/apollo/apollo-network-cache-manager/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
plugins {
id("hedvig.jvm.library")
id("hedvig.multiplatform.library")
id("hedvig.gradle.plugin")
}

dependencies {
implementation(libs.apollo.normalizedCache)
implementation(libs.apollo.runtime)
implementation(libs.koin.core)
kotlin {
sourceSets {
commonMain.dependencies {
implementation(libs.apollo.normalizedCache)
implementation(libs.apollo.runtime)
implementation(libs.koin.core)
}
}
}
Loading
Loading