Paul Bob

Results 59 issues of Paul Bob

### Feature Implement `association` option that allow specifying the association target for an association filed. ```ruby with_options as: :has_many do field :users, scope: -> { query.non_admins } field :admins, association:...

Enhancement
Feature

### Describe the bug If `search?` policy return false or isn't defined the search bar still visible returning empty results This can be confusing to debug, if an user is...

Bug
Help wanted
Task

# Description Fixes #2559 # Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas...

Feature

# Description Fixes #2161 # Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas...

Feature

# Description # Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [...

Fix

# Description Fixes #1418 ## Breaking changes - `Avo::BaseResource` -> `Avo::Resources::Base` - `Avo::Resources::ActiveRecord` will replace the old `Avo::BaseResource`, now `Avo::Resources::Base` will keep what's shared by all resources types. - `Avo::ResourcesController`...

Feature
Stale exempt
Task

### Feature Add the possibility to add a sidebar to a `has_many` field panel. ### Current workarounds ```ruby panel do field :posts, as: :has_many sidebar panel_wrapper: false do tool Avo::ResourceTools::SidebarTool,...

Help wanted
Task

### Describe the bug When using `display_fields` and `form_fields` or any of the `*_fields` API the `preview` field do not fetch the fields properly. This happens due the lack of...

Bug

### Feature More context here https://github.com/avo-hq/avo/issues/2455 `use_resource` option should allow Procs, example: ```ruby field :comments, as: :has_many, use_resource: -> { current_user.is_admin? ? Avo::Resources::Comment : Avo::Resources::PhotoComment } ``` ### Current workarounds...

Help wanted
Good first issue
Feature

### Feature Some context [here](https://github.com/avo-hq/avo/issues/2443). The `self.index_query` block isn't executed when a table is rendered from an association field. It should be called always when a index resource is loading....

Enhancement
Help wanted
Good first issue
Feature