Skip to content
Merged

v3.4.18 #1927

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
30d65ac
Add explanation of setRefreshMethod (#1857)
lrljoe Aug 16, 2024
b3137d9
Unlocking Entangled Items (#1859)
lrljoe Aug 17, 2024
b6890e9
Add dispatch on updated filter components (#1861)
lrljoe Aug 18, 2024
fb646a5
v3.4.8
lrljoe Aug 18, 2024
4a18b05
Merge branch 'master' into development
lrljoe Aug 18, 2024
8eafffe
Fix superfluous bulk actions tr < (#1868)
lrljoe Aug 21, 2024
d1a563f
Default useComputedProperties to False (#1869)
lrljoe Aug 21, 2024
da50aa1
Update ChangeLog
lrljoe Aug 21, 2024
1ff4126
Merge branch 'master' into development
lrljoe Aug 21, 2024
74c35e2
Add Action Buttons (#1864)
lrljoe Aug 21, 2024
46d2752
FixDateRangeFilter (#1872)
lrljoe Aug 23, 2024
7aa4268
Adjust Methods - useComputedProperties (#1873)
lrljoe Aug 23, 2024
3456674
Update ChangeLog
lrljoe Aug 23, 2024
6480f1a
Merge branch 'master' into development
lrljoe Aug 23, 2024
32fe628
AllowDeleteDateRangeFilter (#1875)
lrljoe Aug 23, 2024
1f0c14d
Fix ChangeLog
lrljoe Aug 23, 2024
b80be2d
Update Docs (#1876)
lrljoe Aug 23, 2024
f0c5d04
Update ChangeLog - Add Docs Update
lrljoe Aug 23, 2024
ec5401a
Add setIconLeft/setIconRight (#1877)
lrljoe Aug 23, 2024
ae019cf
Adjust ChangeLog
lrljoe Aug 23, 2024
8e33fba
Merge branch 'master' into development
lrljoe Aug 23, 2024
edc7ea3
Adjust Action Button Icon Margin (#1880)
lrljoe Aug 23, 2024
79cf988
Merge branch 'master' into development
lrljoe Aug 23, 2024
6766707
Change Order of "Getting Started" section (#1883)
lrljoe Aug 24, 2024
39c5032
Add Button with No Icon (#1887)
lrljoe Aug 25, 2024
918bd31
Add a "Recommended" approach (#1886)
lrljoe Aug 25, 2024
1d18cb2
v3.4.13
lrljoe Aug 25, 2024
683666f
Merge branch 'master' into development
lrljoe Aug 25, 2024
8cafe98
Set actions position (#1889)
lrljoe Aug 25, 2024
5007627
Update ChangeLog
lrljoe Aug 25, 2024
b927a98
Merge branch 'master' into development
lrljoe Aug 25, 2024
d0da3b1
Doc Type Fixes (#1891)
lrljoe Aug 25, 2024
2a977ec
BooleanColumn - Toggleable Callback (#1892)
lrljoe Aug 25, 2024
a61ba21
Update ChangeLog
lrljoe Aug 25, 2024
e1acab7
Merge branch 'master' into development
lrljoe Aug 25, 2024
c14692b
Enable/Disable Tools/Toolbar (#1896)
lrljoe Aug 26, 2024
84eaf9b
Use Computed Properties By Default (#1898)
lrljoe Aug 26, 2024
0b0d9cb
Fix has actions (#1901)
lrljoe Aug 26, 2024
0882827
Add icon column (#1902)
lrljoe Aug 27, 2024
6ff95af
Add Baseline - Convert phpstan.neon to tabs (#1903)
lrljoe Aug 27, 2024
ce76b40
Update ChangeLog
lrljoe Aug 27, 2024
244951b
Merge branch 'master' into development
lrljoe Aug 27, 2024
570abdc
Save filter selection to session (BETA) (#1910)
lrljoe Sep 1, 2024
1f076af
Add hide table option (#1914)
lrljoe Sep 1, 2024
bf84029
Add column select session methods (#1913)
lrljoe Sep 1, 2024
2ebaf3b
Use Core HasTheme Methods (#1915)
lrljoe Sep 1, 2024
2322e8d
Use Core Attribute Bag (#1916)
lrljoe Sep 1, 2024
ed64834
Merge branch 'master' into development
lrljoe Sep 1, 2024
a63fb44
Fix ChangeLog
lrljoe Sep 1, 2024
2fd6014
Add Polish translation by @meavric (#1925)
lrljoe Sep 4, 2024
a7b1f68
Merge branch 'master' into development
lrljoe Sep 4, 2024
3a04d51
Add Vertical Scrolling Example (#1926)
lrljoe Sep 4, 2024
2a4b2d1
Adjusting contributing
lrljoe Sep 4, 2024
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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

## [v3.4.18] - 2024-09-04
### New Features
- Added translation to Polish by @meavric in https://github.com/rappasoft/laravel-livewire-tables/pull/1925

### Docs
- Added example for Vertical Scrolling table by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1926

## [v3.4.17] - 2024-09-01
### New Features
- Add hide table option by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1914
Expand Down
47 changes: 41 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,44 @@
# Contributing
Contributions are very welcome, please find below a summary of what is expected from contributions:
This package is maintained by a core team, backed by a strong community effort, and contributions are extremely welcome!

- Follow the conventions for methods, adding to the relevant configuration/helper trait
- Add properties to the "With" trait
Please find below a brief summary of how to make a good contribution. This helps to ensure a smooth review and merge of a PR.

## Discussing A Feature
Please do feel free to raise a Discussion topic, a Feature Request Issue, or reach out on the official Discord to discuss any ideas!

## Starting A Contribution
- Always create a fresh branch in your fork for every change. This should be based on the "development" branch, as other branches may be outdated, or lack the change history.
- Ensure that a PR contains a single feature/fix. PRs with multiple features often end up with merge conflicts!
- Avoid introducing a breaking change. If your change makes a radical or substantial change, then the existing behaviour should be maintained as the default. The core team tracks these, and as major versions are reached, may introduce new default behaviours.

## Generic Information
- Avoid adding any additional dependencies/requirements to the package unless discussed and approved by the core team.
- Typehint both properties and return values
- Add a comment to the method
- Add tests for new methods
- Add documentation for new methods
- Add a comment to the method to explain what it does, this does not/should not be lengthy!

## Views
- Where amending/appending to Views/Blades, ensure that you cater for Tailwind, Bootstrap-4 and Bootstrap-5 to ensure continued support

## Tests
- Always add tests for new methods
- Review existing tests if you make changes.
- The project maintains a very high level of test coverage. A PR that reduces this coverage is less likely to be readily accepted.

## Documentation
There is comprehensive documentation available for existing features. Please add documentation for any new/amended methods, as otherwise this may result in delays, which may be significant!

## Conventions
- Please follow the project conventions below:

### Core Features
A feature set typically exists in a "With" trait (For example - Rappasoft\LaravelLivewireTables\Traits\WithColumns.php)
- The "WithColumns" contains any properties, and any key methods
- Each feature set has a "Helper" and "Configuration" trait associated with it, for setting and getting properties, both server-side, and client-side.

## Actions, Columns and Filters
An Action/Column/Filter type exists in the "Views" section (For example Rappasoft\LaravelLivewireTables\Views\Columns\DateColumn.php)
- Each Action/Column/Filter again has a "Helper" and "Configuration" trait associated with it, for setting and getting properties
- Actions should extend Rappasoft\LaravelLivewireTables\Views\Action (or a class that extends this)
- Columns should extend Rappasoft\LaravelLivewireTables\Views\Column (or a class that extends this)
- Filters should extend Rappasoft\LaravelLivewireTables\Views\Filter (or a class that extends this)

1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
| Indonesian (ID) | None |
| Italian (IT) | Core Team |
| Malay (MS) | [wanadri](https://github.com/wanadri) |
| Polish (PL) | [meavric](https://github.com/meavric) |
| Portugese (PT) | None |
| Russian (RU) | None |
| Spanish (ES) | [CristhoferMF](https://github.com/CristhoferMF) |
Expand Down
18 changes: 18 additions & 0 deletions docs/datatable/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,3 +386,21 @@ public function configure(): void
]);
}
```

### Vertical Scrolling Example
Should you wish to implement a table with a responsive height, and vertical scrolling for additional rows, a basic example is below that demonstrates the approach, noting that you will likely wish to adjust the break-points!

```php
public function configure(): void
{

$this->setTableWrapperAttributes([
'class' => 'max-h-56 md:max-h-72 lg:max-h-96 overflow-y-scroll',
]);
$this->setTheadAttributes([
'class' => 'sticky top-0 '
]);
}
```

Keep in mind that you must only call methods from configure() once to avoid overriding or conflicting results.
33 changes: 33 additions & 0 deletions resources/lang/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"All": "Wszystko",
"All Columns": "Wszystkie kolumny",
"Applied Filters": "Użyte filtry",
"Applied Sorting": "Użyte sortowanie",
"Bulk Actions": "Akcje zbiorowe",
"Bulk Actions Confirm": "Czy zastosować ?",
"Clear": "Wyczyść",
"Columns": "Kolumny",
"Debugging Values": "Wartości debugowania",
"Deselect All": "Odznacz wszystko",
"Done Reordering": "Done Reordering",
"Filters": "Filtry",
"No": "Nie",
"No items found. Try to broaden your search.": "Brak rezultatów do wyświetlenia.",
"of": "z",
"Remove filter option": "Usuń opcję filtra",
"Remove sort option": "Usuń opcję sortowania",
"Reorder": "Zmień kolejność",
"results": "wyniki",
"row": "wiersz",
"rows": "wiersze",
"rows, do you want to select all": "czy chcesz zaznaczyć wszystkie wiersze",
"Search": "Szukaj",
"Select All": "Zaznacz wszystko",
"Select All On Page": "Zaznacz wszystko na stronie",
"Showing": "Pokazywanie",
"to": "do",
"Yes": "Tak",
"You are currently selecting all": "Aktualnie masz wszystko zaznaczone",
"You are not connected to the internet.": "Brak połączenia z internetem.",
"You have selected": "Masz wybrane"
}
Loading