Skip to content

Conversation

@kulmann
Copy link
Contributor

@kulmann kulmann commented Jun 18, 2021

Description

This PR fixes an implementation detail of the pagination that we brought in #5224: on pagination the resources were reloaded entirely. If the set of resources didn't change (which can be expected when only the page number is different to the route from before) this is unnecessary network traffic.

Motivation and Context

Performance

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@kulmann kulmann changed the title Don't reload resources when going to a different page on the same rou… Don't reload resources when going to a different page on the same route/resource Jun 18, 2021
@ownclouders
Copy link
Contributor

💥 Acceptance tests webUISharingNotifications failed. The build is cancelled...

@kulmann kulmann force-pushed the dont-reload-on-pagination branch from 34f610b to 4719a53 Compare June 18, 2021 12:26
@ownclouders
Copy link
Contributor

💥 Acceptance tests webUIOCISFiles2 failed. The build is cancelled...

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

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

🚀 LGTM

@kulmann kulmann self-assigned this Jun 21, 2021
@kulmann kulmann marked this pull request as ready for review June 21, 2021 06:20
@kulmann kulmann merged commit b07b452 into master Jun 21, 2021
@delete-merged-branch delete-merged-branch bot deleted the dont-reload-on-pagination branch June 21, 2021 06:20
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.

4 participants