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

Upgrade the project to use Xcode 15.4 #3027

Merged
merged 8 commits into from
Jul 11, 2024
Merged

Conversation

pixlwave
Copy link
Member

The main change is (as always) snapshot related:

Preview snapshots were failing whenever a MessageText instance had more than 5 lines of text. Tracked it down to pointfreeco/swift-snapshot-testing#871 which turns out to be caused by the library snapshotting at an origin of (10000, 10000) whenever the safe area is set to .zero. Because of this I've tweaked the stencil to use a value of .one and now we're using an iPhone SE to generate them as it has the smallest safe area of all the supported devices.

This seems to have helped with a handful of issues we were seeing anyway such as the below:
Screenshot 2024-07-11 at 10 47 37 AM
Screenshot 2024-07-11 at 10 48 10 AM
Screenshot 2024-07-11 at 11 33 28 AM
Screenshot 2024-07-11 at 11 38 23 AM

That said I caveat it with the fact it has introduced the following rendering issue with the use of our searchController modifier. However this only presents itself on an iPhone, it looks fine on iPad.

Message Forwarding Change Role
searchbar searchbar2

Copy link

github-actions bot commented Jul 11, 2024

Warnings
⚠️ This pull request seems relatively large. Please consider splitting it into multiple smaller ones.
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 14580ba

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.93%. Comparing base (c164e47) to head (14580ba).

Files Patch % Lines
...ens/EmojiPickerScreen/View/EmojiPickerScreen.swift 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3027      +/-   ##
===========================================
+ Coverage    77.88%   77.93%   +0.04%     
===========================================
  Files          695      695              
  Lines        53993    53997       +4     
===========================================
+ Hits         42052    42080      +28     
+ Misses       11941    11917      -24     
Flag Coverage Δ
uitests 28.06% <0.00%> (+0.02%) ⬆️
unittests 68.73% <88.88%> (-0.04%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pixlwave pixlwave added the pr-build for changes related to build, tools, CI/CD label Jul 11, 2024
Copy link

@pixlwave pixlwave marked this pull request as ready for review July 11, 2024 14:00
@pixlwave pixlwave requested a review from a team as a code owner July 11, 2024 14:00
@pixlwave pixlwave requested review from Velin92 and removed request for a team July 11, 2024 14:00
@pixlwave pixlwave merged commit c92c6a2 into develop Jul 11, 2024
11 checks passed
@pixlwave pixlwave deleted the doug/xcode-15.4-take-2 branch July 11, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-build for changes related to build, tools, CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants