Repository navigation
Conversation
…ales Rebuild /markets as a sectioned report (overview and scopes, store counts, sales, customer mix, detailed-industry competition, source table) under a shared top tab bar. The report API now returns ADR 0002 provisional values (monthly sales, per-store monthly sales, average payment) with their basis links; they are shown next to the raw value and never stored or copied into plan assumptions. Co-Authored-By: Claude Opus 5.5 <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.
변경 내용
/markets를 보고서 형태로 다시 구성했습니다. 1 상권 개요와 집계 범위, 2 점포 현황, 3 매출 현황, 4 결제 고객 분석, 5 세부 업종 경쟁 점포, 6 분기별 원본 지표 순서입니다./api/markets/report응답에 ADR 0002 잠정 값(provisionalSales)을 추가했습니다. 계산은app/src/features/market/provisional.ts가 합니다.null입니다.plan_results에 저장하지 않고 재무 가정에 자동으로 넣지 않습니다.MARKET_LIMITATIONS와 매출 원값 지표 설명을 잠정 값 제공에 맞게 고쳤습니다. 이 문구는/api/industries·/api/markets/areas응답에도 나갑니다.app/src/components/ReportNav.tsx)과 억·만 단위 금액 표시 함수(app/src/lib/format-won.ts)를 추가했습니다.QuarterTrendChart.tsx와 관련 CSS를 지웠습니다.docs/domains/market.md,docs/PRODUCT.md(상권 분석 행, 제외 범위),docs/ARCHITECTURE.md(app/src/components위치)제공하지 않은 항목(공식 적재 자료가 없음): 주변 인프라, 상권 내 인기 업종 순위·업종 단계·업종 비중, 매출 상·중·하위 구간, 소비·메뉴 분석. 보고서 단위는 자치구가 아니라 상권입니다.
검증
npm --prefix app run verify:fast통과(이 commit만 있는 worktree에서 실행). Vitest 239 passed, 32 skipped. skipped는 테스트 DB·data/raw/원본이 필요한 테스트입니다.null, 금액 표시 문구.verify:db,verify:e2e. 로컬 Docker와 환경파일이 없었습니다. 실제 적재 데이터로 화면을 보지 못했습니다.위험·후속
provisionalSales필드가 추가되고limitations문구가 바뀝니다./funding보고서 PR이 쌓여 있습니다(같은 상단 탭·CSS 사용).🤖 Generated with Claude Code