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

[FC] Fix Accessible data callout copy logic #6375

Merged
merged 10 commits into from
Mar 17, 2023

Conversation

carlosmuvi-stripe
Copy link
Collaborator

@carlosmuvi-stripe carlosmuvi-stripe commented Mar 16, 2023

Summary

  • Fix Accessible data callout copy logic
  • Regenerates screenshots

Changelog

…uested-copy-fix

# Conflicts:
#	financial-connections/src/main/java/com/stripe/android/financialconnections/features/accountpicker/AccountPickerViewModel.kt
ccen-stripe
ccen-stripe previously approved these changes Mar 16, 2023
@carlosmuvi-stripe carlosmuvi-stripe enabled auto-merge (squash) March 16, 2023 22:01
}

false -> when (model.businessName) {
model.isStripeDirect -> when (model.businessName) {

Choose a reason for hiding this comment

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

for iOS there is no conditional around businessName for isStripeDirect

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not sure if it can happen, but let's leave it just in case? 😄

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh! yeah this is wrong then. Updating it, thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -46,6 +46,8 @@
<string name="data_accessible_callout_no_business"><annotation bold="accessible_data">Data accessible to this business: </annotation>%1$s.<annotation clickable="learn_more"> Learn more</annotation></string>

Choose a reason for hiding this comment

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

This is debatable and likely doesn't cause an issue unless we do things like making the link underline, but the annotation itself contains a space:

<annotation clickable="learn_more"> Learn more</annotation>

so if annotation did underline, the space would have an underline

(again, likely not a legit issue, just calling it out in case there could be issues)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a good point, fixed it! e4133f5

@carlosmuvi-stripe carlosmuvi-stripe merged commit 7a23d76 into master Mar 17, 2023
@carlosmuvi-stripe carlosmuvi-stripe deleted the carlosmuvi/data-requested-copy-fix branch March 17, 2023 17:08
@carlosmuvi-stripe carlosmuvi-stripe added the financial-connections Relates to the Financial Connections SDK label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
financial-connections Relates to the Financial Connections SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants