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

Hard code the room flow to a single room proxy. #2599

Merged
merged 6 commits into from
Mar 27, 2024

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Mar 22, 2024

This PR scopes the responsibility of RoomFlowCoordinator down to a single room. Rather than letting it change rooms, it becomes the job of UserSessionFlowCoordinator to replace the room flow when necessary.

First part of #2587.

Copy link

github-actions bot commented Mar 22, 2024

Warnings
⚠️ Please add a changelog.
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 4d2c103

@pixlwave pixlwave force-pushed the doug/single-room-flow-coordinators branch from b87e003 to 606aef5 Compare March 22, 2024 17:08
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 69.62025% with 72 lines in your changes are missing coverage. Please review.

Project coverage is 74.95%. Comparing base (189d081) to head (606aef5).
Report is 2 commits behind head on develop.

❗ Current head 606aef5 differs from pull request most recent head 4d2c103. Consider uploading reports for the commit 4d2c103 to get more accurate results

Files Patch % Lines
...Sources/FlowCoordinators/RoomFlowCoordinator.swift 60.13% 59 Missing ⚠️
.../FlowCoordinators/UserSessionFlowCoordinator.swift 83.56% 12 Missing ⚠️
...ators/UserSessionFlowCoordinatorStateMachine.swift 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2599      +/-   ##
===========================================
+ Coverage    74.43%   74.95%   +0.52%     
===========================================
  Files          572      572              
  Lines        39034    38934     -100     
  Branches     16939    16735     -204     
===========================================
+ Hits         29054    29183     +129     
+ Misses        9980     9751     -229     
Flag Coverage Δ
unittests 61.83% <69.62%> (+1.33%) ⬆️

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 force-pushed the doug/single-room-flow-coordinators branch from 85826d7 to 5162fbe Compare March 25, 2024 14:59
@pixlwave pixlwave marked this pull request as ready for review March 25, 2024 15:01
@pixlwave pixlwave requested a review from a team as a code owner March 25, 2024 15:02
@pixlwave pixlwave requested review from Velin92 and stefanceriu and removed request for a team and Velin92 March 25, 2024 15:02
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.

It's hard to statically analyse these changes but I love the idea and it's a great addition to the codebase 👏

@pixlwave pixlwave force-pushed the doug/single-room-flow-coordinators branch from 5162fbe to 532ef22 Compare March 26, 2024 16:30
Copy link

sonarcloud bot commented Mar 27, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
5.1% Duplication on New Code

See analysis details on SonarCloud

@pixlwave pixlwave merged commit 144f3a7 into develop Mar 27, 2024
4 of 5 checks passed
@pixlwave pixlwave deleted the doug/single-room-flow-coordinators branch March 27, 2024 10:56
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