feat(ios-scanner): 読取フローをデンソーのかんばんに対応させる (#108) - #115
Merged
Merged
Conversation
The view model formats part numbers with the session's destination (6-4 for Denso, 4-2-4 / 4-2-3 otherwise) in the accepted-QR message, the result view and the recorded code, adds the Denso sample payloads and simulator-only mock buttons, and documents that Denso shares the QR-only duplicate rule and per-part box count with Sawai. Flow, store and UI tests cover match, second kanban, duplicate rescan, the destination lock in both directions and the 6-4 tag rejection. Refs #108
rimtty
force-pushed
the
codex/denso-ios-scanner
branch
from
September 7, 2026 12:56
efbffa1 to
f7ba803
Compare
This was referenced Sep 7, 2026
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 #108 (parent #106). Builds on #113.
変更
ScannerViewModel: 品番表示をセッションの仕向地で整形(デンソーは6-4、受理メッセージ・結果表示・履歴のcode)。QR / Code 128 のゲートは feat(matching): 共通フィクスチャと照合コアに仕向地「デンソー」を追加する (#107) #113 のDestination.detect/isValidScanPayload(_:destination:)経由なので変更なし。デンソーのサンプル定数を追加(起動引数は増やさない)。ScannerScreen: 結果ビューの品番 4 箇所を仕向地付きで整形。シミュレータ限定のモックボタンdemoBluetoothDensoQRButton/demoBluetoothDensoBarcodeButton(モックQR(デンソー)/モックCode 128(デンソー)、ja/en)。HistoryStore: コメントのみ(デンソーは澤井製作所と同じ QR 全文の重複経路、品番ごとの N 箱目)。テスト
BluetoothScannerFlowTests+10(一致・2 箱目・同一かんばん再読取の重複・デンソーロック時の澤井/モルテン拒否・澤井セッションでのデンソー拒否・澤井/モルテンでの6-4拒否・順序違い・ロック復元・不一致非記録・カメラ経路の品目番号 860150-7722)、HistoryStoreTests+2、CodeMatchUITests.testMockBluetoothScannerDensoFlowLocksDestinationCodeMatchTests: 153 tests, 0 failures。新 UI テストと既存のモルテン UI テストがシミュレータで緑。🤖 Generated with Claude Code