Repository navigation
Conversation
With no given name set, the knowledge graph labelled the user's node with a
hardcoded English 'Me' in every locale (memories page and the onboarding
step that embeds it). Fall back to the existing localized 'you' string
instead ('Tú', 'Sie', ...). The backend's English 'me' / 'the user' labels
still identify the user node, so graph merging is unchanged.
Fixes BasedHardware#19246
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015S9js5tD3f2MwYtP3zj8GY
1 task
There was a problem hiding this comment.
All reported issues were addressed across 3 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Review follow-up: the localized 'you' fallback was also added to the labels that identify the user's node, so with no given name a concept node reading e.g. 'tú' would merge into it. Match only the backend's 'me' / 'the user' labels and a set given name, as before; the fallback is display-only. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015S9js5tD3f2MwYtP3zj8GY
Contributor
Author
|
Good catch, fixed in 7aaf137: the localized fallback is now display-only; only the backend labels and a set given name identify the user node. Added a test. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #19246.
What
With no given name set, the knowledge graph (Memories page and the onboarding step that embeds it) labelled the user's own node with a hardcoded English
'Me'in all 49 locales. It now falls back to the existing localizedyoustring, so Spanish showsTú, GermanSie, and so on. A set given name is still used, trimmed.The backend's English
me/the userlabels still identify the user node, so graph merging is unchanged. Only the displayed label changes.Verification
flutter test test/widgets/memory_graph_empty_state_test.dart: 6 passed. Two new cases cover the localized fallback (es / de / en) and a given name.flutter analyzeon both changed files: no new issues. The two remaining infos are pre-existingshareXFilesdeprecations.python3 .github/scripts/pr_preflight.py --lane local --base upstream/main: all checks pass.Product invariants affected
INV-MEM-1: touched only becauseapp/lib/pages/memories/is under its paths. This change alters the display label of the graph's user node. It does not touch memory tiers, collections or access.Failure class (fixes)
Failure-Class: none
This is a pre-existing hardcoded literal. New ones in changed
app/libfiles are already rejected by the INV-UI-3mobile-ux-contractratchet, so no new class or guard is needed.