[이슈 #44 자동] [FE] 기관 실명·지역 표기 제거 → 보건기관코드_en 표시로 전환 (#22 완료조건 이행) - #45
Draft
choigod1023 wants to merge 1 commit into
Draft
[이슈 #44 자동] [FE] 기관 실명·지역 표기 제거 → 보건기관코드_en 표시로 전환 (#22 완료조건 이행)#45choigod1023 wants to merge 1 commit into
보건기관코드_en 표시로 전환 (#22 완료조건 이행)#45choigod1023 wants to merge 1 commit into
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
6 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.
Description
기관 실명·지역(시도/시군구) 표시를 화면에서 제거하고 가명 기관코드(
institutionCode, backend 미제공 시institutionId로 폴백)만 표시하도록 전환했습니다. CSV 내보내기 헤더·검색 필터·정렬키도 함께 코드 기준으로 바꿨습니다.Related #44
Type
Screenshots
To Reviewer
이슈 #44 자동 구현 초안입니다 — 검토 후 머지해주세요.
app/lib/format.ts에institutionLabel(r)헬퍼 추가:institutionCode ?? institutionId ?? "-". backend가institutionCode를 내려주기 시작하면 자동으로 그쪽을 쓰게 됩니다(backend#75).app/page.tsx,app/inventory/page.tsx,app/alerts/page.tsx,app/order-recommendations/page.tsx에서institutionName/sido/sigungu표시를 전부 제거하고institutionLabel()로 교체했습니다.app/inventory/page.tsx: CSV 내보내기 헤더에서 기관명·시도·시군구를 빼고 "기관코드"로 대체, 검색 필터·placeholder("기관·지역" → "기관코드")·정렬키(institutionName→institutionCode)도 함께 바꿨습니다.app/alerts/page.tsx: 부족 현황 표에서 지역(sido/sigungu) 줄 제거, 처리 관리 표의 기관 열도 코드 기준으로 변경(전국/품목군 폴백은 유지).app/order-recommendations/page.tsx:institutionName ?? institutionId폴백에서 institutionName 참조 제거.institutionCode를 내려주지 않아 당장은institutionId(inst_XXXX)가 표시됩니다 — 이슈 본문의 "선반영 요청"대로, 실명 노출은 즉시 차단되고 backend#75 반영 후 자동으로 기관코드 표시로 승격됩니다.app/my/page.tsx(로그인한 기관 본인 대시보드),app/admin/page.tsx(관리자 계정 관리 화면의institutionName).tsc --noEmit무오류,next build성공 확인했습니다.PR Checklist
Generated by Claude Code