From 1a34b7724bd0422a63d62b7f9d7568a27d9486cb Mon Sep 17 00:00:00 2001 From: Zihao Xu Date: Mon, 19 Jan 2026 04:45:44 -0800 Subject: [PATCH] feat(web): make avatar names in event log clickable (#41) When avatars overlap (e.g., during sparring, talking, dual cultivation), it's hard to click on them directly. This adds the ability to click on colored avatar names in the event panel to open their detail view. - Modify highlightAvatarNames to include data-avatar-id attribute - Add click event delegation in EventPanel - Add hover styles for clickable names --- web/src/components/panels/EventPanel.vue | 24 +++++++++++++++++++++++- web/src/utils/eventHelper.ts | 23 ++++++++++++++++------- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/web/src/components/panels/EventPanel.vue b/web/src/components/panels/EventPanel.vue index 210abdc..aa38dd3 100644 --- a/web/src/components/panels/EventPanel.vue +++ b/web/src/components/panels/EventPanel.vue @@ -1,12 +1,14 @@