๐ BIG NEWS ๐ โฆ Avo 4 has officially SHIPPED โฆ ๐ the beta is over, 4.0 is here โฆ ๐ ๏ธ build admin panels, dashboards & internal tools at light speed โฆ โญ you are visitor #1,136,487 โฆ ๐ tell a friend โฆ best viewed in Ruby on Rails โฆ ๐ click here to see what’s new โฆ
Global Search
Find anything instantly with global search across all records and relationships. Save hours of manual lookup time.
# $20/mo
gem "avo-advanced_search"
Let anyone on your team jump to any record from anywhere in the app. Global
Search puts a command palette behind Cmd + K that searches across every Avo
resource at once, with a quick-results dropdown and a full results page, all
driven by the same self.search
config you already write on each resource.
Results are keyboard-first: arrow keys to move, Enter to open, Esc to close,
with matches highlighted as you type. Tune each result's title, description,
avatar, and destination through the resource's item
block, branch your query on the search_type
local so the palette searches differently from the index, and plug in custom
providers that return plain hashes instead of Active Record relations. It's a
gem you add, not a search UI you build and then keep wiring up as resources change.
See it in action
What you get
- Cmd + K command palette that searches every search-enabled resource at once
- Quick-results dropdown plus a dedicated full results page
- Keyboard navigation: arrow keys to move, Enter to open, Esc to close, with matches highlighted
-
Per-result title, description, avatar, image format (
:circle,:square,:rounded), and path via theitemblock -
search_typelocal (:global/:resource/:association) to scope the palette differently from index search - Custom search providers that return plain hashes instead of Active Record relations
-
hide_on_globalto keep a resource out of the palette while leaving its index search on
Why it pays off
- Ship a cross-resource command palette this afternoon instead of building the Hotwire dropdown, keyboard handling, and highlighting yourself.
-
Built on the same
self.searchconfig across the palette, index, and association pickers, so you write the query logic once, not three times. - Every Avo release makes it better: the search UI keeps working as you add resources and upgrade Avo, without you patching it.
- One less internal tool for your team to design, document, and support.
# included in
# ready to ship?
You ship it this afternoon. We keep it solid for years.