Commit 072437b
feat(l10n): resolve literal keys, extract built-in views, and optimize query performance
- Add literal-as-key resolution in resolve_usage: Text("Tournament") now
matches catalog records using the string literal as the localization key
- Extract LocalizedStringKey from built-in SwiftUI views (Button, Label,
Toggle, Section, etc.) instead of skipping them
- Pre-build wrapper binding node list to reduce candidate search from O(N)
to O(W) per usage node
- Resolve all usage nodes once instead of per-record in query_usages
- Add SqliteStore::load_filtered with edge kind filter and metadata prefix
to skip irrelevant edges and metadata during l10n queries
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent dbf7018 commit 072437b
6 files changed
Lines changed: 1211 additions & 28 deletions
File tree
- docs/superpowers/plans
- grapha-swift/src
- grapha/src
- query
- store
0 commit comments