Commit caf750d
Feature/custom fields (#1001)
* initial commit
* Fix styling
* validation
* Fix styling
* new fieldtypes
* Fix styling
* Purge custom field values when a field group is deleted
* new fields
* repeater, groups, tabs
* validation
* Fix styling
* Fix styling
* flexible layout
* Fix styling
* Update README
* mprove builder MVP: tabs, validation, value migration, and admin UX
* fix fields
* fix color field
* fix date picker
* fix date time picker
* fix email field
* fix flexible content field
* fix group field
* Fix styling
* fix link field
* Fix styling
* fix message field
* fix number field
* fix password field
* fix radio button field
* fix range field
* fix repeater field
* Fix styling
* fix rich text field
* fix select field
* fix tab field
* fix time field
* Fix styling
* fix toggle field
* fix embed field
* Fix styling
* fix default value
* Add InteractsWithCustomFields for native model custom field access and API output
* Fix styling
* Add image custom field with media picker and usage tracking
* Fix styling
* Add gallery custom field with scoped media validation and picker isolation
* Fix styling
* Add file custom field and scope media picker lists by mime type
* update README
* update readme
* Add locale-aware translations for builder field definitions and values.
* Wire admin locale automatically for HasCustomFields resources.
* Gate custom field value locales by entity translatability
* Fix styling
* Make moox/builder integration optional via core bridge traits Consumers (item, record, draft) now use Moox\Core\Traits\HasCustomFields and InteractsWithCustomFields instead of depending on moox/builder directly. The core traits alias the real builder traits when the package is installed and fall back to empty stubs otherwise, mirroring the HasRolesTrait pattern. BaseResource provides a no-op customFieldComponents() so resource forms render without a fatal error when builder is absent.
* make builder optional
* Add configurable custom field table columns
* Add per-context visibility for builder fields and groups
* Add field group placement, layout widths and section markers
* Improve field builder UX in FieldGroupResource
* Add per-group column layout for field groups
* Add relation field type with entity linking, validation, and table columns
* Add conditional logic for builder field visibility
* Fix narrow tab rendering in compiled custom field forms
* Harden builder custom fields and trim dead code
* update readme
* Sanitize TipTap JSON rich text on persist via Filament
* Add field group definition import/export in admin
* Fix styling
* Add sortable and searchable relation field table columns
* Align field hint icons beside labels in admin forms
* Refine builder location conditions
* Improve builder field validation
* Fix styling
* improve color field
* Fix styling
* Refine builder table columns
* Fix stale assignment conditions when target entities change
* Harden builder definition imports
* Improve builder condition editor feedback
* Fix styling
* Refine builder conditions and validation workflows
* Fix styling
* Reduce builder query load for field groups and custom field resources.
* Fix location rules when record params are missing
* Harden builder validation rules and remove dead field-type APIs
* Add Quick Start onboarding section to builder README
* Remove deprecated ReflectionProperty::setAccessible call
* Skip Swiss German (gsw) variant during static data import
* Clean up user-session install defaults
* Add comprehensive builder test suite for custom fields runtime
* Fix styling
* Fix relation picker labels for translation-backed targets
* Document relation label resolution in builder README
* Fix relation column search for translation-backed targets
* Fix styling
* fix data import job
* Add record_status location rule for custom field groups
* Fix styling
* Fix empty taxonomy term options in location rule value select
* Add opt-in table filters for custom field list views
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix styling
* update readme and use more name field options
* Fix styling
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2fb48c3 commit caf750d
230 files changed
Lines changed: 34769 additions & 23 deletions
File tree
- packages
- builder
- config
- database
- migrations
- seeders
- resources
- css
- lang
- de
- en
- views
- forms/components
- livewire
- src
- Compiler
- Concerns
- Database/Eloquent
- Data
- Exceptions
- FieldTypes
- Capabilities
- Concerns
- Types
- Value
- Filament
- Actions
- Resources/Pages/Concerns
- Forms/Components
- Http
- Livewire
- Middleware
- Resources/Concerns
- Listeners
- Models
- Concerns
- Observers
- Plugins
- Registry
- Resources
- FieldGroupResource/Pages
- Concerns
- Services
- Support
- tests
- Feature
- Support
- Unit
- core/src
- Entities
- Traits
- data/src
- Filament/Resources
- Jobs
- devlink/config
- draft/src
- Models
- Resources
- full
- item
- database/seeders
- src
- Models
- Resources
- record/src
- Models
- Resources
- user-session
- config
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments