Skip to content

Commit 6736c1a

Browse files
lrljoematzeschmittkhwadjchannorChrisThompsonTLDR
authored
Development to Master v3.5.0 (rappasoft#2026)
* Add explanation of setRefreshMethod (rappasoft#1857) * Unlocking Entangled Items (rappasoft#1859) * Unlock properties locked in error --------- Co-authored-by: lrljoe <[email protected]> * Add dispatch on updated filter components (rappasoft#1861) * Add additional dispatch * Add FilterApplied Event * Add Filter Event Dispatch Tests --------- Co-authored-by: lrljoe <[email protected]> * v3.4.8 * Fix superfluous bulk actions tr < (rappasoft#1868) * Default useComputedProperties to False (rappasoft#1869) * Update ChangeLog * Add Action Buttons (rappasoft#1864) * Make ActionButtons An Optional Feature in Beta --------- Co-authored-by: lrljoe <[email protected]> * FixDateRangeFilter (rappasoft#1872) * Adjust Methods - useComputedProperties (rappasoft#1873) * Adjust Methods - useComputedProperties * Adjust ActionTest * Update ChangeLog * AllowDeleteDateRangeFilter (rappasoft#1875) * Fix ChangeLog * Update Docs (rappasoft#1876) * Update ChangeLog - Add Docs Update * Add setIconLeft/setIconRight (rappasoft#1877) * Add setIconLeft/setIconRight * Fix styling * Adjust Test * Adjust ActionTest --------- Co-authored-by: lrljoe <[email protected]> * Adjust ChangeLog * Adjust Action Button Icon Margin (rappasoft#1880) * Adjust Action Button Icon Margin * Adjust ChangeLog * Change Order of "Getting Started" section (rappasoft#1883) * Change Order of "Getting Started" section * Change to "UsersTable" * Add Button with No Icon (rappasoft#1887) * Add a "Recommended" approach (rappasoft#1886) * Add a "Recommended" approach * Add blurb to Recommended * v3.4.13 * Set actions position (rappasoft#1889) * Add displayActionsInToolbar and actionsPosition * Add docs and tests for setActionsInToolbar * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Update ChangeLog * Doc Type Fixes (rappasoft#1891) * Update NumberFilter and TypeHints * Update DateFilter/DateTimeFilter and ConfigurableAreasHelpers for typehints and array key exists * Add Float Test for NumberFilter * Add ColorColumn View Test * Adjust ColumnSelectConfigurationTest --------- Co-authored-by: lrljoe <[email protected]> * BooleanColumn - Toggleable Callback (rappasoft#1892) * Add Docs, Code for Toggleable Columns * Add Confirmation Option * Tweak Blade - Standardise * Add Tests for Toggleable --------- Co-authored-by: lrljoe <[email protected]> * Update ChangeLog * Enable/Disable Tools/Toolbar (rappasoft#1896) * Customised Toolbar Approach --------- Co-authored-by: lrljoe <[email protected]> * Use Computed Properties By Default (rappasoft#1898) * Fix has actions (rappasoft#1901) * Fix Action Repetitive Calling * Fix validActionsCount --------- Co-authored-by: lrljoe <[email protected]> * Add icon column (rappasoft#1902) * Initial Commit - Awaiting Docs & Tests * Tweak to IconColumn label behaviour * Adding IconColumn documentation * Add Additional Tests - Replace Test Database * Add Visuals Test for IconColumn * Add Icon Columns to Other Column Types * Undo FrontendAssetsTest Changes --------- Co-authored-by: lrljoe <[email protected]> * Add Baseline - Convert phpstan.neon to tabs (rappasoft#1903) * Update ChangeLog * Save filter selection to session (BETA) (rappasoft#1910) * Initial Commit * Fix styling * Initial Commit * Fix styling * Fix nullable return * Add Initial Tests - Remove Non-Required Method * Fix styling * Swap methods * Add default docs * Remove errant note * Adjust docs * Adjust Docs for storeFiltersInSessionEnabled --------- Co-authored-by: lrljoe <[email protected]> * Add hide table option (rappasoft#1914) * Initial Commit * Fix styling * Further adjustments * Fix styling * Improve Tests - Extend PetsTable * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add column select session methods (rappasoft#1913) * Initial Commit * Fix styling * Minor Tweaks * Fix styling * Fix Tests * Add Tests for StoredColumnSelect * Fix styling * Add Missing Tests * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Use Core HasTheme Methods (rappasoft#1915) * Centralise Theme Methods * Fix styling * Fix for broken tests * Fix styling * Remove persisted computed properties --------- Co-authored-by: lrljoe <[email protected]> * Use Core Attribute Bag (rappasoft#1916) * Initial Commit * Fix styling * Add Missing Test * Fix styling * Adjustments * Fix styling * Adjust Test * Fix styling * Fix Sorting Visual Test --------- Co-authored-by: lrljoe <[email protected]> * Fix ChangeLog * Add Polish translation by @meavric (rappasoft#1925) * Add Polish translation by @meavric * Update ChangeLog to reflect translation * Add Vertical Scrolling Example (rappasoft#1926) * Adjusting contributing * Fix missing variable in workflow (rappasoft#1933) * Fix missing variable name * Remove phpunit failOnWarning * Tests * PCOV Use Laravel 11 * Fixes for ButtonGroupColumn, ImageColumn, LinkColumn - to not default as label if has a "from" property. (rappasoft#1932) * Initial Commit - Allowing Labels with "From" to be included in queries * Fix styling * Fixes for ButtonGroupColumn, ImageColumn, LinkColumn - to not default as label if has a "from" property. --------- Co-authored-by: lrljoe <[email protected]> * Add button type to tailwind pagination blade template (rappasoft#1928) * v3.4.19 ChangeLog * Revert tableName to be public (rappasoft#1937) * v3.4.20 ChangeLog * Migration to Core attribute management (rappasoft#1943) * Migration to Core attribute management * Fix styling * Fix missing type hint, update tests * Fix styling * Remove defaults from being output * Fix styling * Adjust defaults * Adjust behaviour for Bulk Actions TH * Add "styling" to Columns docs * Docs Adjust, add missing test * Fix styling * Adjust workflows - use L11 for PHPStan, use PHPUnit for L10 * Add missing test for thSortIconAttributes * Fix styling * Add CustomAttributesTest * Fix styling * Add missing tests - correct attribute to respect defaults * Fix styling * Remove defined processes in workflows * Add test for setShouldBeHidden and setShouldBeDisplayed * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Update docs - add Action setLabelAttributes method (rappasoft#1952) * Reset Page on "Per Page" changing (rappasoft#1953) * Localisation - Avoid Conflicts With Other Packages (rappasoft#1955) * Merging Localisation Tweaks * Fix styling * Tweak localisations * Fix styling * Tweaks to sorting pill direction label * Fix styling * Fixes for Sorting Pill Labels --------- Co-authored-by: lrljoe <[email protected]> * Add filterComponents into queryString (rappasoft#1957) * Fix syntax for DateColumn outputFormat in docs (rappasoft#1960) * Fix Filter Pills Icon - Tailwind (rappasoft#1961) * Add original translation strings - for use in published views (rappasoft#1959) * Fix for Search Field Attribute Defaults (rappasoft#1962) * Fix for Search Field Attribute Defaults * SearchFieldAttributes -> Defaults To False * Change the type of LaravelLivewireTablesEvent::$user from Illuminate\Foundation\Auth\User to Illuminate\Contracts\Auth\Authenticatable (rappasoft#1963) * Remove persist from getFilterGenericData (rappasoft#1966) * Update ChangeLog * Update Pint Workflow (rappasoft#1967) * Update Pint Workflow * Update ChangeLog * Test Styling Workflow * Fix styling * Test Workflow * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Update Discord Releases Workflow (rappasoft#1968) * Update ChangeLog * Fix Loading Placeholder Bug - Breaking Table (rappasoft#1969) * FixLoadingPlaceholderBug * Adjust tests for new Loading blade * v3.4.22 ChangeLog * Update ChangeLog * Add comment on getTitle (rappasoft#1976) * Add before-wrapper and after-wrapper configurable areas (rappasoft#1977) * Add initial commit for setPaginationWrapperAttributes (rappasoft#1978) * Add initial commit for setPaginationWrapperAttributes * Fix styling * Update ChangeLog * Adjust Tests & Methods * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Update ChangeLog * Update ChangeLog * Adjust ChangeLog Date * Add ToolsAttributes and ToolbarAttributes (rappasoft#1982) * Initial Commit * Fix styling * Add getCustomAttributesBagFromArray * Fix styling * Reorder Array * Reorder Initial Array - Add Additional Test * Fix styling * Add More Tests --------- Co-authored-by: lrljoe <[email protected]> * Add docs for the ColumnSelect lifecycle hooks (rappasoft#1983) * Add setToolsAttributes and setToolBarAttributes docs (rappasoft#1984) * Update ChangeLog * Adding Tools/Toolbar Enable Tests (rappasoft#1986) * Adding Tools/Toolbar Enable Tests * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add lang Norwegian and Albanian (rappasoft#1988) * Add Norwegian Bokmål nb.json GTP translated verified by human * Added Albanian sq.json GTP translated, not verified by human * Fix missing i18n keys for FR, IT, EN, DE (rappasoft#1993) * Clean localization files by adding missing keys (in english) and re-ordering a few misplaced ones * Update localization for french * Update localization for spanish * Update localization for italian * Update localization for german * Revert "Clean localization files by adding missing keys (in english) and re-ordering a few misplaced ones" This reverts commit d440bd2. * Loading Placeholder Adjustments (rappasoft#1987) * Move LoadingPlaceholderStyling into new method * Add "Loading" default translation * Move Placeholder Blade Config backwards * Adjustments to Placeholder Attributes * Tweak Row Behaviour --------- Co-authored-by: lrljoe <[email protected]> * Livewire column doesn't have title() method (rappasoft#2002) Adjusting Documentation -> The Livewire column type doesn't have the `HasTitleCallback` trait, so you can't use `->title()`. * Add Value to BooleanColumn custom view (rappasoft#2010) * Add Value to BooleanColumn view * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add config option to bypass setting User on Events. (rappasoft#2006) Co-authored-by: julianmedwards <[email protected]> * Fix styling * Improve Workflow Caches (rappasoft#2013) * Improve Workflow Caches * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add customisation for QueryString specific to Filters (rappasoft#2011) * Add customisation for QueryString specific to Filters * Move all QueryString Filter Code to HasQueryStringForFilter --------- Co-authored-by: lrljoe <[email protected]> * Adjust Workflow Cache for Issue (rappasoft#2015) * Fix bug with FilterQueryString (rappasoft#2014) * Fix bug with FilterQueryString * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add Customisation for "Search" in QueryString (rappasoft#2017) * AddSearchQueryString * Add tests for hasQueryStringAliasFor... * Additional Tests For SearchQueryString * Move Livewire to Visuals section * Simplify the queryString methods * Add hasQueryStringAliasForSearch test * PCOV Runs as PHPUnit not ParaTest * Remove PCOV From Workflows Where Not Used * Fix styling --------- Co-authored-by: lrljoe <[email protected]> * Add QueryStringForSort (rappasoft#2018) * Add QueryStringForSort * Adjust for SortQueryString * Tests * Tweaks to Configure Approach --------- Co-authored-by: lrljoe <[email protected]> * BETA: Livewire Custom Filter (Array) (rappasoft#2025) * Initial Commit * Add blade for Livewire Component Array Filter - not live --------- Co-authored-by: lrljoe <[email protected]> * Fix bug rappasoft#1997 - Found the issue elsewhere also, so I fixed them too. (rappasoft#2021) * Adds Swedish translations (rappasoft#2027) * Adds Swedish translations * Update weird translation strings I was stressed (: * Update sv.json --------- Co-authored-by: lrljoe <[email protected]> Co-authored-by: Matthias Schmitt <[email protected]> Co-authored-by: Paoulo Riveros <[email protected]> Co-authored-by: Christian <[email protected]> Co-authored-by: Chris Thompson <[email protected]> Co-authored-by: Julian Edwards <[email protected]> Co-authored-by: julianmedwards <[email protected]> Co-authored-by: Richard Leishman <[email protected]> Co-authored-by: Alex Bierhance <[email protected]>
1 parent 7d265a3 commit 6736c1a

File tree

64 files changed

+1751
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1751
-261
lines changed

.github/workflows/pint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Fix PHP code style issues
2727
uses: aglipanci/laravel-pint-action@latest
2828

29-
- name: Commit changes
29+
- name: Commit styling changes
3030
uses: stefanzweifel/git-auto-commit-action@v5
3131
with:
3232
commit_message: Fix styling
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: run-phpstan-pull
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- 'master'
7+
- 'development'
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
os: [ubuntu-latest]
16+
php: [8.3]
17+
laravel: [11]
18+
stability: [prefer-dist]
19+
20+
name: PHPStan - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
21+
env:
22+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
23+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Setup cache environment
30+
id: extcache
31+
uses: shivammathur/cache-extensions@v1
32+
with:
33+
php-version: ${{ matrix.php }}
34+
extensions: ${{ env.extensions }}
35+
key: ${{ env.extensionKey }}
36+
37+
- name: Cache extensions
38+
uses: actions/cache@v4
39+
with:
40+
path: ${{ steps.extcache.outputs.dir }}
41+
key: ${{ steps.extcache.outputs.key }}
42+
restore-keys: ${{ steps.extcache.outputs.key }}
43+
44+
- name: Setup PHP
45+
uses: shivammathur/setup-php@v2
46+
with:
47+
php-version: ${{ matrix.php }}
48+
extensions: ${{ env.extensions }}
49+
coverage: pcov
50+
tools: phpunit:9.5
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
54+
- name: Setup problem matchers for PHP
55+
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
56+
57+
- name: Get composer cache directory
58+
id: composer-cache
59+
run: |
60+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
61+
62+
- uses: actions/cache@v4
63+
with:
64+
path: ${{ steps.composer-cache.outputs.dir }}
65+
key: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
66+
restore-keys: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
67+
68+
- name: Add token
69+
run: |
70+
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
71+
72+
- name: Install dependencies
73+
if: steps.composer-cache.outputs.cache-hit != 'true'
74+
run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-interaction --no-update
75+
76+
- name: Update dependencies
77+
if: steps.composer-cache.outputs.cache-hit != 'true'
78+
run: composer update --${{ matrix.stability }} --no-interaction
79+
80+
- name: Install PHPStan
81+
run: composer require larastan/larastan:^2.0 --no-interaction
82+
83+
- uses: actions/cache@v4
84+
with:
85+
path: ./build/phpstan
86+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
87+
88+
- name: Run PHPStan Tests
89+
run: ./vendor/bin/phpstan analyse

.github/workflows/run-phpstan.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: run-phpstan
22

33
on:
4-
pull_request:
5-
branches:
6-
- 'master'
7-
- 'development'
84
push:
95
branches:
106
- '*' # matches every branch that doesn't contain a '/'
@@ -26,7 +22,7 @@ jobs:
2622

2723
name: PHPStan - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2824
env:
29-
extensionKey: phpextensions
25+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
3026
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
3127

3228
steps:
@@ -69,8 +65,8 @@ jobs:
6965
- uses: actions/cache@v4
7066
with:
7167
path: ${{ steps.composer-cache.outputs.dir }}
72-
key: ${{ runner.os }}-PHPStan-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
73-
restore-keys: ${{ runner.os }}-PHPStan-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-
68+
key: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
69+
restore-keys: phpstan-${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
7470

7571
- name: Add token
7672
run: |
@@ -87,5 +83,10 @@ jobs:
8783
- name: Install PHPStan
8884
run: composer require larastan/larastan:^2.0 --dev --no-interaction
8985

86+
- uses: actions/cache@v4
87+
with:
88+
path: ./build/phpstan
89+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
90+
9091
- name: Run PHPStan Tests
91-
run: ./vendor/bin/phpstan analyse
92+
run: ./vendor/bin/phpstan analyse

.github/workflows/run-tests-pcov-pull.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pcov,pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2727

2828
steps:
29+
- name: Wait for tests to finish
30+
uses: lewagon/[email protected]
31+
with:
32+
ref: ${{ github.ref }}
33+
running-workflow-name: 'Run Tests Pull'
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}
35+
wait-interval: 20
36+
2937
- name: Checkout code
3038
uses: actions/checkout@v4
3139

@@ -66,8 +74,8 @@ jobs:
6674
- uses: actions/cache@v4
6775
with:
6876
path: ${{ steps.composer-cache.outputs.dir }}
69-
key: ${{ runner.os }}-PCOV-PULL-PHP${{ matrix.php }}-Laravel${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
70-
restore-keys: ${{ runner.os }}-PCOV-PULL-PHP${{ matrix.php }}-Laravel${{ matrix.laravel }}-composer-
77+
key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
78+
restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
7179

7280
- name: Add token
7381
run: |
@@ -85,7 +93,7 @@ jobs:
8593
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8694

8795
- name: Run Unit Tests
88-
run: php ./vendor/bin/paratest --cache-directory=".phpunit.cache/code-coverage" --strict-coverage --coverage-clover ./coverage.xml
96+
run: php ./vendor/bin/phpunit --cache-directory=".phpunit.cache/code-coverage" --strict-coverage --coverage-clover ./coverage.xml
8997

9098
- name: Upload coverage reports to Codecov
9199
uses: codecov/codecov-action@v4

.github/workflows/run-tests-pull.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run-tests-pull
1+
name: Run Tests Pull
22

33
on:
44
pull_request:
@@ -20,8 +20,8 @@ jobs:
2020

2121
name: PULL PHP-${{ matrix.php }} - Laravel-10
2222
env:
23-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
24-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
23+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
24+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
2525

2626
steps:
2727
- name: Checkout code
@@ -39,8 +39,8 @@ jobs:
3939
uses: actions/cache@v4
4040
with:
4141
path: ${{ steps.extcache.outputs.dir }}
42-
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
43-
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
42+
key: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
43+
restore-keys: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
4444

4545
- name: Setup PHP
4646
uses: shivammathur/setup-php@v2
@@ -64,8 +64,8 @@ jobs:
6464
- uses: actions/cache@v4
6565
with:
6666
path: ${{ steps.composer-cache.outputs.dir }}
67-
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
68-
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
67+
key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
68+
restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
6969

7070
- name: Add token
7171
run: |
@@ -100,7 +100,7 @@ jobs:
100100
name: PULL PHP-${{ matrix.php }} - Laravel-11
101101
env:
102102
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
103-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
103+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
104104

105105
steps:
106106
- name: Checkout code
@@ -118,8 +118,8 @@ jobs:
118118
uses: actions/cache@v4
119119
with:
120120
path: ${{ steps.extcache.outputs.dir }}
121-
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
122-
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
121+
key: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
122+
restore-keys: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
123123

124124
- name: Setup PHP
125125
uses: shivammathur/setup-php@v2
@@ -143,8 +143,8 @@ jobs:
143143
- uses: actions/cache@v4
144144
with:
145145
path: ${{ steps.composer-cache.outputs.dir }}
146-
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
147-
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
146+
key: ${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
147+
restore-keys: ${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-
148148

149149
- name: Add token
150150
run: |
@@ -162,4 +162,4 @@ jobs:
162162
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
163163

164164
- name: Run Unit Tests
165-
run: php ./vendor/bin/paratest --no-coverage
165+
run: php ./vendor/bin/phpunit --no-coverage

.github/workflows/run-tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run-tests
1+
name: Run Standard Tests
22

33
on:
44
push:
@@ -22,8 +22,8 @@ jobs:
2222

2323
name: PHP-${{ matrix.php }} - Laravel-10
2424
env:
25-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
26-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
25+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
26+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
2727

2828
steps:
2929
- name: Checkout code
@@ -41,8 +41,8 @@ jobs:
4141
uses: actions/cache@v4
4242
with:
4343
path: ${{ steps.extcache.outputs.dir }}
44-
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
45-
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
44+
key: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
45+
restore-keys: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
4646

4747
- name: Setup PHP
4848
uses: shivammathur/setup-php@v2
@@ -66,8 +66,8 @@ jobs:
6666
- uses: actions/cache@v4
6767
with:
6868
path: ${{ steps.composer-cache.outputs.dir }}
69-
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
70-
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
69+
key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
70+
restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
7171

7272
- name: Add token
7373
run: |
@@ -101,8 +101,8 @@ jobs:
101101

102102
name: PHP-${{ matrix.php }} - Laravel-11
103103
env:
104-
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
105-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
104+
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
105+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
106106

107107
steps:
108108
- name: Checkout code
@@ -120,8 +120,8 @@ jobs:
120120
uses: actions/cache@v4
121121
with:
122122
path: ${{ steps.extcache.outputs.dir }}
123-
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
124-
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
123+
key: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
124+
restore-keys: ${{ matrix.os }}-${{ steps.extcache.outputs.key }}
125125

126126
- name: Setup PHP
127127
uses: shivammathur/setup-php@v2
@@ -145,8 +145,8 @@ jobs:
145145
- uses: actions/cache@v4
146146
with:
147147
path: ${{ steps.composer-cache.outputs.dir }}
148-
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
149-
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
148+
key: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
149+
restore-keys: ${{ matrix.os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
150150

151151
- name: Add token
152152
run: |
@@ -164,4 +164,4 @@ jobs:
164164
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
165165

166166
- name: Run Unit Tests
167-
run: php ./vendor/bin/paratest --no-coverage
167+
run: php ./vendor/bin/phpunit --no-coverage

config/livewire-tables.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,14 @@
114114
'defaultConfig' => [],
115115
],
116116

117+
/**
118+
* Configuration options for Events
119+
*/
120+
'events' => [
121+
/**
122+
* Enable or disable passing the user from Laravel's Auth service to events
123+
*/
124+
'enableUserForEvent' => true,
125+
],
126+
117127
];

docs/column-types/livewire_component_column.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ This is **not recommended** as due to the nature of Livewire, it becomes ineffic
1010
## component
1111
```
1212
LivewireComponentColumn::make('Action')
13-
->title(fn($row) => 'Edit')
1413
->component('PathToLivewireComponent'),
1514
1615
```
@@ -29,4 +28,4 @@ Please also see the following for other available methods:
2928
<li>
3029
<a href="https://rappasoft.com/docs/laravel-livewire-tables/v3/columns/footer">Footer</a>
3130
</li>
32-
</ul>
31+
</ul>

0 commit comments

Comments
 (0)