시뮬레이션 모드, guide 수정#67
Merged
Merged
Conversation
- PolicyMonitorTable의 Settle Claim/NoClaim 버튼이 mode 분기 없이 on-chain 경로만 타서 simulation 모드에서 'Wallet or master agreement not available' 토스트 후 상태가 변하지 않던 문제. mode === 'simulation' 분기를 추가하여 신규 store 액션 simSettleClaim/simSettleNoClaim 호출. - runOracle이 'On Time' 입력(delay<120) 시 contract 상태를 갱신하지 않아 'No trigger' 표시 후에도 contract.status가 'active'로 잔존하던 문제. on-chain onChainResolve와 동일하게 contract를 'noClaim'으로 전이시키도록 수정. contract 검증을 tier 분기보다 앞으로 이동. - 부수 결함: settleClaims가 claim만 'settled'로 바꾸고 contract는 'claimed' 잔존시키던 문제 수정. PolicyMonitorTable에서 Settle 버튼이 사라지지 않던 원인. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- store partialize의 simulation 분기에 진행 상태(processStep, masterActive, contracts/claims/acc/pool/premHist/poolHist 및 participants/reinsurer의 confirmed)를 모두 영속화. 새로고침 후에도 사용자의 시뮬레이션 진행이 유지됨. - persist version 1 + migrate 함수 추가. 이전 mixed-format 사용자의 stale 진행 상태를 1회 정리하여 새 스키마와 충돌 방지. - AdminHeader 우측 SIM 토글 옆에 'Sim Reset' 버튼 노출(simulation 모드 전용). 클릭 시 confirm 다이얼로그 → resetAll() 호출 → workflow + form + contracts + claims + pool + logs 전부 기본값으로 초기화. on-chain 모드에선 자동 숨김. - i18n 신규 키: header.simReset.btn, header.simReset.confirm (ko/en 양쪽 추가). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
목적
주요 변경사항