-
Notifications
You must be signed in to change notification settings - Fork 119
Fix spacings in message annotations #1403
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+158 Bytes
(100%)
...napshots__/MessageItemView_Tests/test_messageContainerViewPinned_snapshot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+51 Bytes
(100%)
...essageContainerView_topReactionsWithPinnedAnnotation_snapshot.default-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 Byte
(100%)
...erView_topReactionsWithPinnedAnnotation_snapshot.extraExtraExtraLarge-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+17 Bytes
(100%)
...nerView_topReactionsWithPinnedAnnotation_snapshot.rightToLeftLayout-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-45 Bytes
(100%)
...t_messageContainerView_topReactionsWithPinnedAnnotation_snapshot.small-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+386 Bytes
(100%)
...sageContainerView_topReactionsWithReminderAnnotation_snapshot.default-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+29 Bytes
(100%)
...View_topReactionsWithReminderAnnotation_snapshot.extraExtraExtraLarge-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+408 Bytes
(100%)
...rView_topReactionsWithReminderAnnotation_snapshot.rightToLeftLayout-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+314 Bytes
(100%)
...messageContainerView_topReactionsWithReminderAnnotation_snapshot.small-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+237 Bytes
(100%)
...eContainerView_topReactionsWithThreadReplyAnnotation_snapshot.default-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+254 Bytes
(100%)
...w_topReactionsWithThreadReplyAnnotation_snapshot.extraExtraExtraLarge-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+252 Bytes
(100%)
...ew_topReactionsWithThreadReplyAnnotation_snapshot.rightToLeftLayout-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9 Bytes
(100%)
...sageContainerView_topReactionsWithThreadReplyAnnotation_snapshot.small-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...ageItemView_Tests/test_messagePreview_translatedText_snapshot.default-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-23 Bytes
(100%)
...ests/test_messagePreview_translatedText_snapshot.extraExtraExtraLarge-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18 Bytes
(100%)
...Tests/test_messagePreview_translatedText_snapshot.rightToLeftLayout-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13 Bytes
(100%)
...essageItemView_Tests/test_messagePreview_translatedText_snapshot.small-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-24 Bytes
(100%)
...Tests/test_portraitImageWithOneReaction_snapshot.extraExtraExtraLarge-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-38 Bytes
(100%)
...MessageItemView_Tests/test_portraitImageWithOneReaction_snapshot.small-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-76 Bytes
(100%)
...tedText_showOriginalTranslatedButtonDisabled_translatedTextShown_snapshot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-56 Bytes
(100%)
...slatedText_showOriginalTranslatedButtonEnabled_originalTextShown_snapshot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-116 Bytes
(100%)
...atedText_showOriginalTranslatedButtonEnabled_translatedTextShown_snapshot.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-51 Bytes
(100%)
...s__/MessageListView_Tests/test_messageListView_groupChannel_withReactions.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
...ageListView_Tests/test_messageListView_groupedMessages_withAllAnnotations.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+96.9 KB
...View_Tests/test_messageListView_groupedMessages_withThreadReplyAnnotation.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8 Bytes
(100%)
...Snapshots__/MessageListView_Tests/test_messageListView_jumpToUnreadButton.1.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
.../__Snapshots__/MessageListView_Tests/test_messageListView_typingIndicator.1.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...__/MessageListView_Tests/test_messageListView_viewModelInit_withReactions.1.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...el/__Snapshots__/MessageListView_Tests/test_messageListView_withReactions.1.png
Oops, something went wrong.
Binary file modified
BIN
+3.68 KB
(140%)
...__/MessageTopView_Tests/test_allAnnotations_inThread_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+4.47 KB
(130%)
...View_Tests/test_allAnnotations_inThread_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+3.71 KB
(140%)
...pView_Tests/test_allAnnotations_inThread_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+3.12 KB
(130%)
...ots__/MessageTopView_Tests/test_allAnnotations_inThread_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+3.63 KB
(140%)
...Snapshots__/MessageTopView_Tests/test_allAnnotations_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+4.5 KB
(130%)
...essageTopView_Tests/test_allAnnotations_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+3.68 KB
(140%)
...MessageTopView_Tests/test_allAnnotations_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+3.09 KB
(130%)
.../__Snapshots__/MessageTopView_Tests/test_allAnnotations_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+576 Bytes
(120%)
...apshots__/MessageTopView_Tests/test_pinnedAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+653 Bytes
(110%)
...sageTopView_Tests/test_pinnedAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+556 Bytes
(120%)
...ssageTopView_Tests/test_pinnedAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+667 Bytes
(120%)
..._Snapshots__/MessageTopView_Tests/test_pinnedAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+574 Bytes
(120%)
...ts__/MessageTopView_Tests/test_pinnedByYouAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+629 Bytes
(120%)
...opView_Tests/test_pinnedByYouAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+590 Bytes
(120%)
...TopView_Tests/test_pinnedByYouAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+664 Bytes
(120%)
...shots__/MessageTopView_Tests/test_pinnedByYouAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+1.39 KB
(140%)
...shots__/MessageTopView_Tests/test_reminderAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+2.91 KB
(180%)
...geTopView_Tests/test_reminderAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+1.34 KB
(140%)
...ageTopView_Tests/test_reminderAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+824 Bytes
(120%)
...napshots__/MessageTopView_Tests/test_reminderAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+602 Bytes
(120%)
.../MessageTopView_Tests/test_repliedToThreadAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+659 Bytes
(110%)
...ew_Tests/test_repliedToThreadAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+630 Bytes
(120%)
...iew_Tests/test_repliedToThreadAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+653 Bytes
(120%)
...s__/MessageTopView_Tests/test_repliedToThreadAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+629 Bytes
(120%)
...__/MessageTopView_Tests/test_sentInChannelAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+654 Bytes
(110%)
...View_Tests/test_sentInChannelAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+619 Bytes
(120%)
...pView_Tests/test_sentInChannelAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+658 Bytes
(120%)
...ots__/MessageTopView_Tests/test_sentInChannelAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+644 Bytes
(110%)
...ots__/MessageTopView_Tests/test_translatedAnnotation_snapshot.default-light.png
Oops, something went wrong.
Binary file modified
BIN
+652 Bytes
(110%)
...TopView_Tests/test_translatedAnnotation_snapshot.extraExtraExtraLarge-light.png
Oops, something went wrong.
Binary file modified
BIN
+643 Bytes
(110%)
...eTopView_Tests/test_translatedAnnotation_snapshot.rightToLeftLayout-default.png
Oops, something went wrong.
Binary file modified
BIN
+693 Bytes
(120%)
...pshots__/MessageTopView_Tests/test_translatedAnnotation_snapshot.small-dark.png
Oops, something went wrong.
Binary file modified
BIN
+163 Bytes
(100%)
...ionsOverlayView_Tests/test_reactionsOverlayView_allAnnotations.default-dark.png
Oops, something went wrong.
Binary file modified
BIN
+99 Bytes
(100%)
...onsOverlayView_Tests/test_reactionsOverlayView_allAnnotations.default-light.png
Oops, something went wrong.
Binary file modified
BIN
-120 Bytes
(100%)
...apshots__/ReactionsOverlayView_Tests/test_reactionsOverlayView_translated.1.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -394,6 +394,21 @@ lane :install_runtime do |options| | |
| install_ios_runtime(version: options[:ios], custom_script: 'Scripts/install_ios_runtime.sh') | ||
| end | ||
|
|
||
| desc 'Record UI Snapshots locally' | ||
| lane :record_snapshots_locally do | ||
|
Comment on lines
+397
to
+398
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Convenience for me since quite often I just wanna run them all |
||
| remove_snapshots | ||
|
|
||
| scan( | ||
| project: xcode_project, | ||
| scheme: 'StreamChatSwiftUI', | ||
| testplan: 'StreamChatSwiftUI', | ||
| configuration: 'Debug', | ||
| devices: ['iPhone 17 Pro (26.2)'], | ||
| fail_build: false, | ||
| suppress_xcode_output: true | ||
| ) | ||
| end | ||
|
|
||
| desc 'Remove UI Snapshots' | ||
| lane :remove_snapshots do |options| | ||
| snapshots_path = "../StreamChatSwiftUITests/**/__Snapshots__/**/*.png" | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Fine tuning to get the same spacing what Figma uses between reactions and annotations