From a81110003836e4677a93e203faec715e3c9862c1 Mon Sep 17 00:00:00 2001 From: pa Date: Wed, 25 Mar 2026 21:04:54 +0900 Subject: [PATCH] feat: Add context menu to mutual friends graph nodes --- src/localization/en.json | 4 + src/views/Charts/components/MutualFriends.vue | 73 ++++++++++++++++--- 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/src/localization/en.json b/src/localization/en.json index 9cbdb763..dfce9e9a 100644 --- a/src/localization/en.json +++ b/src/localization/en.json @@ -565,6 +565,10 @@ "exclude_friends": "Exclude friends", "exclude_friends_placeholder": "Select friends to exclude", "exclude_friends_help": "Selected friends will be hidden from the graph." + }, + "context_menu": { + "view_details": "View Details", + "hide_friend": "Hide from Graph" } }, "hot_worlds": { diff --git a/src/views/Charts/components/MutualFriends.vue b/src/views/Charts/components/MutualFriends.vue index 17543c1c..16cf4ed3 100644 --- a/src/views/Charts/components/MutualFriends.vue +++ b/src/views/Charts/components/MutualFriends.vue @@ -46,9 +46,9 @@
{{ - item.user.displayName - }} + :style="{ color: item.user.$userColour }" + >{{ item.user.displayName }}