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

Update unverifiable sessions copies (PSG-1002) #7138

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

alfogrillo
Copy link
Contributor

This PR updates the copies for unverifiable sessions showing also an informational bottom sheet for them.

Simulator Screen Shot - iPhone 14 Pro - 2022-12-05 at 17 21 19

@alfogrillo alfogrillo requested review from a team and pixlwave and removed request for a team December 5, 2022 16:25
@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Base: 11.75% // Head: 11.76% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (7e37242) compared to base (0a7ed27).
Patch coverage: 25.00% of modified lines in pull request are covered.

❗ Current head 7e37242 differs from pull request most recent head 3a45ba4. Consider uploading reports for the commit 3a45ba4 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7138   +/-   ##
========================================
  Coverage    11.75%   11.76%           
========================================
  Files         1621     1621           
  Lines       159464   159469    +5     
  Branches     64929    64935    +6     
========================================
+ Hits         18752    18755    +3     
- Misses      140062   140064    +2     
  Partials       650      650           
Flag Coverage Δ
unittests 5.98% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ions/Coordinator/UserSessionsFlowCoordinator.swift 0.00% <0.00%> (ø)
...Sessions/Common/View/UserSessionCardViewData.swift 88.46% <100.00%> (ø)
...ojiPicker/Data/EmojiMart/EmojiItem+EmojiMart.swift 95.65% <0.00%> (+0.30%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@@ -86,7 +86,7 @@ struct UserSessionCardViewData {
case .unverified:
return isCurrentSessionDisplayMode ? VectorL10n.userSessionUnverifiedAdditionalInfo : VectorL10n.userOtherSessionUnverifiedAdditionalInfo + " %@"
case .permanentlyUnverified:
return VectorL10n.userOtherSessionPermanentlyUnverifiedAdditionalInfo
return isCurrentSessionDisplayMode ? VectorL10n.userOtherSessionPermanentlyUnverifiedAdditionalInfo : VectorL10n.userOtherSessionPermanentlyUnverifiedAdditionalInfo + " %@"
Copy link
Member

Choose a reason for hiding this comment

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

I can see this is following the example above and we don't support RTL in EI so it isn't an issue, but really the placeholder should be part of the string itself so that translators could place it wherever makes most sense for their language.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it makes sense!
This time we didn't to this way to avoid to double the localized strings I guess (we use the same copy with the placeholder and without it in some cases).

@sonarcloud
Copy link

sonarcloud bot commented Dec 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@alfogrillo alfogrillo merged commit 1efa7c1 into develop Dec 6, 2022
@alfogrillo alfogrillo deleted the alfogrillo/unverified_sessions_refinements branch December 6, 2022 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants