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

Auto-pagination allowed to be set to remote and to switch #3355

Merged
merged 1 commit into from
Apr 10, 2022

Conversation

maximlt
Copy link
Member

@maximlt maximlt commented Apr 10, 2022

Follow-up on #3306 which always set pagination to local if the number of rows in the df was greater than 200. Another change made in this PR is to avoid triggering the _set_explicict_pagination callback from _apply_max_size, allowing pagination to automatically switch from 'local' to 'remote' or inversely when the df size changes.

@codecov
Copy link

codecov bot commented Apr 10, 2022

Codecov Report

Merging #3355 (8d89d43) into master (4d4afb7) will increase coverage by 0.00%.
The diff coverage is 60.00%.

@@           Coverage Diff           @@
##           master    #3355   +/-   ##
=======================================
  Coverage   83.27%   83.27%           
=======================================
  Files         196      196           
  Lines       26607    26608    +1     
=======================================
+ Hits        22156    22157    +1     
  Misses       4451     4451           
Impacted Files Coverage Δ
panel/widgets/tables.py 88.20% <60.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d4afb7...8d89d43. Read the comment docs.

@philippjfr philippjfr merged commit b1ee67a into master Apr 10, 2022
@philippjfr philippjfr deleted the fix_auto_pagination branch April 10, 2022 09:56
@philippjfr
Copy link
Member

Thanks for catching that!

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