23740 Commits
Author SHA1 Message Date
Dan Harrin e5f4a8965a Update Resource.php 2026-04-13 22:31:35 +01:00
MaxandDan Harrin dafae5be8d Enhance search column expression for pgsql prefix (#19694)
* Enhance search column expression for pgsql prefix

Added support for Laravel table prefix in PostgreSQL.

Signed-off-by: Max <mstaack@users.noreply.github.com>

* Update helpers.php

* Update helpersTest.php

---------

Signed-off-by: Max <mstaack@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-13 22:30:04 +01:00
RenHai Wen 10bad7f846 fix: support grouped toolbar buttons in rich editor toolbar checks and modifications (#19695) 2026-04-13 22:24:52 +01:00
Jarno Ruokamo 2132c3daae Update finnish translation (#19696) 2026-04-13 22:24:08 +01:00
Dan Harrin c11ba509c9 fix PHPStan 2026-04-13 22:23:55 +01:00
Dan Harrin 413e9a953b Refactor RichEditor further to allow hook overrides 2026-04-13 19:17:37 +01:00
Dan Harrin 6eec522aa2 Update RichEditor.php 2026-04-13 18:02:37 +01:00
RenHai Wen 08dd068675 fix: Prevent hidden builder fields from breaking repeaters (#19676)
* test: add test for saving builder block with repeater and hidden field

* fix: Prevent hidden builder fields from breaking repeaters
2026-04-13 10:08:16 +01:00
Luke EllisandDan Harrin 790376b450 Fix JS Notification/Action/ActionGroup method shadowing bug (#19673)
* fix: resolve method shadowing by using backing properties in Notification class

* clean up

* Update ActionGroup.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-13 10:08:07 +01:00
9d34b2f29f fix: prevent duplicate notifications when Livewire events are batched (#19649)
* fix: prevent duplicate notifications when Livewire events are batched

Fixes #16662

When a child component fires both a notification and a Livewire event,
the dehydrate hook runs for every component being dehydrated. Previously,
each component checked session()->get() (non-destructive) and dispatched
'notificationsSent', causing duplicate notifications.

This change uses session()->pull() (destructive read) to atomically
claim notifications on first dehydrate, and passes the notification data
directly with the dispatch event. This prevents subsequent component
dehydrations from seeing the same session data.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Do not allow notifications to leave the server

* Update Notification.php

Signed-off-by: Dan Harrin <git@danharrin.com>

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-13 10:04:37 +01:00
Omar AlnabrisandDan Harrin aa82febcd5 Fix avatar background color of ui-avatars provider (#19664)
* fix: avatar background color of ui-avatars provider

* fix: add `format=png`

* cleanup and fix display issue with png

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-13 10:03:18 +01:00
Dan Harrin bff22644ba Update core.blade.php 2026-04-13 10:02:28 +01:00
RenHai Wen 8932b8fc82 fix: Use JS select when allowHtml() is enabled (#19671) 2026-04-11 13:10:18 +01:00
Dan Harrin 30cee2964b fix: Rich content merge tag text spacing (#19675) 2026-04-11 13:10:06 +01:00
Dan Harrin bd1badf886 fix: Rich editor pasting images within text (#19674) 2026-04-11 13:09:49 +01:00
Dan Harrin a0ebc37890 task: Easier HTML sanitizer extension (#19680) 2026-04-11 12:59:07 +01:00
RenHai Wen 57e37e2051 fix: prevent duplicate toolbar buttons when rich editor plugin enables already-present buttons (#19666)
* feat: implement applyEnableToolbarButtonsModification for dynamic button enabling

* fix: remove commented-out code for enabling toolbar buttons

* test: add tests for toolbar button duplication in RichEditor plugin

* fix: improve toolbar button detection logic in RichEditor plugin
2026-04-11 12:58:25 +01:00
László StahorszkiandDan Harrin 4bc3e570ee Only set default page size if it isn't already set (#19661)
Signed-off-by: László Stahorszki <152993545+ropi-bc@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-11 12:53:56 +01:00
Dan Harrin 2dd6ab31e6 fix: Better default heading sizes for prose 2026-04-10 13:56:59 +01:00
Chanthoeun Kim 058a61101a Add missing Khmer Language (#19656)
* feat: add missing Khmer translations for the view record page and chart widget.

* chore: update the missing Khmer language translations for multi-factor authentication and form components
2026-04-09 14:15:13 +01:00
Dan Harrin bdc28be91a Add security comments to reduce false-positive rate of security reports 2026-04-09 12:31:28 +01:00
Dan Harrin 3f5935f69a feature: Grouped custom rich editor blocks (#19653)
* feature: Grouped custom rich editor blocks

* screenshot

* Update RichContentAttribute.php
2026-04-08 08:55:33 +01:00
Dan Harrin b74a164d81 fix: Invalid app authentication setup with recovery codes (#19644) 2026-04-06 17:59:33 +01:00
RenHai Wen 5c5c439273 Fix Rich Editor adding default link target and rel attributes (#19641)
* fix: Rich Editor adding default link target and rel attributes

* test: cover rich editor link attribute round-trips

* test: cover rich editor link attribute round-trips

* fix: remove unnecessary rel attribute from link action
2026-04-06 14:21:00 +01:00
ziming 9290555c62 Fix: Add null check for mounted action before rendering (#19642)
* Add null check for mounted action before rendering

Signed-off-by: ziming <ziming@users.noreply.github.com>

* chore: fix code style

---------

Signed-off-by: ziming <ziming@users.noreply.github.com>
2026-04-06 14:12:47 +01:00
Dan Harrin 8f17497e75 Add more tests 2026-04-04 21:36:50 +01:00
Luis Parrado d2c3f18a11 Translated to Spanish TailwindCSS color options for Rich Editor (#19633) 2026-04-03 18:48:58 +01:00
Alexis BournavaudandDan Harrin 7062ee7ad1 i18n: make RichEditor text color labels translatable (#19571)
* feat: make RichEditor text color labels translatable

Use Laravel's translation system for TextColor default labels instead of
hardcoded English names via Str::ucwords(). Add color name translations
for EN and FR locales.

* fix: fallback to auto-generated label when text color translation is missing

* cleanup

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 16:10:18 +01:00
Alexander JensenandDan Harrin dd580292da [4.x] Fix last group summary (#19593)
* Fix last group summary

* fix cursor pagination and add negative test

* Update PostsTableWithCursorPagination.php

* Update SummaryTest.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 15:56:59 +01:00
Dennis KochandDan Harrin bbe9ad4dbb fix: Only use x-show on logo when sidebar is collapsible (#19547)
* Only use x-show on logo when sidebar is collapsible

* Update sidebar.blade.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 15:36:53 +01:00
Craig AndersonandDan Harrin 669ae00934 Fix Summarizer Issue with BelongsToMany Pivot Fields (#19625)
* Allow Summarizer on BelongsToMany pivot columns

* Allow fields that begin with "pivot."

* Fix PHPStan error

* PHPStan fixes

* Add tests

* cleanup and fix edge cases

* Update Summarizer.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 15:26:08 +01:00
BenandDan Harrin 71ebff1c3e Fix dehydration drops shared statePath when a sibling Group is hidden (#19543)
* Failing test for Repeater: dehydration drops shared statePath when a sibling Group is hidden

* Fix Repeater: dehydration drops shared statePath when a sibling Group is hidden

* cleanup

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 15:25:42 +01:00
Alexander JensenandDan Harrin 7d3d3165d3 [4.x] Fix all-table summaries (#19592)
* Fix all-table summaries

* Avoid table wrapper if no page or all table summary

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-03 14:19:41 +01:00
Daniel Haaker c9b6ecd0fb fix: Preserve hint tooltip on single-arg hintIcon (#19626) 2026-04-03 14:11:23 +01:00
RenHai Wen 33a4378170 fix collapsible section header click handling (#19628) 2026-04-03 12:52:03 +01:00
Def4ult f6aaf61f53 translations: add Vietnamese for query builder (#19623) 2026-04-03 12:48:16 +01:00
Bartłomiej Gajda 745662557d Chore: missing PL translations (#19605)
* missing translations updated

* pint
2026-04-02 15:47:11 +01:00
Luis ParradoandDan Harrin e859d9c2c3 Translated Spanish missing keys - rich tools headings (#19602)
Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-02 15:44:40 +01:00
Daniel Haaker 98d4be94b8 fix: update missing Dutch (nl) translations (#19597) 2026-04-02 15:42:35 +01:00
arzcodeandbuzkall 7eba51e584 Add missing spanish and catalan translations (#19591)
* Add missing spanish and catalan translations

* Add missing basque translations

---------

Co-authored-by: buzkall <buzkall@users.noreply.github.com>
2026-04-02 15:37:09 +01:00
RenHai WenandDan Harrin c80dbf4f98 Fix dashboard route overwritten by home redirect when using tenant domain binding field (#19598)
* Fix dashboard route overwritten by home redirect when using tenant domain binding field

* Update web.php

* Update web.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-04-02 15:13:48 +01:00
Dan Harrin b7378e7380 Update dependencies 2026-04-02 15:11:37 +01:00
RenHai Wen 2116e94155 Fix PHPStan errors and redundant code in in() validation method (#19595)
* Fix resolve PHPStan type errors

* Fix redundant match statement in inValidation method
2026-04-02 14:54:49 +01:00
Chris JonesandDan Harrin 7e4b8a5b0e Fix dashboard route overwritten by home redirect when using tenant slug attribute (#19584)
* Fix dashboard route overwritten by home redirect when using tenant slug attribute

`Route::getLastGroupPrefix()` returns the raw group prefix including
binding syntax (e.g. `admin/{tenant:slug}`), but Laravel's
`RouteCollection` indexes routes by the normalized URI without binding
syntax (e.g. `admin/{tenant}`). The `isset()` check on line 182 fails
due to this key mismatch when a tenant slug attribute is configured,
causing the home redirect to be created at `/` and overwrite the
Dashboard route.

The fix strips binding syntax from the root URI before looking it up
in the route collection.

Fixes filamentphp/filament#19582

* update snapshots

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-03-30 10:12:39 +01:00
Daniel Haaker 1d78f0123e Fix typos in documentation (#19587) 2026-03-30 09:40:22 +01:00
RenHai WenandDan Harrin 15c6354ac8 Fix dashboard route silently dropped on domain panels (#19562)
* fix: prevent registering home route when a page owns the root path

* Make check less dependent on page `getRoutePath()`

* Update HasRoutes.php

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2026-03-29 10:07:39 +01:00
ur-oot 45112f3177 feat: update and complete Japanese translations (#19577) 2026-03-28 12:04:55 +00:00
ahmed-rashad-alnaggar 1806e1a431 fix: hide table pagination for empty records (#19573) 2026-03-28 06:05:00 +00:00
Gideon AppohandDan Harrin 3685caa7a0 Fix FilamentTimezone not working as expected (#19568)
* Fix FilamentTimezone not working as expected

* Update and rename tests/src/Support/FilamentTimezoneTest.php to tests/src/Support/Facades/FilamentTimezoneTest.php

Signed-off-by: Dan Harrin <git@danharrin.com>

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2026-03-27 22:58:11 +00:00
RenHai Wen 389716a28f fix: imagePreviewHeight() not applying to video previews (#19544)
* vendor: inline filepond-plugin-media-preview and remove npm dependency

* fix: update media preview plugin import and add mediaPreviewHeight option

* fix: change mediaPreviewHeight option type from string to int

* fix: audio preview not displaying after vendoring media preview plugin

* fix: video preview height and audio preview regression in vendored media preview plugin
2026-03-27 22:37:18 +00:00