refactor(architecture): RSC 경계 축소, 테마 로직 통합, 공유·검색·진행바 안정성 개선 - #85
Merged
Conversation
- ProfileSidebar를 서버 컴포넌트로 전환하고 모바일 토글·검색 폼만 클라이언트 섬으로 분리 - 테마 판별/적용 4중 구현을 features/theme/theme-controller로 통합 - PostShare 서버화, 클립보드 실패 처리 추가, Kakao SDK에 SRI 적용, 아이콘 버튼 cva 통합 - ReadingProgressBar를 rAF 스로틀 + scaleX 트랜스폼으로 전환 - 검색 발췌 numeric entity 디코딩 보강 - RSS pubDate를 KST 기준으로 정합, 미사용 export 정리 Co-Authored-By: Claude Fable 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.
개요
전체 아키텍처 리뷰에서 도출된 우선순위 6건을 적용합니다. 구조적 개선 위주이며 화면 마크업·동작은 유지됩니다.
변경 사항
sidebar-mobile-disclosure)과 검색 폼(sidebar-search-form)만 클라이언트 섬으로 분리. 모든 페이지의 하이드레이션 범위 축소.features/theme/theme-controller로 단일화. 부트스트랩 스크립트의 유효 모드 목록도THEME_MODES에서 직렬화해 드리프트 차단.<script>에 SRI(integrity+crossorigin) 적용(해시는 CDN 파일에서 직접 계산해 검증), size-9 아이콘 버튼 6중 복제를icon-actioncva로 통합.width애니메이션을 rAF 스로틀 +transform: scaleX()로 전환해 컴포지터 전용 경로로 변경.'/ 지원, 범위 밖 코드포인트는 원문 유지.pubDate를 발행 게이트와 동일한 KST 자정 기준으로 정합, 미사용 export(getLatestPostsFromDirectory,getThemeClassName) 제거.검증
pnpm typecheck/pnpm lint통과pnpm test30파일 215개 통과 (theme-controller 4건, 검색 엔티티 1건 신규)pnpm build정적 export + pagefind 색인 성공🤖 Generated with Claude Code