feat(android-history): 照合履歴をすべて JSON で共有する - #104
Merged
Merged
Conversation
- 履歴一覧のヘッダーに「照合履歴をすべて共有」(shareAllHistoryButton、履歴が無いときは無効) - HistoryJsonExporter: iOS と共通スキーマ(schemaVersion 1、ISO 8601 UTC、null 明示、ペイロード無加工)を手書き JSON で出力し cache/codematch-export/ に保存 - HistoryJsonBridge / HistoryRoute: FileProvider 経由の ACTION_SEND(application/json)、失敗時はスナックバー - file_paths.xml に専用の cache-path を追加し、verify-release-hardening.sh を 2 経路・2 エクスポータに厳密化 - テスト: HistoryJsonExporterTest 8 本、HistoryJsonBridgeTest 5 本、HistoryScreenTest 2 本(JVM 426 件、Pixel 7 15 件、release 検証成功)
7 tasks
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.
iOS 版(#102)と同じスキーマで照合履歴を一括共有する(#92 の実機確認用)。
shareAllHistoryButton、履歴が無いときは無効)。core/export/HistoryJsonExporter: 全セッションと記録をschemaVersion1 /platform/appVersion/exportedAt/sessions[](id/name/destination/startedAt/endedAt/entries[])で出力。日時は ISO 8601 UTC、欠損はnullを明示、ペイロードは末尾空白まで無加工。純 JVM で動くよう手書きの JSON ライタ。app:HistoryJsonBridgeがcache/codematch-export/に書き出し、FileProvider 経由でACTION_SEND(application/json)。失敗時はスナックバー。file_paths.xmlに専用cache-pathを追加し、verify-release-hardening.shは「cache-path は 2 つ・File(生成は 2 つのエクスポータのみ」に厳密化。確認:
lintDebug testDebugUnitTest assembleDebug :app:assembleRelease成功(JVM 426 件)、:feature:history:connectedDebugAndroidTestを Pixel 7 で 15 件成功、verify-release-hardening.sh成功。🤖 Generated with Claude Code