Files
pezkuwi-wallet-android/feature-assets/build.gradle
T
pezkuwichain 707d1baba4 Add a Pending Signatures card to the wallet home screen
Surfaces multisig operations awaiting the current signatory's own
approval directly on the main balance screen, instead of requiring
navigation to the separate pending-operations list. Each row shows the
formatted amount, destination, chain, and approval progress, with a
red Sign button that opens the existing operation-details/approve flow
(fee estimation, signatory balance check, and validation are all
already handled there - not reimplemented here).

Reuses the already-tested MultisigCallFormatter from
feature-multisig:operations (added as a new feature-assets dependency,
exposed via the standard FeatureApi/FeatureContainer pattern - see
AssetsFeatureHolder/AssetsFeatureComponent/AssetsFeatureDependencies)
rather than re-deriving call-preview formatting independently. The
card follows the same SingleItemAdapter + ConcatAdapter pattern as the
existing Pezkuwi Dashboard card on the same screen.

Once a pending operation is actually signed, it naturally drops off
this list on the next sync (no separate client-side "signed" state is
tracked in parallel with the real on-chain approval status).

String only added to the base (English) strings.xml for now - not yet
translated into the other ~14 locales this app otherwise maintains.
2026-07-17 13:03:12 -07:00

106 lines
2.7 KiB
Groovy

apply plugin: 'kotlin-parcelize'
apply from: '../tests.gradle'
apply from: '../scripts/secrets.gradle'
android {
defaultConfig {
buildConfigField "String", "PEZKUWI_CARD_WIDGET_ID", "\"4ce98182-ed76-4933-ba1b-b85e4a51d75a\""
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'io.novafoundation.nova.feature_assets'
packagingOptions {
resources.excludes.add("META-INF/NOTICE.md")
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation project(':core-db')
implementation project(':common')
implementation project(':feature-wallet-api')
implementation project(':feature-account-api')
implementation project(':feature-nft-api')
implementation project(':feature-currency-api')
implementation project(':feature-crowdloan-api')
implementation project(':feature-wallet-connect-api')
implementation project(':feature-staking-api')
implementation project(':feature-swap-api')
implementation project(':web3names')
implementation project(':runtime')
implementation project(':feature-buy-api')
implementation project(':feature-xcm:api')
implementation project(':feature-banners-api')
implementation project(':feature-deep-linking')
implementation project(':feature-ahm-api')
implementation project(':feature-gift-api')
implementation project(':feature-multisig:operations')
implementation kotlinDep
implementation androidDep
implementation swipeRefershLayout
implementation materialDep
implementation cardViewDep
implementation constraintDep
implementation permissionsDep
implementation coroutinesDep
implementation coroutinesAndroidDep
implementation viewModelKtxDep
implementation liveDataKtxDep
implementation lifeCycleKtxDep
implementation daggerDep
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
ksp daggerCompiler
implementation roomDep
ksp roomCompiler
implementation lifecycleDep
ksp lifecycleCompiler
implementation androidxWebKit
implementation bouncyCastleDep
testImplementation jUnitDep
testImplementation mockitoDep
implementation substrateSdkDep
implementation gsonDep
implementation retrofitDep
implementation wsDep
implementation zXingCoreDep
implementation zXingEmbeddedDep
implementation insetterDep
implementation shimmerDep
api flexBoxDep
implementation chartsDep
androidTestImplementation androidTestRunnerDep
androidTestImplementation androidTestRulesDep
androidTestImplementation androidJunitDep
}