[codex] 优化位置调试与卡片地址规则#92
Merged
utopiafar merged 1 commit intoMay 15, 2026
Merged
Conversation
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.
背景
Closes #91。
位置上下文设置页原本在 GPS 成功但逆地理编码失败时只显示坐标,测试结果不够可诊断;同时 Card Agent 收到
current_location_context后,是否把当前位置写入卡片address的规则不够清晰,导致部分当下记录生成后格子上不显示位置。改动
save_timeline_card.address工具描述:current_location_context作为保守默认地址。验证
flutter pub getflutter gen-l10nflutter test --no-pub test/domain/models/location_context_config_test.dart test/ui/settings/location_context_settings_page_test.dartdart analyze lib/ui/settings/widgets/location_context_settings_page.dart test/ui/settings/location_context_settings_page_test.dartgit diff --check说明
本 PR 有意保持为最小改动,没有新增确定性
submission_location落盘字段。若后续观察到模型仍不能稳定填写address,再单独引入可测试的确定性落盘和派生规则。