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

Selecting a server that doesn't support login now fails instead of letting you continue to a failure later. #3342

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Sep 27, 2024

This matches the behaviour for registration introduced by #3316.

Additionally re-works ServerSelectionScreen to have all the logic in the view model to follow our normal architecture.

Before

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-09-25.at.10.38.16.mp4

After

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-09-27.at.13.11.47.mp4

@pixlwave pixlwave requested a review from a team as a code owner September 27, 2024 12:13
@pixlwave pixlwave requested review from stefanceriu and removed request for a team September 27, 2024 12:13
@pixlwave pixlwave added the pr-change for updates to an existing feature label Sep 27, 2024
Copy link

Warnings
⚠️ 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 1d6a71f

Copy link

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Very nice! lgtm 👍

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 96.31336% with 8 lines in your changes missing coverage. Please review.

Project coverage is 77.35%. Comparing base (df6d0a9) to head (1d6a71f).
Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...ctionScreen/ServerSelectionScreenCoordinator.swift 0.00% 7 Missing ⚠️
...lectionScreen/ServerSelectionScreenViewModel.swift 98.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3342      +/-   ##
===========================================
+ Coverage    77.32%   77.35%   +0.03%     
===========================================
  Files          740      740              
  Lines        59746    59942     +196     
===========================================
+ Hits         46199    46369     +170     
- Misses       13547    13573      +26     
Flag Coverage Δ
unittests 68.76% <96.31%> (+0.20%) ⬆️

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 merged commit 17dfe13 into develop Sep 27, 2024
13 checks passed
@pixlwave pixlwave deleted the doug/login-failures branch September 27, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-change for updates to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants