-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ABW-3435] - Display home cards carousel #1033
[ABW-3435] - Display home cards carousel #1033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The carousel works as it is described. Couple of questions.
- I realised that we inform sargon to check what cards to show with the
walletCreated
callback. If so we lose one case. Now that we remove the hint to link to a new connector, what should happen to existing users that never connected to CE and update to this version? They will never see the card to connect to CE. Is this expected? - The Continue on dApp in browser card, does nothing on click, you can only close it via the X button. I guess this is expected?
private fun bootstrapHomeCardsManager() { | ||
scope.launch { | ||
runCatching { homeCardsManager.bootstrap() } | ||
.onFailure { Timber.d("HomeCardsManager init error: ${it.message}") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use w
instead of d
?
|
||
override suspend fun cardDismissed(card: HomeCard) { | ||
runCatching { homeCardsManager.cardDismissed(card) } | ||
.onFailure { Timber.d("Failed to dismiss home card. Error: $it") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the same here?
|
||
val isCloudBackupEnabled = args.requestSource == CreateAccountRequestSource.FirstTimeWithCloudBackupEnabled | ||
changeBackupSettingUseCase(isChecked = isCloudBackupEnabled) | ||
} | ||
} | ||
|
||
private suspend fun initHomeCards() { | ||
runCatching { homeCardsManager.walletCreated() } | ||
.onFailure { Timber.d("Failed to notify HomeCardsManager about wallet creation. Error: $it") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
applicationScope.launch { | ||
withContext(defaultDispatcher) { | ||
runCatching { homeCardsManager.deferredDeepLinkReceived(value) } | ||
.onFailure { Timber.d("Failed to notify HomeCardsManager about deep link receiving. Error: $it") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
|
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job! 💯
Description
This PR adds home cards carousel functionality.
How to test
The users from organic app installs use-case: