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

Hide the unread dot after previewing an invite. #3800

Merged
merged 5 commits into from
Feb 18, 2025
Merged

Conversation

pixlwave
Copy link
Member

This PR reintroduces the seenInvites app setting removed as part of #2821.

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-02-17.at.16.41.41.mp4

@pixlwave pixlwave requested a review from a team as a code owner February 17, 2025 16:44
@pixlwave pixlwave requested review from Velin92 and removed request for a team February 17, 2025 16:44
@@ -413,6 +426,7 @@ class HomeScreenViewModel: HomeScreenViewModelType, HomeScreenViewModelProtocol
analyticsService.trackJoinedRoom(isDM: roomProxy.info.isDirect,
isSpace: roomProxy.info.isSpace,
activeMemberCount: UInt(roomProxy.info.activeMembersCount))
appSettings.seenInvites.remove(roomID)
Copy link
Member Author

Choose a reason for hiding this comment

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

Honestly, I'm not really sure if this commit is necessary. We didn't do it before and joining from another client won't trigger this path. But it is nice to be able to leave a room and see a new invite as unread so I left it in 🤷‍♂️

@pixlwave pixlwave requested a review from stefanceriu February 17, 2025 16:46
@pixlwave pixlwave added the pr-change for updates to an existing feature label Feb 17, 2025
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 97.04433% with 6 lines in your changes missing coverage. Please review.

Project coverage is 78.66%. Comparing base (b71c93d) to head (b7cd030).
Report is 3 commits behind head on develop.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ources/Services/Room/RoomSummary/RoomSummary.swift 57.14% 3 Missing ⚠️
...ervices/Room/RoomSummary/RoomSummaryProvider.swift 0.00% 2 Missing ⚠️
...reens/JoinRoomScreen/JoinRoomScreenViewModel.swift 93.75% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3800      +/-   ##
===========================================
- Coverage    78.69%   78.66%   -0.04%     
===========================================
  Files          793      794       +1     
  Lines        69341    70153     +812     
===========================================
+ Hits         54570    55184     +614     
- Misses       14771    14969     +198     
Flag Coverage Δ
unittests 70.67% <97.04%> (+0.27%) ⬆️

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.

Refactor KnockRequestType to JoinRequestType.
@pixlwave pixlwave merged commit d325adb into develop Feb 18, 2025
13 checks passed
@pixlwave pixlwave deleted the doug/invite-badge branch February 18, 2025 12:22
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