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

Version 3 - Develop to Master #1511

Closed lrljoe closed 8 months ago

lrljoe commented 8 months ago

Rename row-contents blades to collapsed-columns blades

by @lrljoe in #1519

Add Custom Filter Views

by @lrljoe in #1518

Search - Default to Live

Default search to "Live" behaviour rather than "Defer" to match V2 by @lrljoe in #1517

Filter DTOs

by @lrljoe in #1503 To improve both performance, and maintainability, DTOs are now used in place of passing a series of attributes to the Filter Render methods. This will help consolidate the data being passed back and forth, and centralise the available data for a filter.

Split ConfigurableAreas, CollapsingColumns and TableAttributes

by @lrljoe in #1503 Split ConfigurableAreas, CollapsingColumns and TableAttributes into own Traits/Config/Helper Files for Maintainability by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1514 The reason for this change is:

Reduces code-per-file, minimising potential for merge conflicts Allows for easier location of code relevant for maintenance/bugs Add "HasAllTraits" for Maintainability by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1514 The reason for this change is:

To minimise number of Traits being added to DataTableComponent To begin the process for allowing diverse Traits to be used (and thus minimising the codebase being laoded In order to improve the maintainability of the package, splitting up certain functions is required.

This also supports work to migrate to ultimately migrate to v4.


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 8 months ago

Codecov Report

Merging #1511 (60cacf1) into master (2f07552) will increase coverage by 0.47%. Report is 2 commits behind head on master. The diff coverage is 97.70%.

@@             Coverage Diff              @@
##             master    #1511      +/-   ##
============================================
+ Coverage     88.08%   88.55%   +0.47%     
- Complexity     1251     1256       +5     
============================================
  Files            88       95       +7     
  Lines          3013     2980      -33     
============================================
- Hits           2654     2639      -15     
+ Misses          359      341      -18     
Files Coverage Δ
src/DataTableComponent.php 96.77% <100.00%> (+0.10%) :arrow_up:
src/DataTransferObjects/FilterGenericData.php 100.00% <100.00%> (ø)
src/Traits/ComponentUtilities.php 90.00% <ø> (ø)
...ts/Configuration/CollapsingColumnConfiguration.php 100.00% <100.00%> (ø)
...rc/Traits/Configuration/ComponentConfiguration.php 100.00% <ø> (ø)
...s/Configuration/ConfigurableAreasConfiguration.php 100.00% <100.00%> (ø)
src/Traits/Configuration/FilterConfiguration.php 94.11% <100.00%> (+0.50%) :arrow_up:
...aits/Configuration/TableAttributeConfiguration.php 100.00% <100.00%> (ø)
src/Traits/Helpers/CollapsingColumnHelpers.php 100.00% <100.00%> (ø)
src/Traits/Helpers/ComponentHelpers.php 98.07% <ø> (-0.98%) :arrow_down:
... and 19 more