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

Fix back pagination #432

Merged
merged 2 commits into from
Jan 11, 2023
Merged

Fix back pagination #432

merged 2 commits into from
Jan 11, 2023

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Jan 10, 2023

The pagination logic was broken following a recent change for the SDK, this PR uses the new timeline items for the pagination indicator and the room start to update the view state.

Additionally updates some snapshots that were broken following the removal of the top section in the timeline, causing minor layout changes.

isBackPaginating and canBackPaginate are updated each time the timeline is rebuilt
@pixlwave pixlwave requested a review from stefanceriu January 10, 2023 16:10
@github-actions
Copy link

github-actions bot commented Jan 10, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consinder using them for better tracking.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 67a596e

The top section has gone, which has altered the layout slightly.
@pixlwave pixlwave force-pushed the doug/back-pagination branch from c824116 to 67a596e Compare January 10, 2023 16:13
@sonarqubecloud
Copy link

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 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

This looks great, so much cleaner 👏

@pixlwave pixlwave merged commit 08b3338 into develop Jan 11, 2023
@pixlwave pixlwave deleted the doug/back-pagination branch January 11, 2023 09:11
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