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

Refactor the JoinRoom screen to take advantage of newer APIs and support more joinRule/membership combinations (i.e. invite required, restricted, banned) #3685

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

stefanceriu
Copy link
Member

@stefanceriu stefanceriu commented Jan 17, 2025

  • expose the full RoomPreview and RoomMembershipDetails through their own proxies
  • implement standard mocks for all the different combinations
  • converge on a single room info provider
  • rebuild all the previews

Fixes #3677, fixes #3678

…ort more joinRule/membership combinations (i.e. invite required, restricted, banned)

- expose the full RoomPreview and RoomMembershipDetails through their own proxies
- implement standard mocks for all the different combinations
- converge on a single room info provider
- rebuild all the previews
@stefanceriu stefanceriu added the pr-change for updates to an existing feature label Jan 17, 2025
@stefanceriu stefanceriu requested a review from a team as a code owner January 17, 2025 15:13
@stefanceriu stefanceriu requested review from pixlwave and removed request for a team January 17, 2025 15:13
Copy link

github-actions bot commented Jan 17, 2025

Warnings
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 231adbe

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 96.08939% with 7 lines in your changes missing coverage. Please review.

Project coverage is 78.62%. Comparing base (1af5a4a) to head (231adbe).
Report is 5 commits behind head on develop.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...s/Screens/JoinRoomScreen/View/JoinRoomScreen.swift 97.14% 3 Missing ⚠️
.../Screens/JoinRoomScreen/JoinRoomScreenModels.swift 77.77% 2 Missing ⚠️
...reens/JoinRoomScreen/JoinRoomScreenViewModel.swift 96.55% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3685      +/-   ##
===========================================
+ Coverage    78.50%   78.62%   +0.11%     
===========================================
  Files          792      792              
  Lines        67338    67897     +559     
===========================================
+ Hits         52864    53381     +517     
- Misses       14474    14516      +42     
Flag Coverage Δ
unittests 70.16% <96.08%> (+0.14%) ⬆️

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.

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.

Love it 👏

@stefanceriu stefanceriu force-pushed the stefan/betterRoomPreviews branch from f95dbd7 to 5aac543 Compare January 20, 2025 14:57
@stefanceriu stefanceriu merged commit 8577f53 into develop Jan 20, 2025
8 checks passed
@stefanceriu stefanceriu deleted the stefan/betterRoomPreviews branch January 20, 2025 17:07
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
2 participants