aloof-zebra-84085
12/15/2025, 11:36 AMdef cards
locations.each do |location|
card Avo::Cards::Sales::Timeline, some_param_here: location.id
end
end
We're already using a card with multiple locations inside that one timeline chart, but was curious if possible to do separate timelines per location.
Location Timeline 1
Location Timeline 2
Location Timeline 3miniature-optician-85831
12/15/2025, 11:36 AMloud-jewelry-99127
12/15/2025, 11:53 AMaloof-zebra-84085
12/15/2025, 11:55 AMaloof-zebra-84085
12/15/2025, 11:57 AMunknown keywords: :location_idaloof-zebra-84085
12/15/2025, 11:58 AMdef cards
Location.active_and_draft.each do |location|
card Avo::Cards::QueueSpotsTimelineChart, location_id: location.id
end
endaloof-zebra-84085
12/15/2025, 12:00 PMloud-jewelry-99127
12/15/2025, 12:50 PMloud-jewelry-99127
12/15/2025, 12:51 PMarguments for this use caseloud-jewelry-99127
12/15/2025, 12:51 PMruby
def cards
Location.active_and_draft.each do |location|
card Avo::Cards::QueueSpotsTimelineChart, arguments: { location_id: location.id }
end
endaloof-zebra-84085
12/15/2025, 2:19 PMloud-jewelry-99127
12/15/2025, 3:11 PM