Repository navigation
[Fix/#227] 홈 로고·당겨서 새로고침과 게시판 목록 간격 정리 - #228
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
github-actions
Bot
requested review from
jjunh33,
sangrae2325,
tnals0924 and
xeoxxn
November 16, 2026 09:15
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.
#️⃣연관된 이슈
🎯 해결하려는 문제가 무엇인가요?
❓ 왜 해결해야 하나요?
홈은 대여·신청 현황을 확인하는 화면이라, 앱을 껐다 켜지 않고도 최신 상태로 다시 받을 방법이 필요합니다. 로고·당겨서 새로고침은 사용자가 흔히 기대하는 동작입니다. 목록 간격과 말줄임은 QA에서 지적된 부분입니다.
⭐ 어떻게 해결했나요?
6cc191f)resetQueries). 새로고침한 것처럼 보이게 받는 동안 섹션마다 스켈레톤이 뜹니다. 화면이 캐시 key를 모르게homeQueries.ts에useRefreshHomeQueries로 두었습니다.features/home/hooks/useHomePullToRefresh.ts에서 처리합니다.useLockersPinchZoom과 같은 방식). 스크롤 영역(헤더 포함)이 내려오고, 위에 드러나는 자리에 WDSLoading이 펼쳐집니다.touchmove리스너를{ passive: false }로 직접 답니다. 스크롤 영역에overscroll-y-contain을 줘서 Android Chrome의 당겨서 새로고침과 겹치지 않게 했습니다.227222e): 공지 목록 카드 사이·위아래 여백, 열린피드백 필터와 목록 사이를 16 → 12로 줄였습니다.ad241a1): 공지 카드 글 칸에min-w-0을 줘서 썸네일 앞에서 제목이 말줄임되게 했고, 제목·썸네일 사이에 12 간격을 뒀습니다(Figma는 제목이 짧아 간격이 없습니다).🧩 이 PR의 한계 & 트레이드오프
⛓️ 기존 기능에 미치는 영향
overscroll-y-contain이 붙어 스크롤 끝에서 바깥으로 스크롤이 이어지지 않습니다(바깥은 스크롤되지 않는 레이아웃이라 보이는 차이는 없습니다).🔀 Edge Case & 실패 시나리오
📋 검토한 대안과 선택 이유
invalidateQueries): 새로고침된 티가 나지 않아서, 스켈레톤이 보이도록 비우고 받는 방식으로 바꿨습니다.location.reload): 앱 전체를 다시 불러와 흰 화면이 깜빡여서 쓰지 않았습니다.💬 리뷰 포인트
[c]타입 검사(tsc -b)와 Biome 검사를 통과했습니다. 헤드리스 Chromium(모바일·터치 흉내, API는 1초 지연 가짜 응답)에서 당기기·로고 새로고침 때 스피너와 스켈레톤이 뜨고 세 조회를 다시 받는 것을 확인했습니다. 실제 기기(iOS WebView)에서의 손맛은 한 번 봐 주세요.Loading은size를 단위 없이 CSS에 넣어서 숫자를 주면 크기가 0이 됩니다."24px"처럼 단위를 붙여야 합니다.