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

feat(table): select first, last, etc to table state #1198

Merged

Conversation

robertpsoane
Copy link
Contributor

Add select_previous, select_next, select_first & select_last to TableState

Used equivalent API as in ListState

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.4%. Comparing base (0a18dcb) to head (2153270).

Current head 2153270 differs from pull request most recent head fceb8a9

Please upload reports for the commit fceb8a9 to get more accurate results.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1198   +/-   ##
=====================================
  Coverage   94.4%   94.4%           
=====================================
  Files         62      62           
  Lines      15009   15057   +48     
=====================================
+ Hits       14178   14226   +48     
  Misses       831     831           

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

src/widgets/table/table.rs Show resolved Hide resolved
@robertpsoane robertpsoane force-pushed the rs/update-table-state-to-match-list-state branch from 624db0b to 2153270 Compare June 25, 2024 17:41
equivalent additions to TableState API as in ListState
@robertpsoane robertpsoane force-pushed the rs/update-table-state-to-match-list-state branch from 0fccc25 to fceb8a9 Compare June 25, 2024 17:43
src/widgets/table/table.rs Show resolved Hide resolved
@joshka joshka merged commit 36d49e5 into ratatui:main Jun 25, 2024
31 checks passed
joshka pushed a commit to erak/ratatui that referenced this pull request Oct 14, 2024
Add select_previous, select_next, select_first & select_last to
TableState

Used equivalent API as in ListState
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.

3 participants