fix:공고 리스트 / 공고 단지 / 교통노선 메인화면 노선 삭제#414
Merged
kyungchan3007 merged 1 commit intodevelopfrom Feb 21, 2026
Merged
Conversation
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.
#️⃣ Issue Number
#413
📝 요약(Summary) (선택)
임대 유형 색상 표시
• Given: 상세 정보의 임대 유형 문자열이 다양한 형태(공백/표기 차이)로 들어온다
• When: 화면에서 임대 유형 태그 색상을 계산한다
• Then: 유형 정규화 후 일관된 기준으로 색상이 매핑되어 잘못된 색상 표시가 줄어든다
2.상세 섹션 데이터 준비 상태
• Given: 상세 데이터 로딩과 카운트 동기화 로직이 화면 컴포넌트에 섞여 있다
• When: 상세 화면이 초기 로딩/갱신된다
• Then: ready 상태, 기본정보, 필터링 결과, 카운트 반영이 한 흐름으로 관리되어 로딩 타이밍 이슈가 줄어든다
3. 카드 열기/닫기 동작
• Given: 카드 확장 상태 제어가 컴포넌트 내부에 분산되어 있다
• When: 사용자가 카드 상세 열기/닫기를 반복한다
• Then: 토글 상태가 분리된 로직으로 안정적으로 유지되어 UI 상태 꼬임 가능성이 낮아진다
4.상세 시트(경로/주변/평형) 오픈
• Given: 상세 시트 오픈 조건과 상태 전환이 중복 구현되어 있다
• When: 사용자가 각 “자세히” 액션을 누른다
• Then: 유효한 대상일 때만 올바른 섹션으로 시트가 열려 잘못된 시트 오픈을 방지한다
5.교통 경로 바 비율 렌더링
• Given: 교통 경로 시간 비율 계산이 렌더링 코드와 결합되어 있다
• When: 여러 경로(0분 포함/다수 경로)가 표시된다
• Then: 0분 제외, 상위 경로 제한, 최소 비율 보정, 정규화가 일관 적용되어 바 UI가 깨지지 않는다
6.단지 정렬 토글/카운트 표시
• Given: 정렬 타입 전환과 카운트 포맷 로직이 화면에 직접 작성되어 있다
• When: 사용자가 정렬 기준을 전환한다
• Then: 정렬 상태와 표시값이 일관되게 유지되어 잘못된 텍스트/토글 동작 가능성이 줄어든다
7. 공통 UI 조각 재사용
• Given: 방타입/주변 개수/빈 상태/섹션 헤더 UI가 중복 정의되어 있다
• When: 카드 상세 UI를 렌더링한다
• Then: 공통 조각 재사용으로 화면 간 동작 차이와 유지보수 중 회귀 버그 위험이 줄어든다