Coder Social home page Coder Social logo

filament-user-attributes's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar luttje avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

filament-user-attributes's Issues

Fix limitations on attribute inheritance

What feature would you like to see?

#4 implements the basics for attribute inheritance, but there's some limitations that must be fixed:

  • Right now the field to inherit from must have a user visible field in the related resource
  • At the moment this only works in Resource derived Resources (not in Livewire components)
  • This currently only works if the local resource has a field ({relation})_id that contains the id of the related model
  • For *Many relations this doesn't make sense, because which of the many should it inherit from. Should a filter be applied (e.g: First/last/where) or an aggregation (average/sum/min/max)?

Why do you want this feature?

It's too specific to our use-case at the moment, making this package less useful to developers.

Notes

We'll be testing this package in one of our products and identify improvements to be made.

Tests failing

Prefer-stable tests are failing.

Dependencies - Working Stable tests - a while back

https://github.com/luttje/filament-user-attributes/actions/runs/7322999652

filament/filament                 v3.1.28  A collection of full-stack compo...
filament/forms                    v3.1.28  Easily add beautiful forms to an...
filament/tables                   v3.1.28  Easily add beautiful tables to a...
laravel/framework                 v10.38.2 The Laravel Framework.
laravel/pint                      v1.13.7  An opinionated code formatter fo...
livewire/livewire                 v3.3.3   A front-end framework for Laravel.
nesbot/carbon                     2.72.1   An API extension for DateTime th...
nikic/php-parser                  v4.18.0  A PHP parser written in PHP
nunomaduro/collision              v7.10.0  Cli error handling for console/c...
nunomaduro/larastan               v2.7.0   Larastan - Discover bugs in your...
orchestra/testbench               v8.18.0  Laravel Testing Helper for Packa...
pestphp/pest                      v2.28.1  The elegant PHP Testing Framework.
pestphp/pest-plugin-arch          v2.5.0   The Arch plugin for Pest PHP.
pestphp/pest-plugin-laravel       v2.2.0   The Pest Laravel Plugin
pestphp/pest-plugin-livewire      v2.1.0   The Pest Livewire Plugin
phpstan/extension-installer       1.3.1    Composer plugin for automatic in...
phpstan/phpstan-deprecation-rules 1.1.4    PHPStan rules for detecting usag...
phpstan/phpstan-phpunit           1.3.15   PHPUnit extensions and rules for...
spatie/laravel-package-tools      1.16.1   Tools for creating Laravel packages
spatie/laravel-ray                1.33.0   Easily debug Laravel apps
Dependencies - Failing stable tests - current
filament/filament                 v3.2.43  A collection of full-stack compo...
filament/forms                    v3.2.43  Easily add beautiful forms to an...
filament/tables                   v3.2.43  Easily add beautiful tables to a...
laravel/framework                 v10.46.0 The Laravel Framework.
laravel/pint                      v1.14.0  An opinionated code formatter fo...
livewire/livewire                 v3.4.6   A front-end framework for Laravel.
nesbot/carbon                     2.72.3   An API extension for DateTime th...
nikic/php-parser                  v4.18.0  A PHP parser written in PHP
nunomaduro/collision              v7.10.0  Cli error handling for console/c...
nunomaduro/larastan               v2.9.2   Larastan - Discover bugs in your...
orchestra/testbench               v8.21.1  Laravel Testing Helper for Packa...
pestphp/pest                      v2.34.1  The elegant PHP Testing Framework.
pestphp/pest-plugin-arch          v2.7.0   The Arch plugin for Pest PHP.
pestphp/pest-plugin-laravel       v2.3.0   The Pest Laravel Plugin
pestphp/pest-plugin-livewire      v2.1.0   The Pest Livewire Plugin
phpstan/extension-installer       1.3.1    Composer plugin for automatic in...
phpstan/phpstan-deprecation-rules 1.1.4    PHPStan rules for detecting usag...
phpstan/phpstan-phpunit           1.3.16   PHPUnit extensions and rules for...
spatie/laravel-package-tools      1.16.2   Tools for creating Laravel packages
spatie/laravel-ray                1.35.1   Easily debug Laravel apps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.