Merge pull request #1671 from bugbug11111/feat/search-highlight

feat(accounts): Highlight matching activity search text in entry names
This commit is contained in:
Sure Admin (bot)
2026-05-05 12:21:34 +02:00
committed by GitHub
5 changed files with 18 additions and 8 deletions

View File

@@ -29,10 +29,10 @@
<div class="space-y-0.5">
<div class="flex items-center gap-1 min-w-0">
<div class="truncate flex-shrink">
<%= link_to entry.name,
<%= link_to(highlight_activity_entry_name(entry.name),
entry_path(entry),
data: { turbo_frame: "drawer", turbo_prefetch: false },
class: "hover:underline" %>
class: "hover:underline") %>
</div>
<div class="flex items-center gap-1 flex-shrink-0">