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

Feature/fga/pinned messages fix timeline provider #3432

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

ganfra
Copy link
Member

@ganfra ganfra commented Sep 9, 2024

Content

Fix cases where navigation causes PinnedMessagesTimelineProvider to close the timeline.

Motivation and context

Closes https://github.com/element-hq/element-internal/issues/623

Screenshots / GIFs

Tests

  • Open a room with pinned messages
  • Go to the room settings, then click pinned messages
  • Play with navigation (use View in timeline and unpin actions)
  • Check banner and list are always up-to-date with the pinned messages state event.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

  • Changes have been tested on an Android device or Android emulator with API 23
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • Pull request includes a sign off
  • You've made a self review of your PR

@ganfra ganfra marked this pull request as ready for review September 9, 2024 19:00
@ganfra ganfra requested a review from a team as a code owner September 9, 2024 19:00
@ganfra ganfra requested review from bmarty and removed request for a team September 9, 2024 19:00
Copy link
Contributor

github-actions bot commented Sep 9, 2024

📱 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/X34vzb

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 52.94118% with 8 lines in your changes missing coverage. Please review.

Project coverage is 82.61%. Comparing base (67e262f) to head (99158da).

Files with missing lines Patch % Lines
...ssages/impl/pinned/PinnedEventsTimelineProvider.kt 53.33% 5 Missing and 2 partials ⚠️
...es/impl/pinned/list/PinnedMessagesListPresenter.kt 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3432      +/-   ##
===========================================
- Coverage    82.62%   82.61%   -0.02%     
===========================================
  Files         1699     1699              
  Lines        39979    39989      +10     
  Branches      4864     4866       +2     
===========================================
+ Hits         33033    33036       +3     
- Misses        5229     5233       +4     
- Partials      1717     1720       +3     

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

@ganfra ganfra removed the request for review from bmarty September 10, 2024 04:52
@ganfra ganfra force-pushed the feature/fga/pinned_messages_fix_timeline_provider branch from 146e253 to 99158da Compare September 10, 2024 07:07
@ganfra ganfra requested review from a team and jmartinesp and removed request for a team September 10, 2024 07:07
Copy link

sonarcloud bot commented Sep 10, 2024

@ganfra ganfra added the PR-Bugfix For bug fix label Sep 10, 2024
@ganfra ganfra marked this pull request as draft September 10, 2024 07:27
Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

I can confirm it's fixed, thanks!

@ganfra ganfra marked this pull request as ready for review September 10, 2024 07:44
@ganfra ganfra added the Run-Maestro Starts a Maestro Cloud session to run integration tests label Sep 10, 2024
@github-actions github-actions bot removed the Run-Maestro Starts a Maestro Cloud session to run integration tests label Sep 10, 2024
@ganfra ganfra merged commit ba7baea into develop Sep 10, 2024
31 of 33 checks passed
@ganfra ganfra deleted the feature/fga/pinned_messages_fix_timeline_provider branch September 10, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Bugfix For bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants