Is there a way to show a badge on the grid index v...
# avo-2
q
Is there a way to show a badge on the grid index view? I'd love to be able to show a badge in the corner of each grid item so I can quickly see the state of each resource. It's possible on the table view but not the grid I think?
l
the short answer, there isn't a built-in way of doing that
you have two options : 1. duplicate
Avo::Index::GridItemComponent
and update it to fit your use-case 2. do that and open a PR for it (👈 the preferred version 😅)
we could add a
badge
option next to
cover
,
title
, and
body
I'm sorry, but we don't have the bandwidth to work on this ourselves. we are working on Avo 3 and we prioritize launching that
q
Thanks @lemon-wall-20836 !
l
if you need help with design, I can pitch in on the PR
3 Views