Alexandre
Alexandre
FFilament
Created by Chili con Timo on 3/21/2025 in #β“β”Šhelp
[Tab]-Key and [Arrow]-Keys in combination with Selectbox causes strange things
Hi, it's a problem linked to a dependency: ChoiceJS. The problem has been fixed on their side, and will be available for V4.Find out more here: https://github.com/filamentphp/filament/issues/5707 πŸ™‚
8 replies
FFilament
Created by Alexandre on 3/6/2025 in #β“β”Šhelp
Unit test problem in a ViewRecord resource
No description
11 replies
FFilament
Created by Alexandre on 3/6/2025 in #β“β”Šhelp
Unit test problem in a ViewRecord resource
Here my action on Github :
name: Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
jobs:
tests:
name: πŸ§ͺ Run tests
runs-on: ubuntu-latest
steps:
- name: πŸ”Ž Checkout code
uses: actions/checkout@v4
- name: 🐘 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2
coverage: none
- name: πŸ—οΈ Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: πŸ’Ύ Cache Composer dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: πŸ’Ύ Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: πŸ—ƒοΈ Install dependencies
run: |
composer install --no-interaction
npm ci
- name: πŸ“‚ Set up SQLite Database
run: |
cp .env.testing.example .env
touch database/database.sqlite
php artisan key:generate
php artisan migrate --force
php artisan db:seed --class="TestingSeeder" --force
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
APP_ENV: testing
CACHE_DRIVER: array
QUEUE_CONNECTION: sync
SESSION_DRIVER: array
- name: πŸ”¬ Run tests
run: composer test //launch pest --parallel
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
APP_ENV: testing
name: Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
jobs:
tests:
name: πŸ§ͺ Run tests
runs-on: ubuntu-latest
steps:
- name: πŸ”Ž Checkout code
uses: actions/checkout@v4
- name: 🐘 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2
coverage: none
- name: πŸ—οΈ Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: πŸ’Ύ Cache Composer dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: πŸ’Ύ Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: πŸ—ƒοΈ Install dependencies
run: |
composer install --no-interaction
npm ci
- name: πŸ“‚ Set up SQLite Database
run: |
cp .env.testing.example .env
touch database/database.sqlite
php artisan key:generate
php artisan migrate --force
php artisan db:seed --class="TestingSeeder" --force
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
APP_ENV: testing
CACHE_DRIVER: array
QUEUE_CONNECTION: sync
SESSION_DRIVER: array
- name: πŸ”¬ Run tests
run: composer test //launch pest --parallel
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
APP_ENV: testing
11 replies
FFilament
Created by Alexandre on 3/6/2025 in #β“β”Šhelp
Unit test problem in a ViewRecord resource
No description
11 replies
FFilament
Created by Alexandre on 3/6/2025 in #β“β”Šhelp
Unit test problem in a ViewRecord resource
No description
11 replies
FFilament
Created by Alexandre on 3/6/2025 in #β“β”Šhelp
Unit test problem in a ViewRecord resource
From my terminal I run vendor\bin\pest And from PHPStorm I can see this in the console when I click on the play button :
C:\PHP\php.exe D:\laragon\www\XXXX\vendor\pestphp\pest\bin\pest --teamcity --configuration D:\laragon\www\XXXXX\phpunit.xml D:\laragon\www\XXXX\tests\Feature\Filament\pages\Order\ViewOrderTest.php --filter "/^(P\\)?Tests\\Feature\\Filament\\pages\\Order\\ViewOrderTest::it\scan\sclose\san\sorder\sfrom\sVALIDATED\sstatus(\swith\s(data\sset\s\".*\"|\(.*\))(\s\/\s(data\sset\s\".*\"|\(.*\)))*(\s#\d+)?)?$/"
C:\PHP\php.exe D:\laragon\www\XXXX\vendor\pestphp\pest\bin\pest --teamcity --configuration D:\laragon\www\XXXXX\phpunit.xml D:\laragon\www\XXXX\tests\Feature\Filament\pages\Order\ViewOrderTest.php --filter "/^(P\\)?Tests\\Feature\\Filament\\pages\\Order\\ViewOrderTest::it\scan\sclose\san\sorder\sfrom\sVALIDATED\sstatus(\swith\s(data\sset\s\".*\"|\(.*\))(\s\/\s(data\sset\s\".*\"|\(.*\)))*(\s#\d+)?)?$/"
I use the Pest Plugin πŸ™‚ If I click on the button to run all the tests in the file, it fails, but if I run each function one after the other, it works.
C:\PHP\php.exe D:\laragon\www\XXXX\vendor\pestphp\pest\bin\pest --teamcity --configuration D:\laragon\www\XXXX\phpunit.xml D:\laragon\www\XXXX\tests\Feature\Filament\pages\Order\ViewOrderTest.php
C:\PHP\php.exe D:\laragon\www\XXXX\vendor\pestphp\pest\bin\pest --teamcity --configuration D:\laragon\www\XXXX\phpunit.xml D:\laragon\www\XXXX\tests\Feature\Filament\pages\Order\ViewOrderTest.php
11 replies
FFilament
Created by Alexandre on 2/21/2025 in #β“β”Šhelp
How do I use actions on a ViewRecord page?
Oh mamma mia, I'm an idiot but it's almost the weekend πŸ˜‚. I'm going to make the most of it by picking daisies in the fields and getting some fresh air. πŸ˜‚ Sorry πŸ˜…
10 replies
FFilament
Created by Alexandre on 2/21/2025 in #β“β”Šhelp
How do I use actions on a ViewRecord page?
No description
10 replies
FFilament
Created by Alexandre on 2/21/2025 in #β“β”Šhelp
How do I use actions on a ViewRecord page?
Hi, thanks for your answer but that didn't change anything πŸ˜₯
10 replies
FFilament
Created by Alexandre on 2/11/2025 in #β“β”Šhelp
Need advice on the login logic of my application
Thank you for your response. I thought about it at first, but I wasn't quite sure how to retrieve the entire nested layout of filament (not just the login form but HTML, body, ...), which I feel are other Livewire components Knowing that I will also need to do the same with the passwordReset. The whole thing seemed a bit tricky to me, but I might be mistaken... πŸ˜… And the advantage here is that I can put it on Filament without having to tweak my views... Aside from the URL, do you see any potential issues with what I’ve implemented?
7 replies
FFilament
Created by Alexandre on 1/27/2025 in #β“β”Šhelp
Is it possible to display key : value in a TextColumn ?
Ahhh I see, thank you for your clarification πŸ™‚
7 replies
FFilament
Created by Alexandre on 1/27/2025 in #β“β”Šhelp
Is it possible to display key : value in a TextColumn ?
No description
7 replies
FFilament
Created by Finn on 1/23/2025 in #β“β”Šhelp
Disable search engine indexing
Hi, For my part, I add the meta tag in the HEAD_START hook directly in the boot() of my AppServiceProvider:
public function boot(): void
{
FilamentView::registerRenderHook(
PanelsRenderHook::HEAD_START,
fn(): string => '<meta name="robots" content="noindex, nofollow" />',
);

}
public function boot(): void
{
FilamentView::registerRenderHook(
PanelsRenderHook::HEAD_START,
fn(): string => '<meta name="robots" content="noindex, nofollow" />',
);

}
4 replies
FFilament
Created by Rolland on 11/18/2024 in #β“β”Šhelp
No application encryption key has been specified
Hi, Do you have a value associated with APP_KEY in your .ENV file? If not, you can use the php artisan key:generate command to create it.
5 replies
FFilament
Created by NothingToSay on 11/12/2024 in #β“β”Šhelp
Disable back button for wizard on modal
Hi. You have this method : ->previousAction() So you can try that : ->previousAction(fn (Action $action): Action => $action->extraAttributes(['class' => 'hidden'])) Cf. https://github.com/filamentphp/filament/discussions/9942#discussioncomment-7702242
5 replies
FFilament
Created by dyo on 11/11/2024 in #β“β”Šhelp
Adjust the component height
And when you look in the inspector, can you see that the CSS class has been added?
8 replies
FFilament
Created by Alexandre on 9/3/2024 in #β“β”Šhelp
Incremental itemLabel for repeater
No description
7 replies
FFilament
Created by Asmit Nepali on 10/15/2024 in #β“β”Šhelp
File Upload Issue
The image sent is in base64. Try increasing the value of your client_max_body_size in php.ini (and maybe post_max_size too)
9 replies
FFilament
Created by Asmit Nepali on 10/15/2024 in #β“β”Šhelp
File Upload Issue
Do you have a particular error in your console?
9 replies
FFilament
Created by Asmit Nepali on 10/15/2024 in #β“β”Šhelp
File Upload Issue
Just to be sure, is the max file upload size value sufficient in your php.ini file?
9 replies