diff --git a/src/localization/en.json b/src/localization/en.json index b75e6d08..27ef38eb 100644 --- a/src/localization/en.json +++ b/src/localization/en.json @@ -299,7 +299,7 @@ } }, "mutual_friend": { - "tab_label": "Mutual Friend", + "tab_label": "Mutual Friend Network", "actions": { "start_fetch": "Start Fetch", "fetch_again": "Fetch Again", @@ -314,8 +314,8 @@ "no_relationships_discovered": "No relationships discovered" }, "prompt": { - "title": "Mutual Friend Graph", - "message": "No cached mutual friend graph data was found. Start fetching now? This may take a while, we will notify you when it is finishes", + "title": "Mutual Friend Network", + "message": "No cached mutual friend data was found. Start fetching now? This may take a while, we will notify you when it is finishes", "confirm": "Start Fetch", "cancel": "Maybe Later" }, @@ -324,9 +324,9 @@ }, "notifications": { "start_fetching": "Start fetching", - "mutual_friend_graph_ready_title": "Mutual Friend Graph", - "mutual_friend_graph_ready_message": "Mutual friend graph is ready", - "friend_list_changed_fetch_again": "Friend list changed. Please fetch the mutual graph again." + "mutual_friend_graph_ready_title": "Mutual Friend Network Graph", + "mutual_friend_graph_ready_message": "Mutual friend network graph is ready", + "friend_list_changed_fetch_again": "Friend list changed. Please fetch the mutual friend network again." }, "tooltip": { "mutual_friends_count": "Mutual friends: {count}", diff --git a/src/views/Charts/components/MutualFriends.vue b/src/views/Charts/components/MutualFriends.vue index 63087949..c241cd88 100644 --- a/src/views/Charts/components/MutualFriends.vue +++ b/src/views/Charts/components/MutualFriends.vue @@ -222,7 +222,7 @@ status.friendSignature = totalFriends.value; status.needsRefetch = false; } catch (err) { - console.error('[MutualGraph] Failed to load cached mutual graph', err); + console.error('[MutualNetworkGraph] Failed to load cached mutual graph', err); } } @@ -309,7 +309,7 @@ const mutuals = await fetchMutualFriends(friend.id); mutualMap.set(friend.id, { friend, mutuals }); } catch (err) { - console.warn('[MutualGraph] Skipping friend due to fetch error', friend.id, err); + console.warn('[MutualNetworkGraph] Skipping friend due to fetch error', friend.id, err); continue; } fetchState.processedFriends = index + 1; @@ -332,11 +332,11 @@ try { await persistMutualGraph(mutualMap); } catch (persistErr) { - console.error('[MutualGraph] Failed to cache data', persistErr); + console.error('[MutualNetworkGraph] Failed to cache data', persistErr); } hasFetched.value = true; } catch (err) { - console.error('[MutualGraph] fetch aborted', err); + console.error('[MutualNetworkGraph] fetch aborted', err); } finally { isFetching.value = false; status.cancelRequested = false;