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

[ReviewEntries] Turn off return-to-first-page-when-row-is-edited #3158

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented Jun 7, 2024

Fixes #3147

Disable autoResetPageIndex (https://www.material-react-table.com/docs/guides/pagination#customize-pagination-behavior), which resets the table to the first page when editing/filtering/sorting. (It would be nice to have the latter two, but not at the expense of the first one.)


This change is Reviewable

@imnasnainaec imnasnainaec self-assigned this Jun 7, 2024
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.98%. Comparing base (6302b3c) to head (e683692).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3158      +/-   ##
==========================================
- Coverage   75.02%   74.98%   -0.04%     
==========================================
  Files         271      271              
  Lines       10394    10394              
  Branches     1230     1230              
==========================================
- Hits         7798     7794       -4     
- Misses       2237     2240       +3     
- Partials      359      360       +1     
Flag Coverage Δ
backend 83.96% <ø> (-0.09%) ⬇️
frontend 66.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@imnasnainaec
Copy link
Collaborator Author

Opened discussion about separating functionality for editing and for filtering/sorting: KevinVandy/material-react-table#1157

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

@imnasnainaec imnasnainaec merged commit 960119f into master Jun 7, 2024
18 checks passed
@imnasnainaec imnasnainaec deleted the autoResetPageIndex branch June 7, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review Entries re-displays the list of words from the beginning when a recording is made
2 participants