Skip to content
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-3562] Third party deposits UI updates #1226

Merged
merged 14 commits into from
Jul 30, 2024

Conversation

matiasbzurovski
Copy link
Contributor

@matiasbzurovski matiasbzurovski commented Jul 19, 2024

Jira ticket: ABW-3562

Description

Updates the Third-party deposits flow as well as:

  • Extends PlainListRow to render any view as accessory
  • Remove PlainListRowCore.Context.general: we will now always use .settings (except for ToogleView that uses .toggle).
  • Update ResourcesListView & PreferenceListView to use PlainListRow, instead of implementing similar views themselves.
  • Allow Hint to allow .detail, which uses orange like .warning but with smaller font and no icon.

Before vs After

Before After
before.mov
after.mov

@GhenadieVP GhenadieVP added the DO NOT MERGE Merging is blocked or prohibited due to missing specs or other higher priority PRs label Jul 22, 2024
Comment on lines 117 to 118
"revision" : "5b6d946221837aa6bed3b5ff725eb5fe4f844c6c",
"version" : "1.0.31"
"revision" : "b6342f791da0b29ca639b37abccdad04465501a1",
"version" : "1.0.29"
Copy link
Contributor

Choose a reason for hiding this comment

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

revert to 1.0.31?

var textStyle: TextStyle {
switch viewState.kind {
case .info, .error, .warning:
.body2HighImportance
Copy link
Contributor

Choose a reason for hiding this comment

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

Based on Zeplin it looks like there are situations where info and error should be body2Regular 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can you share those? I would still take care of it (after confirming with Aftab that we want them differently) on the other branch that makes more changes to Hint though (it is branched off from this one).

Copy link
Contributor

Choose a reason for hiding this comment

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

info1, info2, error1, error2

after confirming with Aftab that we want them differently

right, maybe they should be consistent across all screens

}
.padding([.horizontal, .bottom], .medium1)
addAssetButton(viewStore)
Copy link
Contributor

Choose a reason for hiding this comment

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

Separator above?

@GhenadieVP GhenadieVP removed the DO NOT MERGE Merging is blocked or prohibited due to missing specs or other higher priority PRs label Jul 29, 2024
@GhenadieVP GhenadieVP merged commit de827c1 into main Jul 30, 2024
6 checks passed
@GhenadieVP GhenadieVP deleted the ABW-3561-third-party-deposits branch July 30, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants