rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.7k stars 320 forks source link

Enable Toggle Pagination Details Display #1618

Closed lrljoe closed 6 months ago

lrljoe commented 6 months ago

Two Pagination Related Changes

Conditional Display/Hiding of Details

This enables configurable display/hiding of the pagination details, i.e. "Showing x to y of z results" pagination details example

This remains displayed by default, and pagination buttons are not affected

queryString perPage

To ensure persistence of the perPage, it is now added to the queryString with a unique key.

All Submissions:

New Feature Submissions:

  1. [X] Does your submission pass tests and did you add any new tests needed for your feature?
  2. [X] Did you update all templates (if applicable)?
  3. [X] Did you add the relevant documentation (if applicable)?
  4. [X] Did you test locally to make sure your feature works as intended?

Changes to Core Features:

codecov[bot] commented 6 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (082f5c7) 88.56% compared to head (67e899c) 88.67%.

:exclamation: Current head 67e899c differs from pull request most recent head ec64c15. Consider uploading reports for the commit ec64c15 to get more accurate results

Files Patch % Lines
src/Traits/WithPagination.php 60.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1618 +/- ## ============================================= + Coverage 88.56% 88.67% +0.11% - Complexity 1346 1354 +8 ============================================= Files 106 106 Lines 3167 3189 +22 ============================================= + Hits 2805 2828 +23 + Misses 362 361 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.