Open yuki-yogi opened 2 weeks ago
Hello @yuki-yogi this is not a bug, it's more lack of a feature.
As we mention in the documentation the def cards
method on the resource only accepts cards for now.
Hello @Paul-Bob Thank you for your confirmation!
In the document below, it is described as if the divider
can be used within Resources, so it might be clearer if this is corrected.
https://docs.avohq.io/3.0/cards.html#dividers
On Resources
class Avo::Resources::User < Avo::BaseResource def cards card Avo::Cards::ExampleColumnChart card Avo::Cards::ExamplePieChart card Avo::Cards::ExampleBarChart divider label: "Custom partials" card Avo::Cards::ExampleCustomPartial card Avo::Cards::MapCard end end
so it might be clearer if this is corrected.
Thanks for pointing that out!
Agree! I'm removing it until the support is added
This issue has been marked as stale because there was no activity for the past 15 days.
Describe the bug
divider in resource cards does not work
The divider on the dashboard cards is working as expected
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior & Actual behavior
Models and resource files
System configuration
Avo version: 3.12.0
Rails version: 7.2.1
Ruby version: 3.3.4
License type:
Are you using Avo monkey patches, overriding views or view components?
Screenshots or screen recordings
Additional context
Impact
Urgency