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

Notification images #4430

Merged
merged 17 commits into from
Nov 15, 2021
Merged

Notification images #4430

merged 17 commits into from
Nov 15, 2021

Conversation

ouchadam
Copy link
Contributor

@ouchadam ouchadam commented Nov 8, 2021

Feature PR containing
#4401 Single notification update point of entry
#4402 Supporting images in notifications

Adds image support to the message notifications

  • Downloads the image as part of the notification event resolving chain
  • Temporarily exposes the image via FileProvider Uri in order to allow the notifications to read and display the image
EXPANDED GROUP WITH TEXT EXPANDED GROUP GROUP COLLAPSED GROUP SUMMARY SINGLE ROOM LIST
Screenshot_20211103_154653 Screenshot_20211103_154629 Screenshot_20211103_154620 Screenshot_20211103_154612 Screenshot_20211103_154705 after-room-list

…llback

- simplifies the handling of notifications, will allow us to reduce redundant synchronisations and suspend the entire notification update (will be needed for supporting images)
…a single update point of entry for mutating the events

- this avoids multiple synchronisation locks by batching updates and ensures a single notification render pass
…tifiableEventReceived not synchronised for use within the synchronized batching

- makes the refresh function private as all interactions now come through via update
                          - downloads and exports any images whilst resolving the notification event
…ion image, will allow us to continue to show the notifications
@github-actions
Copy link

github-actions bot commented Nov 8, 2021

Unit Test Results

  66 files  +  4    66 suites  +4   53s ⏱️ -5s
135 tests +17  135 ✔️ +17  0 💤 ±0  0 ±0 
418 runs  +68  418 ✔️ +68  0 💤 ±0  0 ±0 

Results for commit 145ceac. ± Comparison against base commit 2b58c0e.

@bmarty bmarty merged commit df60b0c into develop Nov 15, 2021
@bmarty bmarty deleted the feature/adm/feature-notification-images branch November 15, 2021 11:46
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.

2 participants