diff --git a/app/Http/Controllers/Plugins/ListPluginsController.php b/app/Http/Controllers/Plugins/ListPluginsController.php index aebd110c1..70fd773d8 100644 --- a/app/Http/Controllers/Plugins/ListPluginsController.php +++ b/app/Http/Controllers/Plugins/ListPluginsController.php @@ -34,7 +34,7 @@ public function __invoke(GetPluginsListData $getPluginsListData) 'pluginsCount' => Plugin::count(), 'plugins' => $getPluginsListData(), 'featuredPlugins' => $getPluginsListData([ - 'filament-minimal-theme', + 'filament-themes', 'kenneth-sese-advanced-tables', 'ralphjsmit-media-library-manager', ]), diff --git a/app/Http/Controllers/Plugins/ViewPluginController.php b/app/Http/Controllers/Plugins/ViewPluginController.php index 463645e0d..d4a075c7c 100644 --- a/app/Http/Controllers/Plugins/ViewPluginController.php +++ b/app/Http/Controllers/Plugins/ViewPluginController.php @@ -22,7 +22,7 @@ public function __invoke(GetPluginsListData $getPluginsListData, string $plugin) ->image($plugin->getImageUrl() ?? $plugin->getThumbnailUrl()); $featuredPlugins = [ - 'filament-minimal-theme', + 'filament-themes', 'kenneth-sese-advanced-tables', 'ralphjsmit-media-library-manager', ]; diff --git a/content/articles/leandrocfe-form-builder-common-errors-to-avoid.md b/content/articles/leandrocfe-form-builder-common-errors-to-avoid.md new file mode 100644 index 000000000..8cc3e2484 --- /dev/null +++ b/content/articles/leandrocfe-form-builder-common-errors-to-avoid.md @@ -0,0 +1,266 @@ +--- +title: Form Builder - Common Errors to Avoid +slug: leandrocfe-form-builder-common-errors-to-avoid +author_slug: leandrocfe +publish_date: 2024-11-23 +categories: [form-builder, tailwind-css] +type_slug: article +--- + +## Introduction +As a member of the Filament community, I frequently respond to questions and issues raised in [Filament Discord](https://filamentphp.com/discord) and [Filament GitHub discussions](https://github.com/filamentphp/filament/discussions). +Many of these involve common mistakes that developers make while building forms in Filament. +In this article, I'll highlight some of these errors and show you how to avoid them. + +> **_NOTE:_** This article was written using [Filament v3.x](https://filamentphp.com/docs/3.x). + +## Error 1: Using New Tailwind Classes Without Defining a Theme + +Suppose you want to add a custom Tailwind class to the [helperText](https://filamentphp.com/docs/3.x/forms/fields/getting-started#adding-helper-text-below-the-field) of a [RichEditor](https://filamentphp.com/docs/3.x/forms/fields/rich-editor) component: + +```php +RichEditor::make('content') + ->columnSpanFull() + ->helperText(new HtmlString(<<<'HTML' +
+ You can use + + Markdown + to format your content. +
+ HTML) + ), +``` + +If you run this code without creating a custom theme, the new class **text-blue-500** will not be applied: +![HelperText without css applied](https://github.com/leandrocfe/filament-articles/blob/main/form-builder/images/img1.png?raw=true) + +### Why? +Tailwind CSS compiles only classes explicitly referenced in scanned files. Classes dynamically added in your Blade files will be ignored unless you configure Tailwind to scan those files. + +### Solution: +- Create a [custom theme](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme). +- Follow the instructions in the command: + - _First, add a new item to the `input` array of `vite.config.js`: `resources/css/filament/admin/theme.css`_ + - _Next, register the theme in the admin panel provider using `->viteTheme('resources/css/filament/admin/theme.css')`_ + +- Update the content array in your `tailwind.config.js` to include the relevant directory: +```js +export default { + presets: [preset], + content: [ + './app/Filament/**/*.php', + './resources/views/filament/**/*.blade.php', + './vendor/filament/**/*.blade.php', + //... + ], +} +``` +- Finally, run `npm run dev` or `npm run build` to compile the theme. + +After following these steps, the custom class will be applied successfully: + +![HelperText with css applied](https://github.com/leandrocfe/filament-articles/blob/main/form-builder/images/img2.png?raw=true) + +## Error 2: Misusing the `default()` Method in Form Components + +Here's an example of a [TagsInput](https://filamentphp.com/docs/3.x/forms/fields/tags-input) component with default tags in a PostResource: + +```php +TagsInput::make('tags') + ->default([ + 'Laravel', + 'Livewire', + 'Filament', + ]), +``` + +This works perfectly on a Create Page: + +![Default in the CreatePage](https://github.com/leandrocfe/filament-articles/blob/main/form-builder/images/img3.png?raw=true) + +However, if you edit a post with no tags, the defaults won't apply: + +![Default in the EditPage](https://github.com/leandrocfe/filament-articles/blob/main/form-builder/images/img4.png?raw=true) + +### Why? +As the [docs say](https://filamentphp.com/docs/3.x/forms/fields/getting-started#setting-a-default-value), _defaults are only used when the form is loaded without existing data. Inside panel resources this only works on Create Pages, as Edit Pages will always fill the data from the model._ + +In this case, the value is `null`, which is correct on the Edit Page. + +If you want to force the input to have a default value on the Edit Page if the value is `null`, you should use the `formatStateUsing()` method: + +```php +TagsInput::make('tags') + ->formatStateUsing(fn (?array $state): array => blank($state) ? [ + 'Laravel', + 'Livewire', + 'Filament', + ] : $state), +``` + +## Error 3: Combining `options()` and `relationship()` Methods in Select Components + +When using a [Select](https://filamentphp.com/docs/3.x/forms/fields/select) or [CheckboxList](https://filamentphp.com/docs/3.x/forms/fields/checkbox-list) component with a `relationship()`, avoid also defining `options()`. For instance: + +```php +Select::make('categories') + ->multiple() + ->preload() + ->relationship( + name: 'categories', + titleAttribute: 'name' + ) + ->options(Category::wherePublished(true)->pluck('name', 'id')), // Don't use this +``` +### Why? +The `relationship` method already fetches `options` from the database using relationship methods in your Eloquent models. + +### Solution: +Use the [modifyQueryUsing()](https://filamentphp.com/docs/3.x/forms/fields/select#customizing-the-relationship-query) method to customize the query: + +```php +Select::make('categories') + ->multiple() + ->preload() + ->relationship( + name: 'categories', + titleAttribute: 'name', + modifyQueryUsing: fn (Builder $query): Builder => $query->wherePublished(true)), +``` + +## Error 4: Incorrectly Using a Wizard Component in Resource Pages +Using a [Wizard](https://filamentphp.com/docs/3.x/forms/layout/wizard) component directly in a Resource can result in both navigation and form buttons appearing simultaneously: + +![Wizard example](https://github.com/leandrocfe/filament-articles/blob/main/form-builder/images/img5.png?raw=true) + +### Why? +The [Wizard](https://filamentphp.com/docs/3.x/forms/layout/wizard) component has its own navigation buttons. + +### Solution: +Use the `HasWizard` trait in your Resource Pages: + +Create Page: +```php +use App\Filament\Resources\CategoryResource; +use Filament\Resources\Pages\CreateRecord; + +class CreateCategory extends CreateRecord +{ + use CreateRecord\Concerns\HasWizard; + + protected static string $resource = CategoryResource::class; + + protected function getSteps(): array + { + return [ + // ... + ]; + } +} +``` + +Edit Page: +```php +use App\Filament\Resources\CategoryResource; +use Filament\Resources\Pages\EditRecord; + +class EditCategory extends EditRecord +{ + use EditRecord\Concerns\HasWizard; + + protected static string $resource = CategoryResource::class; + + protected function getSteps(): array + { + return [ + // ... + ]; + } +} +``` + +To implement a [Wizard within an Action](https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#using-a-wizard), use the `steps()` method: + +```php +CreateAction::make() + ->steps([ + // ... + ]), +``` + +This ensures proper functionality by displaying only the navigation buttons. + +## Error 5: Forgetting Key Steps in Standalone Mode + +Filament provides a [Standalone Mode](https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component) to build forms. +When using Filament's Standalone Mode in a Livewire component, missing [key steps](https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form) can cause unexpected behavior. +For example: + +```php +class CreateCategory extends Component implements HasForms +{ + use InteractsWithForms; + + public ?array $data = []; + + public function mount(): void + { + $this->form->fill(); // Important for initializing the form + } + + public function form(Form $form): Form + { + return $form + ->schema([ + TextInput::make('name'), + TextInput::make('slug'), + ... + ]) + ->statePath('data'); // Important for storing form data + } + ... +} +``` + +### Solution: +Ensure you are following these [key steps](https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form) when using **Standalone Mode**. + +If you omit `statePath()`, ensure that [public properties](https://livewire.laravel.com/docs/properties) exist for each [Form Field](https://filamentphp.com/docs/3.x/forms/fields/getting-started): + +```php +class CreateCategory extends Component implements HasForms +{ + use InteractsWithForms; + + // Add public properties for each field in the form schema + public ?string $name = null; + public ?string $slug = null; + ... + + public function mount(): void + { + $this->form->fill(); + } + public function form(Form $form): Form + { + return $form + ->schema([ + TextInput::make('name'), + TextInput::make('slug'), + ... + ]); + } + ... +} +``` + +## Conclusion +Avoiding these common errors will save you time and provide a smoother development experience with Filament. +Additionally, it will deepen your understanding of Filament's features, enabling you to create more maintainable and reliable forms for your projects. + +Happy coding ;) diff --git a/content/authors/ahmedhassan.md b/content/authors/ahmedhassan.md new file mode 100644 index 000000000..75dce6378 --- /dev/null +++ b/content/authors/ahmedhassan.md @@ -0,0 +1,7 @@ +--- +name: Ahmed Hassan +slug: ahmedhassan +github_url: https://github.com/AHMEDHASSAN202 +--- + +Just Developer diff --git a/content/authors/athphane.md b/content/authors/athphane.md new file mode 100644 index 000000000..bd849a274 --- /dev/null +++ b/content/authors/athphane.md @@ -0,0 +1,7 @@ +--- +name: Athfan Khaleel +slug: athphane +github_url: https://github.com/athphane +--- + +Athfan is a full-stack web developer from the Maldives, with 7 years of experience in Laravel and Bootstrap, along with moderate experience in Tailwind CSS. He works with both small and massive clients, handling projects with complex requirements. Athfan focuses on building unique websites and tools tailored to client needs. \ No newline at end of file diff --git a/content/authors/avatars/ahmedhassan.jpg b/content/authors/avatars/ahmedhassan.jpg new file mode 100644 index 000000000..95b3e59e4 Binary files /dev/null and b/content/authors/avatars/ahmedhassan.jpg differ diff --git a/content/authors/avatars/athphane.jpg b/content/authors/avatars/athphane.jpg new file mode 100644 index 000000000..1766095ec Binary files /dev/null and b/content/authors/avatars/athphane.jpg differ diff --git a/content/authors/avatars/diogogpinto.jpg b/content/authors/avatars/diogogpinto.jpg new file mode 100644 index 000000000..b290e8677 Binary files /dev/null and b/content/authors/avatars/diogogpinto.jpg differ diff --git a/content/authors/avatars/michaeld555.jpg b/content/authors/avatars/michaeld555.jpg new file mode 100644 index 000000000..d2a778def Binary files /dev/null and b/content/authors/avatars/michaeld555.jpg differ diff --git a/content/authors/avatars/relaticle.png b/content/authors/avatars/relaticle.png new file mode 100644 index 000000000..3b9044aea Binary files /dev/null and b/content/authors/avatars/relaticle.png differ diff --git a/content/authors/avatars/wallacemaxters.jpeg b/content/authors/avatars/wallacemaxters.jpeg new file mode 100644 index 000000000..af50c96f7 Binary files /dev/null and b/content/authors/avatars/wallacemaxters.jpeg differ diff --git a/content/authors/diogogpinto.md b/content/authors/diogogpinto.md new file mode 100644 index 000000000..329fcc0ff --- /dev/null +++ b/content/authors/diogogpinto.md @@ -0,0 +1,8 @@ +--- +name: Diogo Pinto +slug: diogogpinto +github_url: https://github.com/diogogpinto +twitter_url: https://twitter.com/diogogpinto +--- + +I'm Diogo and I'm crafting health tech with Laravel, TALL Stack & Filament. 🚀 CEO of [Geridoc](https://www.geridoc.pt), a Portuguese medical company, blending code with care. 🇵🇹 diff --git a/content/authors/michaeld555.md b/content/authors/michaeld555.md new file mode 100644 index 000000000..4c4a21e56 --- /dev/null +++ b/content/authors/michaeld555.md @@ -0,0 +1,7 @@ +--- +name: Michael Douglas +slug: michaeld555 +github_url: https://github.com/michaeld555 +--- + +Michael is a full-stack developer from 🇧🇷. He uses Laravel and Filament during his work, and he likes a good challenge diff --git a/content/authors/relaticle.md b/content/authors/relaticle.md new file mode 100644 index 000000000..d2e98a2e0 --- /dev/null +++ b/content/authors/relaticle.md @@ -0,0 +1,7 @@ +--- +name: Relaticle +slug: relaticle +github_url: https://github.com/relaticle +--- + +Relaticle Next-Generation Open-Source CRM Platform written with Laravel and Filament. diff --git a/content/authors/vormkracht10.md b/content/authors/vormkracht10.md index ba137f320..c78895063 100644 --- a/content/authors/vormkracht10.md +++ b/content/authors/vormkracht10.md @@ -3,6 +3,7 @@ name: Vormkracht10 slug: vormkracht10 github_url: https://github.com/vormkracht10 twitter_url: https://twitter.com/vormkracht10 +sponsor_url: https://github.com/sponsors/vormkracht10 --- Full service web development agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whitles and big web applications. diff --git a/content/authors/wallacemaxters.md b/content/authors/wallacemaxters.md new file mode 100644 index 000000000..a5c892514 --- /dev/null +++ b/content/authors/wallacemaxters.md @@ -0,0 +1,5 @@ +--- +name: Wallace Vizerra +slug: wallacemaxters +github_url: https://github.com/wallacemaxters +--- diff --git a/content/plugins/ahmedhassan-print.md b/content/plugins/ahmedhassan-print.md new file mode 100644 index 000000000..bb2109dc0 --- /dev/null +++ b/content/plugins/ahmedhassan-print.md @@ -0,0 +1,14 @@ +--- +name: Print +slug: ahmedhassan-print +author_slug: ahmedhassan +categories: [widget] +description: Allows users to quickly print the current webpage directly from their browser, providing a one-click solution for generating printer-friendly versions of the pages you're viewing. +discord_url: https://discord.com/channels/883083792112300104/1320481989123641445 +docs_url: https://raw.githubusercontent.com/AHMEDHASSAN202/print-filament/refs/heads/main/README.md +github_repository: AHMEDHASSAN202/print-filament +has_dark_theme: false +has_translations: false +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/ariaieboy-jalali-datetime.md b/content/plugins/ariaieboy-jalali-datetime.md index a231af626..f8d09c2d2 100644 --- a/content/plugins/ariaieboy-jalali-datetime.md +++ b/content/plugins/ariaieboy-jalali-datetime.md @@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/ariaieboy/filament-jalali-datetime/m github_repository: ariaieboy/filament-jalali-datetime has_dark_theme: true has_translations: true -versions: [2, 3] +versions: [2] publish_date: 2023-07-22 --- diff --git a/content/plugins/ariaieboy-jalali-datetimepicker.md b/content/plugins/ariaieboy-jalali-datetimepicker.md deleted file mode 100644 index 832c6e95a..000000000 --- a/content/plugins/ariaieboy-jalali-datetimepicker.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Jalali DateTime Picker -slug: ariaieboy-jalali-datetimepicker -author_slug: ariaieboy -categories: [form-builder, form-field] -description: This plugin will add Jalali calendar to DatePicker and DateTimePicker. -discord_url: https://discord.com/channels/883083792112300104/982666046945235004 -docs_url: https://raw.githubusercontent.com/ariaieboy/filament-jalali-datetimepicker/main/README.md -github_repository: ariaieboy/filament-jalali-datetimepicker -has_dark_theme: true -has_translations: true -versions: [2, 3] -publish_date: 2023-07-22 ---- diff --git a/content/plugins/ariaieboy-jalali.md b/content/plugins/ariaieboy-jalali.md new file mode 100644 index 000000000..d5f8566ca --- /dev/null +++ b/content/plugins/ariaieboy-jalali.md @@ -0,0 +1,14 @@ +--- +name: Jalali/Shamsi Support +slug: ariaieboy-jalali +author_slug: ariaieboy +categories: [form-builder, form-field,table-column, table-builder,infolist-entry] +description: This plugin adds Jalali/Shamsi Support to FilamentPHP. +discord_url: https://discord.com/channels/883083792112300104/982666046945235004 +docs_url: https://raw.githubusercontent.com/ariaieboy/filament-jalali/main/README.md +github_repository: ariaieboy/filament-jalali +has_dark_theme: true +has_translations: true +versions: [3] +publish_date: 2024-10-24 +--- diff --git a/content/plugins/athphane-editorjs.md b/content/plugins/athphane-editorjs.md new file mode 100644 index 000000000..7961f1142 --- /dev/null +++ b/content/plugins/athphane-editorjs.md @@ -0,0 +1,14 @@ +--- +name: EditorJs +slug: athphane-editorjs +author_slug: athphane +categories: [form-builder, form-field, spatie] +description: An EditorJS text field that stores images with Spatie Media Library. +docs_url: https://raw.githubusercontent.com/athphane/filament-editorjs/main/README.md +discord_url: https://discord.com/channels/883083792112300104/1320492536380391444 +github_repository: athphane/filament-editorjs +has_dark_theme: true +has_translations: false +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/datlechin-menu-builder.md b/content/plugins/datlechin-menu-builder.md index be6588449..0e76b96ad 100644 --- a/content/plugins/datlechin-menu-builder.md +++ b/content/plugins/datlechin-menu-builder.md @@ -9,6 +9,6 @@ docs_url: https://raw.githubusercontent.com/datlechin/filament-menu-builder/main github_repository: datlechin/filament-menu-builder has_dark_theme: true has_translations: true -versions: [2, 3] +versions: [3] publish_date: 2024-09-06 --- diff --git a/content/plugins/diogogpinto-auth-ui-enhancer.md b/content/plugins/diogogpinto-auth-ui-enhancer.md new file mode 100644 index 000000000..dd8402826 --- /dev/null +++ b/content/plugins/diogogpinto-auth-ui-enhancer.md @@ -0,0 +1,14 @@ +--- +name: Auth UI Enhancer +slug: diogogpinto-auth-ui-enhancer +author_slug: diogogpinto +categories: [panel-builder, panel-authentication, panel-authorization] +description: Transform your auth pages with ease and make them truly stand out with this flexible alternative to the default auth pages in the Filament Panels package. +discord_url: https://discord.com/channels/883083792112300104/1320491124485521429 +docs_url: https://raw.githubusercontent.com/diogogpinto/filament-auth-ui-enhancer/main/README.md +github_repository: diogogpinto/filament-auth-ui-enhancer +has_dark_theme: true +has_translations: false +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/filament-minimal-theme.md b/content/plugins/filament-minimal-theme.md deleted file mode 100644 index 9830aafe8..000000000 --- a/content/plugins/filament-minimal-theme.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Minimal Theme -slug: filament-minimal-theme -author_slug: filament -categories: [form-builder, panel-builder, table-builder, theme] -url: https://whizzy.dev/themes/minimal?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=button -description: Featuring a clean design with less rounding, lighter backgrounds, and restyled UI components. -github_repository: filamentphp/minimal-theme -has_dark_theme: true -has_translations: true -price: €59.00 -versions: [3] -publish_date: 2023-09-05 ---- - -Want your Filament apps to look more streamlined? The official Minimal theme features a clean design with less rounding, lighter backgrounds, and restyled UI components. No need to hire a designer to make your projects look different from the default Filament style. Simply install the Composer package and you’re good to go. - -[Visit the theme website to learn more.](https://whizzy.dev/themes/minimal?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=introduction) - -## Screenshots - -Visit the Whizzy website to view [screenshots of the Filament Minimal Theme](https://whizzy.dev/themes/minimal?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=screenshots) and compare it with the default Filament theme. - -## Installation - -The Filament Minimal Theme can be installed using Composer. Visit the documentation for complete [installation instructions](https://whizzy.dev/themes/minimal?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=installation). diff --git a/content/plugins/filament-themes.md b/content/plugins/filament-themes.md new file mode 100644 index 000000000..79aa2cd9b --- /dev/null +++ b/content/plugins/filament-themes.md @@ -0,0 +1,20 @@ +--- +name: Themes +slug: filament-themes +author_slug: filament +categories: [form-builder, panel-builder, table-builder, theme] +url: https://whizzy.dev/themes?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=button +description: Beautiful themes to give your app the look it needs. Carefully crafted by the designer of Filament. +github_repository: empty +has_dark_theme: true +has_translations: true +price: €59.00 +versions: [3] +publish_date: 2023-09-05 +--- + +Does your Filament application need a different look than the default style? +No need to hire a designer to create a custom Filament theme. +Simply install a Composer package and you’re good to go. + +[Browse all themes on the Whizzy website.](https://whizzy.dev/themes?utm_source=filament&utm_medium=referral&utm_campaign=plugin&utm_content=introduction) diff --git a/content/plugins/images/ahmedhassan-print.jpg b/content/plugins/images/ahmedhassan-print.jpg new file mode 100644 index 000000000..c8d558bad Binary files /dev/null and b/content/plugins/images/ahmedhassan-print.jpg differ diff --git a/content/plugins/images/ariaieboy-jalali-datetimepicker.jpg b/content/plugins/images/ariaieboy-jalali-datetimepicker.jpg deleted file mode 100644 index 1d884824f..000000000 Binary files a/content/plugins/images/ariaieboy-jalali-datetimepicker.jpg and /dev/null differ diff --git a/content/plugins/images/ariaieboy-jalali.jpg b/content/plugins/images/ariaieboy-jalali.jpg new file mode 100644 index 000000000..7731e4320 Binary files /dev/null and b/content/plugins/images/ariaieboy-jalali.jpg differ diff --git a/content/plugins/images/athphane-editorjs.jpeg b/content/plugins/images/athphane-editorjs.jpeg new file mode 100644 index 000000000..083dff342 Binary files /dev/null and b/content/plugins/images/athphane-editorjs.jpeg differ diff --git a/content/plugins/images/diogogpinto-auth-ui-enhancer.jpg b/content/plugins/images/diogogpinto-auth-ui-enhancer.jpg new file mode 100644 index 000000000..19b882e5a Binary files /dev/null and b/content/plugins/images/diogogpinto-auth-ui-enhancer.jpg differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post-default.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post-default.png deleted file mode 100644 index 788b3ba01..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post.png deleted file mode 100644 index e5f6586f5..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-edit-post.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders-default.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders-default.png deleted file mode 100644 index 6d796dda5..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders.png deleted file mode 100644 index fe4efef24..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-list-orders.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-registration-default.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-registration-default.png deleted file mode 100644 index e2cc8c936..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-registration-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-dark-registration.png b/content/plugins/images/filament-minimal-theme-screenshot-dark-registration.png deleted file mode 100644 index 3f0d9e9be..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-dark-registration.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post-default.png b/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post-default.png deleted file mode 100644 index c714242d3..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post.png b/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post.png deleted file mode 100644 index af2573e9c..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-edit-post.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders-default.png b/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders-default.png deleted file mode 100644 index 0f87c7f22..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders.png b/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders.png deleted file mode 100644 index 83828f4b2..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-list-orders.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-registration-default.png b/content/plugins/images/filament-minimal-theme-screenshot-light-registration-default.png deleted file mode 100644 index 3a694bfce..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-registration-default.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme-screenshot-light-registration.png b/content/plugins/images/filament-minimal-theme-screenshot-light-registration.png deleted file mode 100644 index d2eda2f10..000000000 Binary files a/content/plugins/images/filament-minimal-theme-screenshot-light-registration.png and /dev/null differ diff --git a/content/plugins/images/filament-minimal-theme.png b/content/plugins/images/filament-themes.png similarity index 100% rename from content/plugins/images/filament-minimal-theme.png rename to content/plugins/images/filament-themes.png diff --git a/content/plugins/images/michaeld555-audio-generator-field.png b/content/plugins/images/michaeld555-audio-generator-field.png new file mode 100644 index 000000000..b3060058c Binary files /dev/null and b/content/plugins/images/michaeld555-audio-generator-field.png differ diff --git a/content/plugins/images/michaeld555-croppie.png b/content/plugins/images/michaeld555-croppie.png new file mode 100644 index 000000000..6eba3d6c1 Binary files /dev/null and b/content/plugins/images/michaeld555-croppie.png differ diff --git a/content/plugins/images/relaticle-custom-fields.jpg b/content/plugins/images/relaticle-custom-fields.jpg new file mode 100644 index 000000000..bcf4295d2 Binary files /dev/null and b/content/plugins/images/relaticle-custom-fields.jpg differ diff --git a/content/plugins/images/wallacemaxters-image-color-picker.jpeg b/content/plugins/images/wallacemaxters-image-color-picker.jpeg new file mode 100644 index 000000000..75983eafd Binary files /dev/null and b/content/plugins/images/wallacemaxters-image-color-picker.jpeg differ diff --git a/content/plugins/michaeld555-audio-generator-field.md b/content/plugins/michaeld555-audio-generator-field.md new file mode 100644 index 000000000..5bed8700e --- /dev/null +++ b/content/plugins/michaeld555-audio-generator-field.md @@ -0,0 +1,14 @@ +--- +name: Audio Generator Field +slug: michaeld555-audio-generator-field +author_slug: michaeld555 +categories: [form-builder, form-field] +description: Generate audio file using free AI models directly on Filament Panel +discord_url: https://discord.com/channels/883083792112300104/1320490252426805268 +docs_url: https://raw.githubusercontent.com/michaeld555/filament-audio-generator-field/refs/heads/master/README.md +github_repository: michaeld555/filament-audio-generator-field +has_dark_theme: false +has_translations: true +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/michaeld555-croppie.md b/content/plugins/michaeld555-croppie.md new file mode 100644 index 000000000..1123a7079 --- /dev/null +++ b/content/plugins/michaeld555-croppie.md @@ -0,0 +1,14 @@ +--- +name: Croppie Field +slug: michaeld555-croppie +author_slug: michaeld555 +categories: [form-builder, form-field] +description: Cropper Image Field Plugin For Filament Forms +discord_url: https://discord.com/channels/883083792112300104/1320489883227127808 +docs_url: https://raw.githubusercontent.com/michaeld555/filament-croppie/refs/heads/master/README.md +github_repository: michaeld555/filament-croppie +has_dark_theme: true +has_translations: true +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/relaticle-custom-fields.md b/content/plugins/relaticle-custom-fields.md new file mode 100644 index 000000000..7c77f2cbe --- /dev/null +++ b/content/plugins/relaticle-custom-fields.md @@ -0,0 +1,16 @@ +--- +name: Custom Fields +slug: relaticle-custom-fields +author_slug: relaticle +categories: [developer-tool, form-builder, form-field, table-column] +description: Create Tailored Data Input Experiences. Your Solution for Dynamic, User-Defined Custom Form Fields +price: $39.00 +checkout_url: https://relaticle.lemonsqueezy.com/buy/803d5933-4b12-4869-9d93-f96797339603 +discord_url: https://discord.com/channels/883083792112300104/1297683648195330089 +github_repository: relaticle/custom-fields +docs_url: https://raw.githubusercontent.com/relaticle/custom-fields-community/main/docs/v1.md +has_dark_theme: true +has_translations: false +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/content/plugins/wallacemaxters-image-color-picker.md b/content/plugins/wallacemaxters-image-color-picker.md new file mode 100644 index 000000000..ff686e5f9 --- /dev/null +++ b/content/plugins/wallacemaxters-image-color-picker.md @@ -0,0 +1,14 @@ +--- +name: Image Color Picker +slug: wallacemaxters-image-color-picker +author_slug: wallacemaxters +categories: [form-field] +description: Custom field to pick color from a image. +discord_url: https://discord.com/channels/883083792112300104/1320486702506315786 +docs_url: https://raw.githubusercontent.com/wallacemaxters/filament-image-color-picker/refs/heads/master/README.md +github_repository: wallacemaxters/filament-image-color-picker +has_dark_theme: true +has_translations: false +versions: [3] +publish_date: 2024-12-22 +--- diff --git a/database/migrations/2024_12_04_133715_update_themes_starrable_id.php b/database/migrations/2024_12_04_133715_update_themes_starrable_id.php new file mode 100644 index 000000000..db3d81fa4 --- /dev/null +++ b/database/migrations/2024_12_04_133715_update_themes_starrable_id.php @@ -0,0 +1,17 @@ +where('starrable_id', 'filament-minimal-theme') + ->update(['starrable_id' => 'filament-themes']); + } +}; diff --git a/docs/dist/1.x/admin/dashboard/index.html b/docs/dist/1.x/admin/dashboard/index.html index da2d20bbf..0eb1bd6fa 100644 --- a/docs/dist/1.x/admin/dashboard/index.html +++ b/docs/dist/1.x/admin/dashboard/index.html @@ -27,7 +27,7 @@ - +