Skip to content

[Refactor] Scaffold 공통 + 스크롤 #530#531

Merged
edv-Shin merged 2 commits into
devfrom
refactor/scaffold-and-scroll
Jun 20, 2026
Merged

[Refactor] Scaffold 공통 + 스크롤 #530#531
edv-Shin merged 2 commits into
devfrom
refactor/scaffold-and-scroll

Conversation

@edv-Shin

@edv-Shin edv-Shin commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

ex) #이슈번호, #이슈번호

#530

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

공통 화면 골격 컴포넌트를 도입하고, 스크롤 누락 6개 화면에 적용했습니다

  • UndabangScaffold 신규 (presentation/.../components/layout/Scaffold.kt)
    • Material3 Scaffold 기반, containerColor 기본값 ColorWhite300
    • topBar / bottomBar 슬롯 + 시스템 바·키보드 인셋 자동 분배
  • 스크롤 누락 6개 화면에 적용
    • SettingScreen, NotificationScreen
      • Column에 verticalScroll 단순 추가
    • PermissionScreen, MatchingGuideScreen, ExercisePlaceRegisterScreen
      • 하단 PrimaryButton을 bottomBar 슬롯으로 이동
      • 본문 Column에 verticalScroll
    • TermsScreen
      • 약관 두 줄 + 확인 버튼을 bottomBar 슬롯으로 묶음 (작은 디바이스에서 약관·버튼이 잘리지 않게)
      • 본문은 타이틀만

기존 Compose 화면 전체를 Scaffold로 일괄 전환하는 작업은 후속 PR로 분리했습니다

스크린샷 (선택)

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

- UndabangScaffold 신규 (presentation/compose/components/layout/Scaffold.kt)
  - Material3 Scaffold 기반, containerColor 기본값 ColorWhite300
  - topBar / bottomBar 슬롯 + 시스템 바·키보드 인셋 자동 분배
- verticalScroll 누락 6개 화면에 적용
  - SettingScreen, NotificationScreen
    - Column에 verticalScroll 단순 추가
  - PermissionScreen, MatchingGuideScreen, ExercisePlaceRegisterScreen
    - 하단 PrimaryButton을 bottomBar 슬롯으로 이동
    - 본문 Column에 verticalScroll
  - TermsScreen
    - 약관 두 줄 + 확인 버튼을 bottomBar 슬롯으로 묶음 (작은 디바이스에서 약관·버튼이 화면 밖으로 잘리지 않게)
    - 본문은 타이틀만

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@edv-Shin edv-Shin self-assigned this Jun 15, 2026
@edv-Shin edv-Shin changed the title [Refactor] UndabangScaffold 공통 wrapper + verticalScroll 6개 화면 #530 [Refactor] Scaffold 공통 + 스크롤 #530 Jun 15, 2026
- 같은 SettingMenuItem 호출 8번을 SettingMenuItemData 리스트로 묶어 LazyColumn으로 그림
- 기존 항목별 파라미터(iconRes/labelRes/onClick/trailingText/showDivider)는 data class로 보존
- 셀프 코드리뷰 반영

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@edv-Shin edv-Shin force-pushed the refactor/scaffold-and-scroll branch from 410413e to 13b4d01 Compare June 20, 2026 05:31
@edv-Shin edv-Shin merged commit 0a09f56 into dev Jun 20, 2026
1 check passed
@edv-Shin edv-Shin deleted the refactor/scaffold-and-scroll branch June 20, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant