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

Remix: remove pagination, return all projects #4862

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Feb 8, 2024

Fix #4861

Problem:

The Remix projects page should not bother with paginating the results, as the client should be doing it (and even for large projects collections it should not be a problem for a long while).

Fix:

Don't limit/offset the query selection (and make sure the content is filtered out!).

@ruggi ruggi changed the title Remove pagination, return all projects Remix: remove pagination, return all projects Feb 8, 2024
Copy link
Contributor

github-actions bot commented Feb 8, 2024

Try me

Copy link

relativeci bot commented Feb 8, 2024

Job #10340: Bundle Size — 62.36MiB (~-0.01%).

e036498(current) vs d299c8d master#10339(baseline)

Warning

Bundle contains 66 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
Job #10340
     Baseline
Job #10339
Regression  Initial JS 35.4MiB(~+0.01%) 35.4MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 20.25% 20.23%
No change  Chunks 28 28
No change  Assets 32 32
No change  Modules 4407 4407
No change  Duplicate Modules 490 490
No change  Duplicate Code 30.7% 30.7%
No change  Packages 462 462
No change  Duplicate Packages 65 65
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
Job #10340
     Baseline
Job #10339
Regression  JS 62.35MiB (~+0.01%) 62.35MiB
Improvement  HTML 11.37KiB (-0.32%) 11.41KiB

View job #10340 reportView feat/bff-projects-no-pagination branch activityView project dashboard

Copy link
Contributor

github-actions bot commented Feb 8, 2024

Performance test results:
(Chart1)
(Chart2)

Copy link
Contributor

@liady liady left a comment

Choose a reason for hiding this comment

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

LGTM, but great pagination code to remove, though :-)

@ruggi ruggi merged commit b622f9c into master Feb 9, 2024
13 checks passed
@ruggi ruggi deleted the feat/bff-projects-no-pagination branch February 9, 2024 12:44
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.

Don't paginate remix projects
4 participants