File tree Expand file tree Collapse file tree 7 files changed +53
-97
lines changed
Expand file tree Collapse file tree 7 files changed +53
-97
lines changed Original file line number Diff line number Diff line change 11name : run-tests-pcov-pull
22
3- on : [pull_request]
3+ on :
4+ pull_request :
5+ branches :
6+ - ' develop'
7+ - ' master'
48
59jobs :
610 test :
4145 env :
4246 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4347
48+ - name : Cache extensions
49+ uses : actions/cache@v3
50+ with :
51+ path : ${{ steps.extcache.outputs.dir }}
52+ key : ${{ steps.extcache.outputs.key }}
53+ restore-keys : ${{ steps.extcache.outputs.key }}
54+
4455 - name : Setup problem matchers for PHP
4556 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
4657
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : run-tests-pull
22
3- on : [pull_request]
3+ on :
4+ pull_request :
5+ branches :
6+ - ' develop'
7+ - ' master'
48
59jobs :
610 test :
1014 matrix :
1115 os : [ubuntu-latest]
1216 php : [8.1, 8.2, 8.3]
13- laravel : [10]
17+ laravel : [10.*,11.* ]
1418 stability : [prefer-dist]
19+ exclude :
20+ - laravel : 11.*
21+ php : 8.1
1522
1623 name : STD-PULL - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
1724 env :
Original file line number Diff line number Diff line change 1010 matrix :
1111 os : [ubuntu-latest]
1212 php : [8.1, 8.2, 8.3]
13- laravel : [10]
13+ laravel : [10.*,11.* ]
1414 stability : [prefer-dist]
15+ exclude :
16+ - laravel : 11.*
17+ php : 8.1
1518
1619 name : STD-PUSH - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
1720 env :
Original file line number Diff line number Diff line change 22
33All notable changes to ` laravel-livewire-tables ` will be documented in this file
44
5+ ## UNRELEASED
6+ ### New Features
7+ - Add setConfigurableArea by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1706
8+
9+ ### Tweaks
10+ - Adjust Workflow behaviour for PCOV by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1706
11+
512## [ v3.2.4] - 2024-03-01
613### Bug Fixes
714- Collapsing Columns fix when multiple tables are displayed on a page by @lrljoe
Original file line number Diff line number Diff line change @@ -7,9 +7,20 @@ There are certain areas of the datatable as of `v2.3` where you can include your
77
88## Available Methods
99
10+ ### setConfigurableArea
11+
12+ You can use the ` setConfigurableArea ` method to set an area that you want to configure.
13+
14+ ``` php
15+ public function configure(): void
16+ {
17+ $this->setConfigurableArea('before-tools', 'path.to.my.view');
18+ }
19+ ```
20+
1021### setConfigurableAreas
1122
12- You can use the ` setConfigurableAreas ` method to set the areas that you want to be configurable .
23+ You can use the ` setConfigurableAreas ` method to set multiple areas that you want to configure .
1324
1425``` php
1526public function configure(): void
Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ public function setConfigurableAreas(array $areas): self
1414 return $ this ;
1515 }
1616
17+ public function setConfigurableArea (string $ configurableArea , mixed $ config ): self
18+ {
19+ if (array_key_exists ($ configurableArea , $ this ->configurableAreas )) {
20+ $ this ->configurableAreas [$ configurableArea ] = $ config ;
21+ }
22+
23+ return $ this ;
24+ }
25+
1726 public function setHideConfigurableAreasWhenReorderingStatus (bool $ status ): self
1827 {
1928 $ this ->hideConfigurableAreasWhenReorderingStatus = $ status ;
You can’t perform that action at this time.
0 commit comments