Skip to content

Commit 15e7f9b

Browse files
lrljoematzeschmittkhwadj
authored
v3.4.21 (rappasoft#1944)
* 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 --------- Co-authored-by: lrljoe <[email protected]> Co-authored-by: Matthias Schmitt <[email protected]> Co-authored-by: Paoulo Riveros <[email protected]>
1 parent 9ddb9ae commit 15e7f9b

File tree

102 files changed

+2110
-481
lines changed

Some content is hidden

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

102 files changed

+2110
-481
lines changed

.github/workflows/discord-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Checkout
1010
uses: actions/checkout@v4
1111
- name: Package Releases
12-
uses: SethCohen/github-releases-to-discord@v1.13.1
12+
uses: SethCohen/github-releases-to-discord@latest
1313
with:
1414
webhook_url: ${{ secrets.WEBHOOK_DISCORD_RELEASE_URL }}
1515
color: "2105893"

.github/workflows/pint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
ref: ${{ github.head_ref }}
2525

2626
- name: Fix PHP code style issues
27-
uses: aglipanci/laravel-pint-action@2.2.0
27+
uses: aglipanci/laravel-pint-action@latest
2828

2929
- name: Commit changes
30-
uses: stefanzweifel/git-auto-commit-action@v4
30+
uses: stefanzweifel/git-auto-commit-action@v5
3131
with:
3232
commit_message: Fix styling

.github/workflows/run-phpstan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- '*/*' # matches every branch containing a single '/'
1212
- '**' # matches every branch
1313
- '!master'
14+
- '!development'
1415

1516
jobs:
1617
test:
@@ -20,7 +21,7 @@ jobs:
2021
matrix:
2122
os: [ubuntu-latest]
2223
php: [8.3]
23-
laravel: [10]
24+
laravel: [11]
2425
stability: [prefer-dist]
2526

2627
name: PHPStan - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ name: run-tests-pcov-pull
33
on:
44
push:
55
branches:
6-
- 'develop'
76
- 'development'
8-
- 'master'
97
pull_request:
108
branches:
11-
- 'develop'
129
- 'development'
1310
- 'master'
1411

@@ -88,7 +85,7 @@ jobs:
8885
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8986

9087
- name: Run Unit Tests
91-
run: php ./vendor/bin/paratest --cache-directory=".phpunit.cache/code-coverage" --strict-coverage --coverage-clover ./coverage.xml --processes=4
88+
run: php ./vendor/bin/paratest --cache-directory=".phpunit.cache/code-coverage" --strict-coverage --coverage-clover ./coverage.xml
9289

9390
- name: Upload coverage reports to Codecov
9491
uses: codecov/codecov-action@v4

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: run-tests-pull
33
on:
44
pull_request:
55
branches:
6-
- 'develop'
76
- 'development'
87
- 'master'
98

@@ -163,4 +162,4 @@ jobs:
163162
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
164163

165164
- name: Run Unit Tests
166-
run: php ./vendor/bin/paratest --no-coverage --processes=4
165+
run: php ./vendor/bin/paratest --no-coverage

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
8686

8787
- name: Run Unit Tests
88-
run: php ./vendor/bin/paratest --no-coverage --processes=4
88+
run: php ./vendor/bin/phpunit --no-coverage
8989

9090

9191
test-laravel11:
@@ -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 --processes=4
167+
run: php ./vendor/bin/paratest --no-coverage

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
All notable changes to `laravel-livewire-tables` will be documented in this file
44

5+
## [v3.4.21] - 2024-09-25
6+
### Bug Fixes
7+
- Remove persist from getFilterGenericData by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1966
8+
- In LaravelLivewireTablesEvent, change the type to Illuminate\Contracts\Auth\Authenticatable by @khwadj in https://github.com/rappasoft/laravel-livewire-tables/pull/1963
9+
- Fix for Search Field Attribute Defaults by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1962
10+
- Fix Filter Pills Icon - Tailwind by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1961
11+
- Add filterComponents into queryString to ensure they're maintained by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1957
12+
- Reset Current Page on "Per Page" changing by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1953
13+
14+
### New Features
15+
- Add setLabelAttributes method to Action, and update Docs for Filter by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1952
16+
17+
### Tweaks
18+
- Migration to Core attribute management by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1943
19+
- Localisation - Avoid Conflicts With Other Packages by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1955
20+
- GitHub Workflow Tweak for Styling Fixes by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1967
21+
- GitHub Workflow Tweak for Discord - Updates by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1968
22+
23+
### Docs
24+
- Fix syntax for DateColumn outputFormat in docs by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1960
25+
26+
527
## [v3.4.20] - 2024-09-10
628
### Bug Fixes
729
- Revert tableName to be public by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1937

docs/column-types/date_columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Date columns provide an easy way to display dates in a given format, without hav
88
You may pass either a DateTime object, in which you can define an "outputFormat"
99
```php
1010
DateColumn::make('Updated At', 'updated_at')
11-
->outputFormat('Y-m-d H:i:s),
11+
->outputFormat('Y-m-d H:i:s'),
1212
```
1313

1414
Or you may pass a string, in which case you can define an "inputFormat" in addition to the outputFormat:

docs/columns/available-methods.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,3 +302,7 @@ Labels are visible by default, but should you wish to override a previous "hideC
302302
Column::make('Name')
303303
->setColumnLabelStatusEnabled()
304304
```
305+
306+
## See Also
307+
[Column Styling](./styling)
308+

0 commit comments

Comments
 (0)