rappasoft / laravel-livewire-tables

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

V3 - Custom Empty/No-Results View #1571

Closed lrljoe closed 10 months ago

lrljoe commented 10 months ago

This adds a new method

$this->setCustomEmptyView('path-to-view');

Allowing for a custom view to be used in place of the static string/message currently supported

TESTS NEED WRITING

All Submissions:

New Feature Submissions:

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

Changes to Core Features:

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (1a24e11) 88.99% compared to head (eb9a1a0) 88.91%.

Files Patch % Lines
...rc/Traits/Configuration/ComponentConfiguration.php 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1571 +/- ## ============================================= - Coverage 88.99% 88.91% -0.09% - Complexity 1268 1270 +2 ============================================= Files 96 96 Lines 3008 3013 +5 ============================================= + Hits 2677 2679 +2 - Misses 331 334 +3 ```

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