https://avo.cool logo
```ruby section 'Boxes Configuration', icon: 'tool...
# general
h
Copy code
ruby
section 'Boxes Configuration', icon: 'tools' do
  resource :level_ones, label: SETTINGS[:levels][:one]
  resource :level_twos, label: SETTINGS[:levels][:two]
  resource :level_threes, label: SETTINGS[:levels][:three]
  resource :level_fours, label: SETTINGS[:levels][:four]
  resource :boxes
end
it changes the name in the menu, but doesn't reflect in other places like: - breadcrumb - page title - label in associations
l
this is interesting
never thought about it like that
having the sidebar section/group influence the breadcrumbs
h
basically, I have this system that can be used for multiple purposes
all of them case have 4 levels then a box
so if you want to use it, you can name them Level One -> Four
or you can name them: "Test 1" "Test2" etc...
in my case, it's a location thing, so Country, State, etc...
another thing on breadcrumbs, my
Level One
is under a group called `Boxes Configuration`; it's nice to have it in the breadcrumbs too
l
hmm, coould you post a real use-case for that? level_ones/twos/threes is a bit abstract
like you're using them
h
right now I'm using them as such:
Country
,
State
,
City
,
Location
but I have another person that wants to use them as
City
,
University
,
Degree
,
Year
maybe that's a really use-case specific thing, but
what if
someone wants it too
another thing, cause I haven't seen any example of it; can you add a dashboard on a model ?
let's say I'm an e-commerce store, and want to see the purchases on a specific category or product
instead of a global dashboard, I just want a dashboard for this specific thing I'm looking at right now
l
that's the "resource cards" feature which isn't ready yet
but you can hack it and add it yourself
or, we are open to contributions 🙂
h
💯
this is what I'm going to do
I'm just checking everything up to see how it works
l
here's a PR that I started on that https://github.com/avo-hq/avo/pull/791
h
I really like it tbh
l
it's about 80-90% there
I think we made a few changes to how dashboards work, but it should be straightforward to tweak it
h
is the main branch the one that you're building v3 with ?
l
no. brb. in a call right now
no, it's a different repo
a private one
h
makes more sense 😂
since I don't have access to it, check this comment , should be easy to add 🤝
l
haha. thanks!
2 Views