diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-12 16:33:12 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-12 16:33:12 +0200 |
| commit | 4ec70e5ecf792a56e868538738d6c7f63bb6cf24 (patch) | |
| tree | 45364f298ce21a7e47de619b7db79b9b77e4ebc1 /public/stylesheets/admin.css | |
| parent | 5803c59192b7fb05840d0b452eb64d9f997f3d8f (diff) | |
Add a grouped tag+node search endpoint for the upcoming dashboard
AdminController#dashboard_search returns tags and nodes as separate,
labeled groups (via ActsAsTaggableOn::Tag.named_like and
Node.editor_search) rather than the flat per-node list every existing
picker returns. initSearchPicker gains a renderResults callback option
that, when given, replaces the default per-node rendering entirely --
lets the dashboard render its two labeled groups without a second,
parallel picker implementation.
resultsHeaderHtml (the "Press Enter to see all results" hint) is now
threaded through as a third argument to renderResults, so a picker with
custom rendering can still show it -- previously only the default
per-node branch ever did.
Tags link straight to the existing /admin/nodes/tags/:tag view rather
than becoming an in-place filter chip.
Diffstat (limited to 'public/stylesheets/admin.css')
| -rw-r--r-- | public/stylesheets/admin.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index da31535..ade3a62 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -1052,6 +1052,16 @@ div#draft_list table td.actions a { | |||
| 1052 | border-bottom: none; | 1052 | border-bottom: none; |
| 1053 | } | 1053 | } |
| 1054 | 1054 | ||
| 1055 | .search_results p.search_group_label { | ||
| 1056 | margin: 8px 0 2px; | ||
| 1057 | padding: 0; | ||
| 1058 | border-bottom: none; | ||
| 1059 | font-size: 0.75rem; | ||
| 1060 | color: #969696; | ||
| 1061 | text-transform: lowercase; | ||
| 1062 | font-weight: normal; | ||
| 1063 | } | ||
| 1064 | |||
| 1055 | /* ============================================================ | 1065 | /* ============================================================ |
| 1056 | Menu items (navigation editor) | 1066 | Menu items (navigation editor) |
| 1057 | ============================================================ */ | 1067 | ============================================================ */ |
