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

Room notification settings UI update #1621

Conversation

langleyd
Copy link
Contributor

Resolves #508

Content

  • Updates the room notifications settings as outlined by design to be more like iOS. Figma

  • Also fixes a bug where changing the default room notification mode in the global settings fails with an error and leaves the push rules in a mismatched state.

Screenshots / GIFs

screen-20231020-210655.mp4

- Add new ui for room notifications screen
- Fix error when changing default notification setting.
@langleyd langleyd requested a review from a team as a code owner October 20, 2023 20:14
@langleyd langleyd requested review from bmarty and removed request for a team October 20, 2023 20:14
@langleyd langleyd changed the base branch from develop to dla/feature/custom_room_notification_settings_list October 20, 2023 20:14
@langleyd
Copy link
Contributor Author

Adding @julioromano as a reviewer as this is is based of the branch in #1610.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 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/G7jfrf

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

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

Comparison is base (27758b5) 59.01% compared to head (d6467a8) 58.99%.
Report is 44 commits behind head on dla/feature/custom_room_notification_settings_list.

❗ Current head d6467a8 differs from pull request most recent head 03315ae. Consider uploading reports for the commit 03315ae to get more accurate results

Additional details and impacted files
@@                                  Coverage Diff                                   @@
##           dla/feature/custom_room_notification_settings_list    #1621      +/-   ##
======================================================================================
- Coverage                                               59.01%   58.99%   -0.03%     
======================================================================================
  Files                                                    1192     1208      +16     
  Lines                                                   30844    31315     +471     
  Branches                                                 6338     6407      +69     
======================================================================================
+ Hits                                                    18204    18474     +270     
- Misses                                                   9896    10046     +150     
- Partials                                                 2744     2795      +51     
Files Coverage Δ
...es/lockscreen/impl/auth/PinAuthenticationEvents.kt 0.00% <ø> (ø)
...res/lockscreen/impl/auth/PinAuthenticationState.kt 100.00% <ø> (ø)
...screen/impl/auth/PinAuthenticationStateProvider.kt 80.00% <ø> (ø)
...ures/lockscreen/impl/auth/PinAuthenticationView.kt 35.48% <ø> (ø)
...features/lockscreen/impl/create/CreatePinEvents.kt 0.00% <ø> (ø)
...tures/lockscreen/impl/create/CreatePinPresenter.kt 0.00% <ø> (ø)
.../features/lockscreen/impl/create/CreatePinState.kt 100.00% <ø> (ø)
...s/lockscreen/impl/create/CreatePinStateProvider.kt 80.00% <ø> (ø)
...d/features/lockscreen/impl/create/CreatePinView.kt 46.66% <ø> (ø)
...l/timeline/model/event/TimelineItemAudioContent.kt 100.00% <100.00%> (ø)
... and 48 more

... and 2 files with indirect coverage changes

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

@sonarcloud
Copy link

sonarcloud bot commented Oct 23, 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
0.0% 0.0% Duplication

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

Just one remark, else LGTM, thanks!

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 one nit.

@langleyd langleyd merged commit 0e6f762 into dla/feature/custom_room_notification_settings_list Oct 24, 2023
5 of 11 checks passed
@langleyd langleyd deleted the dla/feature/room_notification_settings_ui_update branch October 24, 2023 15:40
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.

Display in room Notifications settings the current setting by letting know if this is a custom setting
4 participants