From 6440dd3fac045f89e1e9c2f30f62704855aee30e Mon Sep 17 00:00:00 2001 From: Peter Ringelmann Date: Tue, 21 Jul 2026 18:27:41 +0200 Subject: [PATCH] feat(core): redesign unified search result presentation Signed-off-by: Peter Ringelmann --- apps/settings/lib/Search/SectionSearch.php | 4 +- core/src/components/AppIcon.vue | 6 +- .../components/UnifiedSearch/SearchResult.vue | 111 +++- .../UnifiedSearch/UnifiedSearchInput.vue | 23 +- .../UnifiedSearch/UnifiedSearchModal.vue | 511 ++++++++++++++---- core/src/services/UnifiedSearchController.ts | 39 +- core/src/services/UnifiedSearchService.js | 2 +- .../src/tests/components/SearchResult.spec.ts | 33 ++ .../tests/components/UnifiedSearch.spec.ts | 47 ++ .../components/UnifiedSearchInput.spec.ts | 12 + .../components/UnifiedSearchModal.spec.ts | 454 +++++++++++++++- .../services/UnifiedSearchController.spec.ts | 103 +++- core/src/views/UnifiedSearch.vue | 24 +- .../e2e/core/header-unified-search.spec.ts | 59 ++ .../support/sections/UnifiedSearchPage.ts | 29 + 15 files changed, 1283 insertions(+), 174 deletions(-) diff --git a/apps/settings/lib/Search/SectionSearch.php b/apps/settings/lib/Search/SectionSearch.php index aaffe6d52d8..e9f0da646f8 100644 --- a/apps/settings/lib/Search/SectionSearch.php +++ b/apps/settings/lib/Search/SectionSearch.php @@ -121,9 +121,7 @@ class SectionSearch implements IProvider { continue; } - // The section's own icon, falling back to a generic cog when it has none. - // These are dark monochrome glyphs; the client inverts them for dark - // themes via --background-invert-if-dark. + // The section's own icon, or a generic cog fallback. $icon = $section->getIcon(); if ($icon === '') { $icon = $this->urlGenerator->imagePath('settings', 'settings.svg'); diff --git a/core/src/components/AppIcon.vue b/core/src/components/AppIcon.vue index 5209b581d7f..d215e332948 100644 --- a/core/src/components/AppIcon.vue +++ b/core/src/components/AppIcon.vue @@ -19,7 +19,7 @@