Skip to content

Add divider support in resource def cards #3241

Open
@yuki-yogi

Description

@yuki-yogi

Describe the bug

  • divider in resource cards does not work
NoMethodError - undefined method `use' for nil:
  app/avo/resources/**.rb:**:in `cards'
  • The divider on the dashboard cards is working as expected

Steps to Reproduce

Steps to reproduce the behavior:

  1. using divider in resource cards
  2. See error

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:

  • Community
  • Pro
  • Advanced

Are you using Avo monkey patches, overriding views or view components?

  • Yes. If so, please post code samples.
  • No

Screenshots or screen recordings

Additional context

Impact

  • High impact (It makes my app un-usable.)
  • Medium impact (I'm annoyed, but I'll live.)
  • Low impact (It's really a tiny thing that I could live with.)

Urgency

  • High urgency (I can't continue development without it.)
  • Medium urgency (I found a workaround, but I'd love to have it fixed.)
  • Low urgency (It can wait. I just wanted you to know about it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNot necessarily a feature, but something has improvedStale exempt

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions