Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.4.7 #1860

Merged
merged 2 commits into from
Aug 17, 2024
Merged

v3.4.7 #1860

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## [v3.4.7] - 2024-08-18
### Bug Fixes
- Correct a locked property that is entangled in js, and add comments around some key properties to prevent reoccurrence by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1859

## [v3.4.6] - 2024-08-15
### New Features
- Column Features - deselectedIf/selectedIf by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1846
Expand Down
9 changes: 7 additions & 2 deletions docs/misc/refreshing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,16 @@ public function configure(): void

## setRefreshMethod

Fire a specific action when polling.
Fire a specific action when polling. This is only necessary when you wish to call additional actions on each refresh. You must have a public function with the same name as the refresh method.

```php
public function configure(): void
{
$this->setRefreshMethod('refresh');
$this->setRefreshMethod('refreshTable');
}

public function refreshTable()
{
// Custom Code Here
}
```
4 changes: 4 additions & 0 deletions src/Traits/WithBulkActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ trait WithBulkActions

public bool $bulkActionsStatus = true;

// Entangled in JS
public bool $selectAll = false;

public array $bulkActions = [];

public array $bulkActionConfirms = [];

// Entangled in JS
public array $selected = [];

// Entangled in JS
public bool $hideBulkActionsWhenEmpty = false;

public ?string $bulkActionConfirmDefaultMessage;
Expand All @@ -46,6 +49,7 @@ trait WithBulkActions

protected array $bulkActionsMenuItemAttributes = ['default-colors' => true, 'default-styling' => true];

// Entangled in JS
public bool $delaySelectAll = false;

public function bulkActions(): array
Expand Down
4 changes: 3 additions & 1 deletion src/Traits/WithFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trait WithFilters
#[Locked]
public bool $filterPillsStatus = true;

#[Locked]
// Entangled in JS
public bool $filterSlideDownDefaultVisible = false;

#[Locked]
Expand All @@ -31,8 +31,10 @@ trait WithFilters
#[Locked]
public int $filterCount;

// Set in JS
public array $filterComponents = [];

// Set in Frontend
public array $appliedFilters = [];

public array $filterGenericData = [];
Expand Down
3 changes: 3 additions & 0 deletions src/Traits/WithPagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ trait WithPagination
#[Locked]
public bool $perPageVisibilityStatus = true;

// Entangled in JS
public array $paginationCurrentItems = [];

// Entangled in JS
public int $paginationCurrentCount = 0;

// Entangled in JS
public ?int $paginationTotalItemCount = null;

public array $numberOfPaginatorsRendered = [];
Expand Down
5 changes: 5 additions & 0 deletions src/Traits/WithReordering.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ trait WithReordering
use ReorderingConfiguration,
ReorderingHelpers;

// Entangled in JS
public bool $reorderStatus = false;

// Entangled in JS
public bool $currentlyReorderingStatus = false;

// Entangled in JS
public bool $hideReorderColumnUnlessReorderingStatus = false;

// Entangled in JS
public bool $reorderDisplayColumn = false;

// Retrieved in JS
public string $defaultReorderColumn = 'sort';

public array $orderedItems = [];
Expand Down
Loading