Skip to content

Commit ec2c890

Browse files
committed
Merge branch 'main' into pr/777
2 parents a69e3ff + 894f1e0 commit ec2c890

File tree

7 files changed

+58
-19
lines changed

7 files changed

+58
-19
lines changed

content/articles/leandrocfe-filament-v4-beta-feature-overview.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ To upgrade your app to Filament v4 beta, please read the [upgrade guide](https:/
2020
2121
> Looking for the current stable version? Visit the [3.x documentation](https://filamentphp.com/docs/3.x).
2222
23+
## Latest updates
24+
25+
> **Updated: June 16, 2025**
26+
27+
- [Reorderable columns](#reordering-table-columns) feature in [v4.0.0-beta5](https://github.com/filamentphp/filament/releases/tag/v4.0.0-beta5)
28+
29+
---
30+
2331
## General
2432

2533
### Performance
@@ -137,6 +145,8 @@ If you need to refresh them — for example, after a setting or permission chang
137145
They let you build user interfaces in PHP using structured configuration objects—no need to write `HTML` or `JavaScript` manually.
138146
These schemas define how your UI looks and behaves, representing components such as [forms fields](https://filamentphp.com/docs/4.x/forms/overview), [infolist entries](https://filamentphp.com/docs/4.x/infolists/overview), [layout components](https://filamentphp.com/docs/4.x/schemas/layouts) and [prime components](https://filamentphp.com/docs/4.x/schemas/primes).
139147

148+
![Schemas](https://filamentphp.com/docs/4.x/images/light/schemas/overview/example.jpg)
149+
140150
Every Filament UI component — whether it's a form field, a description list, or a static element like text or buttons — is configured through a [schema](https://filamentphp.com/docs/4.x/schemas/overview).
141151
Components are modular, nestable, and reusable, making your interfaces consistent and easy to maintain.
142152

@@ -150,6 +160,8 @@ For a full list of available components, see the [Schemas documentation](https:/
150160

151161
You can now switch to a [vertical tab](https://filamentphp.com/docs/4.x/schemas/tabs#using-vertical-tabs) layout by calling the `vertical()` method.
152162

163+
![Vertical tabs](https://filamentphp.com/docs/4.x/images/light/schemas/layout/tabs/vertical.jpg)
164+
153165
### Container queries
154166

155167
In addition to traditional breakpoints based on the size of the viewport, you can also use [container queries](https://filamentphp.com/docs/4.x/schemas/layouts#using-container-queries) to create responsive layouts based on the size of a parent container.
@@ -160,6 +172,8 @@ In addition to traditional breakpoints based on the size of the viewport, you ca
160172

161173
[Rich editor](https://filamentphp.com/docs/4.x/forms/rich-editor) is now using [Tiptap](https://tiptap.dev/), a modern, headless, and highly extensible open source editor framework.
162174

175+
![Rich editor](https://filamentphp.com/docs/4.x/images/light/forms/fields/rich-editor/simple.jpg)
176+
163177
#### Storing content as HTML or JSON
164178

165179
By default, the rich editor stores content as `HTML`. If you would like to store the content as `JSON` instead, you can use the [`json()` method](https://filamentphp.com/docs/4.x/forms/rich-editor#storing-content-as-json).
@@ -186,16 +200,22 @@ You can [extend the Rich editor](https://filamentphp.com/docs/4.x/forms/rich-edi
186200

187201
The [Slider component](https://filamentphp.com/docs/4.x/forms/slider) lets users select one or more numeric values by dragging a handle along a track — ideal for inputs like ranges, ratings, or percentages.
188202

203+
![Slider](https://filamentphp.com/docs/4.x/images/light/forms/fields/slider/pips-count.jpg)
204+
189205
### Code editor
190206

191207
The [code editor component](https://filamentphp.com/docs/4.x/forms/code-editor) lets users write and edit code directly in the interface.
192208
It supports common languages including `HTML`, `CSS`, `JavaScript`, `PHP`, and `JSON`.
193209

210+
![Code editor](https://filamentphp.com/docs/4.x/images/light/forms/fields/code-editor/language.jpg)
211+
194212
### Table repeaters
195213

196214
[Table repeaters](https://filamentphp.com/docs/4.x/forms/repeater#table-repeaters) display [repeater](https://filamentphp.com/docs/4.x/forms/repeater) items in a table layout using defined `columns`.
197215
You can configure these columns with the `table()` method and `TableColumn` objects, which map to fields in the repeater's schema.
198216

217+
![Table repeaters](https://filamentphp.com/docs/4.x/images/light/forms/fields/repeater/table.jpg)
218+
199219
Each column can be customized:
200220

201221
- `hiddenHeaderLabel()` hides the label visually but keeps it accessible.
@@ -239,10 +259,14 @@ In this JavaScript context, you can use `$state`, `$get()`, and `$set()` to inte
239259
The [`FusedGroup`](https://filamentphp.com/docs/4.x/forms/overview#fusing-fields-together-into-a-group) component lets you visually combine multiple fields into a single, compact group.
240260
It's best used with compatible field types like [text inputs](https://filamentphp.com/docs/4.x/forms/text-input), [selects](https://filamentphp.com/docs/4.x/forms/select), [date-time pickers](https://filamentphp.com/docs/4.x/forms/date-time-picker) and [color pickers](https://filamentphp.com/docs/4.x/forms/color-picker).
241261

262+
![Fused group](https://filamentphp.com/docs/4.x/images/light/forms/fields/fused-columns.jpg)
263+
242264
### Adding extra content to a field
243265

244266
Fields contain [multiple slots](https://filamentphp.com/docs/4.x/forms/overview#adding-extra-content-to-a-field) where content can be inserted in a child schema. Slots can accept text, [any schema components](https://filamentphp.com/docs/4.x/schemas/overview), [actions](https://filamentphp.com/docs/4.x/actions/overview), or [action groups](https://filamentphp.com/docs/4.x/actions/grouping-actions) — typically with [prime components](https://filamentphp.com/docs/4.x/schemas/primes).
245267

268+
![Below content](https://filamentphp.com/docs/4.x/images/light/forms/fields/below-content/alignment.jpg)
269+
246270
Available slots include:
247271

248272
- `aboveLabel()`, `beforeLabel()`, `afterLabel()`, `belowLabel()`
@@ -273,6 +297,8 @@ This improves type consistency and reduces the need for manual casting in your l
273297
[Code entry](https://filamentphp.com/docs/4.x/infolists/code-entry) allows you to present a highlighted code snippet in your [infolist](https://filamentphp.com/docs/4.x/infolists).
274298
It uses [Phiki](https://github.com/phikiphp/phiki) for code highlighting on the server.
275299

300+
![Code entry](https://filamentphp.com/docs/4.x/images/light/infolists/entries/code/simple.jpg)
301+
276302
## Tables
277303

278304
### Tables with custom data
@@ -299,6 +325,16 @@ Table headers are now shown even when no records are present, enhancing the user
299325

300326
See the [bulk actions section](#bulk-actions) of this article.
301327

328+
### Reordering Table Columns
329+
330+
![Reordering Table Columns](https://filamentphp.com/docs/4.x/images/light/tables/columns/column-manager-reorderable.jpg)
331+
332+
Filament now supports [reorderable table columns](https://filamentphp.com/docs/4.x/tables/columns/overview#reordering-columns) using the `reorderableColumns()` method. This allows users to drag and rearrange visible columns for a personalized view.
333+
334+
You can also make the column manager `live`, so changes apply instantly without needing to click "Apply", by using [`deferColumnManager(false)`](https://filamentphp.com/docs/4.x/tables/columns/overview#live-column-manager).
335+
336+
Additionally, the column manager trigger button can be customized via [`columnManagerTriggerAction()`](https://filamentphp.com/docs/4.x/tables/columns/overview#customizing-the-column-manager-dropdown-trigger-action), giving you control over its label, style, and behavior.
337+
302338
## Actions
303339

304340
### Unified actions
@@ -311,6 +347,8 @@ Instead of having separate `Action` classes for each context, all actions now us
311347

312348
Tables now support a dedicated [toolbar actions](https://filamentphp.com/docs/4.x/tables/actions#toolbar-actions) area.
313349

350+
![Toolbar actions](https://filamentphp.com/docs/4.x/images/light/tables/actions/toolbar.jpg)
351+
314352
You can place both regular actions and [bulk actions](https://filamentphp.com/docs/4.x/tables/actions#bulk-actions) in the [`toolbarActions()`](https://filamentphp.com/docs/4.x/tables/actions#toolbar-actions) method.
315353

316354
This is useful for actions like "create", which are not tied to a specific row, or for making bulk actions more visible and accessible in the table’s toolbar.
@@ -362,7 +400,7 @@ You can now use the [`rateLimit()`](https://filamentphp.com/docs/4.x/actions/ove
362400

363401
#### Styling XLSX columns
364402

365-
You can now customize the styling of individual cells in `XLSX` exports using the [`makeXlsxRow()` and `makeXlsxHeaderRow()`](https://filamentphp.comdocs/4.x/actions/export#styling-xlsx-columns) methods in your exporter class.
403+
You can now customize the styling of individual cells in `XLSX` exports using the [`makeXlsxRow()` and `makeXlsxHeaderRow()`](https://filamentphp.com/docs/4.x/actions/export#styling-xlsx-columns) methods in your exporter class.
366404

367405
#### Customizing the XLSX writer
368406

@@ -411,7 +449,7 @@ Filament now loads the [Inter font](https://fonts.google.com/specimen/Inter) loc
411449

412450
### Sub-navigation position
413451

414-
By default, sub-navigation appears at the start of each page. You can override this globally for the entire panel using the [`subNavigationPosition()` method](https://filamentphp.com//docs/4.x/panel-configuration#setting-the-default-sub-navigation-position).
452+
By default, sub-navigation appears at the start of each page. You can override this globally for the entire panel using the [`subNavigationPosition()` method](https://filamentphp.com/docs/4.x/panel-configuration#setting-the-default-sub-navigation-position).
415453

416454
Available options are:
417455

content/plugins/kenneth-sese-advanced-tables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ description: Supercharge your tables with powerful features like user customizab
99
discord_url: https://discord.com/channels/883083792112300104/1093480983988281394
1010
github_repository: archilex/filament-filter-sets
1111
docs_urls:
12+
v4: https://raw.githubusercontent.com/archilex/advanced-tables-docs/main/v4.md
1213
v3: https://raw.githubusercontent.com/archilex/advanced-tables-docs/main/README.md
1314
v2: https://raw.githubusercontent.com/archilex/advanced-tables-docs/main/v2.md
1415
v1: https://raw.githubusercontent.com/archilex/advanced-tables-docs/main/v1.md
1516
has_dark_theme: true
1617
has_translations: true
17-
versions: [2, 3]
18+
versions: [2, 3, 4]
1819
publish_date: 2023-10-06
1920
---

content/plugins/pxlrbt-activity-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/pxlrbt/filament-activity-log/main/re
99
github_repository: pxlrbt/filament-activity-log
1010
has_dark_theme: true
1111
has_translations: true
12-
versions: [2, 3]
12+
versions: [2, 3, 4]
1313
publish_date: 2023-07-19
1414
---

content/plugins/pxlrbt-environment-indicator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/pxlrbt/filament-environment-indicato
99
github_repository: pxlrbt/filament-environment-indicator
1010
has_dark_theme: true
1111
has_translations: true
12-
versions: [2, 3]
12+
versions: [2, 3, 4]
1313
publish_date: 2022-07-15
1414
---

content/plugins/pxlrbt-excel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/pxlrbt/filament-excel/main/readme.md
99
github_repository: pxlrbt/filament-excel
1010
has_dark_theme: true
1111
has_translations: true
12-
versions: [2, 3]
12+
versions: [2, 3, 4]
1313
publish_date: 2022-02-19
1414
---

content/plugins/pxlrbt-spotlight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/pxlrbt/filament-spotlight/main/readm
99
github_repository: pxlrbt/filament-spotlight
1010
has_dark_theme: false
1111
has_translations: true
12-
versions: [2, 3]
12+
versions: [2, 3, 4]
1313
publish_date: 2022-03-24
1414
---

resources/views/components/plugins/list.blade.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,16 +178,6 @@ class="mx-auto w-full max-w-8xl px-5 sm:px-10"
178178
<div
179179
class="relative z-10 inline-flex select-none items-center gap-2.5 rounded-full bg-white p-[.55rem] font-medium shadow-lg shadow-black/[0.01]"
180180
>
181-
<div
182-
x-on:click="selectedVersion = '1'"
183-
class="relative z-20 w-14 text-center transition duration-300"
184-
:class="{
185-
'cursor-pointer opacity-50 hover:opacity-100': selectedVersion !== '1',
186-
'text-salmon': selectedVersion === '1',
187-
}"
188-
>
189-
v1.x
190-
</div>
191181
<div
192182
class="relative z-20 w-14 text-center transition duration-300"
193183
x-on:click="selectedVersion = '2'"
@@ -208,11 +198,21 @@ class="relative z-20 w-14 text-center transition duration-300"
208198
>
209199
v3.x
210200
</div>
201+
<div
202+
class="relative z-20 w-14 text-center transition duration-300"
203+
x-on:click="selectedVersion = '4'"
204+
:class="{
205+
'cursor-pointer opacity-50 hover:opacity-100': selectedVersion !== '4',
206+
'text-salmon': selectedVersion === '4',
207+
}"
208+
>
209+
v4.x
210+
</div>
211211
<div
212212
class="absolute left-[.31rem] top-[.31rem] -z-10 h-8 w-16 rounded-full bg-fair-pink transition duration-300 ease-out will-change-transform"
213213
:class="{
214-
'translate-x-[4.1rem]': selectedVersion === '2',
215-
'translate-x-[8.2rem]': selectedVersion === '3',
214+
'translate-x-[4.1rem]': selectedVersion === '3',
215+
'translate-x-[8.2rem]': selectedVersion === '4',
216216
}"
217217
></div>
218218
</div>

0 commit comments

Comments
 (0)