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

PinnedBanner is now managed by the RoomScreenViewModel #3163

Merged
merged 5 commits into from
Aug 14, 2024

Conversation

Velin92
Copy link
Member

@Velin92 Velin92 commented Aug 13, 2024

This refactor also includes finally some meaningful tests!
Timeline view model banner logic has been removed and inserted in the room screen view model. It also includes some other bugfixes and UX improvements on the PinnedEventsTimelineView

@Velin92 Velin92 requested a review from a team as a code owner August 13, 2024 15:23
@Velin92 Velin92 requested review from pixlwave and removed request for a team August 13, 2024 15:23
@Velin92 Velin92 force-pushed the mauroromito/room_screen_refactor_part_1 branch from 3e59ae8 to 55a7b8f Compare August 13, 2024 15:23
Copy link

github-actions bot commented Aug 13, 2024

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 45f3a72

@Velin92 Velin92 added the pr-wip for anything that isn't ready to ship and will be enabled at a later date label Aug 13, 2024
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

Attention: Patch coverage is 89.97135% with 35 lines in your changes missing coverage. Please review.

Project coverage is 74.00%. Comparing base (1384a72) to head (55a7b8f).

Files Patch % Lines
...urces/Screens/RoomScreen/RoomScreenViewModel.swift 87.15% 14 Missing ⚠️
...ces/Screens/RoomScreen/RoomScreenCoordinator.swift 26.66% 11 Missing ⚠️
...reens/FilePreviewScreen/InteractiveQuickLook.swift 0.00% 5 Missing ⚠️
...X/Sources/Screens/RoomScreen/View/RoomScreen.swift 40.00% 3 Missing ⚠️
...melineScreen/View/PinnedEventsTimelineScreen.swift 90.90% 1 Missing ⚠️
...X/Sources/Screens/Timeline/TimelineViewModel.swift 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3163      +/-   ##
===========================================
+ Coverage    73.84%   74.00%   +0.15%     
===========================================
  Files          768      769       +1     
  Lines        60440    60611     +171     
===========================================
+ Hits         44634    44854     +220     
+ Misses       15806    15757      -49     
Flag Coverage Δ
unittests 68.42% <89.97%> (+0.22%) ⬆️

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.

👌

@Velin92 Velin92 enabled auto-merge (squash) August 14, 2024 10:18
@Velin92 Velin92 force-pushed the mauroromito/room_screen_refactor_part_1 branch from d5cedc9 to 45f3a72 Compare August 14, 2024 10:37
@Velin92 Velin92 disabled auto-merge August 14, 2024 10:38
@Velin92 Velin92 merged commit c71da91 into develop Aug 14, 2024
@Velin92 Velin92 deleted the mauroromito/room_screen_refactor_part_1 branch August 14, 2024 10:38
Copy link

sonarcloud bot commented Aug 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-wip for anything that isn't ready to ship and will be enabled at a later date
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants