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

Custom room notification settings list #1610

Merged
merged 30 commits into from
Oct 24, 2023

Conversation

langleyd
Copy link
Contributor

Resolves #536
Fixes #1567 (Mostly, will only be fully corrected by the arrival of MSC3934)

Content

Screenshots / GIFs

screen-20231019-080425.mp4

- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
- List user define room notification settings
- Add new user defined style of the room notification settings view
- Add navigation to expose room notification settings ui to the global settings
- Add Progress indicators
- Improve error handing
 into dla/feature/custom_room_notification_settings_list
@langleyd langleyd requested a review from a team as a code owner October 19, 2023 15:36
@langleyd langleyd requested review from julioromano and removed request for a team October 19, 2023 15:36
@github-actions
Copy link
Contributor

github-actions bot commented Oct 19, 2023

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/Yic7RH

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Attention: 152 lines in your changes are missing coverage. Please review.

Comparison is base (8c7a0c0) 63.01% compared to head (1239edb) 63.04%.

❗ Current head 1239edb differs from pull request most recent head f5999a5. Consider uploading reports for the commit f5999a5 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1610      +/-   ##
===========================================
+ Coverage    63.01%   63.04%   +0.02%     
===========================================
  Files         1183     1188       +5     
  Lines        30440    30723     +283     
  Branches      6293     6342      +49     
===========================================
+ Hits         19183    19368     +185     
- Misses        8377     8435      +58     
- Partials      2880     2920      +40     
Files Coverage Δ
...es/impl/notifications/NotificationSettingsState.kt 100.00% <100.00%> (ø)
...notifications/NotificationSettingsStateProvider.kt 92.85% <100.00%> (+0.54%) ⬆️
...ations/edit/EditDefaultNotificationSettingState.kt 100.00% <100.00%> (ø)
...aries/designsystem/components/avatar/AvatarSize.kt 100.00% <100.00%> (ø)
...icationsettings/FakeNotificationSettingsService.kt 96.72% <100.00%> (+0.56%) ⬆️
...s/impl/notifications/NotificationSettingsEvents.kt 85.71% <0.00%> (-14.29%) ⬇️
...mpl/notifications/NotificationSettingsPresenter.kt 81.60% <93.33%> (+0.83%) ⬆️
.../edit/EditDefaultNotificationSettingStateEvents.kt 50.00% <0.00%> (-50.00%) ⬇️
...dit/EditDefaultNotificationSettingStateProvider.kt 95.00% <95.00%> (ø)
.../features/roomdetails/api/RoomDetailsEntryPoint.kt 40.00% <50.00%> (-10.00%) ⬇️
... and 15 more

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- Add new ui for room notifications screen
- Fix error when changing default notification setting.
Copy link
Contributor

@julioromano julioromano left a comment

Choose a reason for hiding this comment

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

LGTM, just a few minors. No blockers.

- Add additional states to preview.
- Add TODO description for commented code
- Move showUserDefinedSettingStyle from the node to the view for testability.
…_settings_ui_update

Room notification settings UI update
@sonarcloud
Copy link

sonarcloud bot commented Oct 24, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@langleyd langleyd merged commit ef0110d into develop Oct 24, 2023
13 checks passed
@langleyd langleyd deleted the dla/feature/custom_room_notification_settings_list branch October 24, 2023 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants