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

v3 - Splitting Codebase - ConfigurableAreas, CollapsingColumns and TableAttributes #1514

Closed lrljoe closed 8 months ago

lrljoe commented 8 months ago

Non-Impacting Change.

This change contains no new features/bug fixes:

Split ConfigurableAreas, CollapsingColumns and TableAttributes into own Traits/Config/Helper Files for Maintainability by @lrljoe in #1514 The reason for this change is: 1) Reduces code-per-file, minimising potential for merge conflicts 2) Allows for easier location of code relevant for maintenance/bugs

Add "HasAllTraits" for Maintainability by @lrljoe in #1514 The reason for this change is: 1) To minimise number of Traits being added to DataTableComponent 2) To begin the process for allowing diverse Traits to be used (and thus minimising the codebase being laoded

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 #1514 (9cafd64) into develop (4f57ad8) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 9cafd64 differs from pull request most recent head 3a00382. Consider uploading reports for the commit 3a00382 to get more accurate results

@@            Coverage Diff             @@
##             develop    #1514   +/-   ##
==========================================
  Coverage      88.08%   88.08%           
  Complexity      1251     1251           
==========================================
  Files             90       94    +4     
  Lines           3013     3013           
==========================================
  Hits            2654     2654           
  Misses           359      359           
Files Coverage Δ
src/DataTableComponent.php 96.66% <ø> (ø)
src/Traits/ComponentUtilities.php 90.00% <ø> (ø)
...ts/Configuration/CollapsingColumnConfiguration.php 100.00% <100.00%> (ø)
...rc/Traits/Configuration/ComponentConfiguration.php 100.00% <ø> (ø)
...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.74%) :arrow_down:
src/Traits/Helpers/TableAttributeHelpers.php 100.00% <100.00%> (ø)