Skip to content

강의 상세 및 검색 입력 동작 개선#629

Merged
JuTaK97 merged 2 commits into
developfrom
fix/search-and-lecture-detail-interactions
Jul 10, 2026
Merged

강의 상세 및 검색 입력 동작 개선#629
JuTaK97 merged 2 commits into
developfrom
fix/search-and-lecture-detail-interactions

Conversation

@qdrptd

@qdrptd qdrptd commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

변경 내용

  • LectureDetail 화면에서 강의계획서/강의평 버튼 영역이 편집 모드 전환 시 세로 방향으로 접히고 펼쳐지도록 수정했습니다.
  • 시간/장소 세션이 없는 강의는 조회 모드에서 시간/장소 섹션과 지도를 숨기고, 편집 모드 진입 시 해당 섹션이 AnimatedVisibility로 나타나도록 수정했습니다.
  • 검색 화면에서 X 버튼으로 검색어를 지우거나 좌측 돋보기 버튼으로 검색할 때, 키보드 Search 엔터와 동일하게 포커스를 해제해 키보드가 닫히도록 수정했습니다.

변경 이유

  • LectureDetail 하단 버튼 영역은 편집 모드 전환 시 강의평점 영역과 다른 방식으로 애니메이션되어 화면 전환감이 어색했습니다.
  • 실제 시간/장소 정보가 없는 강의에서도 빈 시간/장소 섹션이 노출될 수 있었습니다.
  • 검색어 clear 및 검색 아이콘 클릭은 검색 실행/입력 종료 동작임에도 키보드가 남아 있어 IME Search 동작과 일관되지 않았습니다.

영향

  • 강의 상세 화면의 편집 모드 전환 애니메이션이 더 일관되게 동작합니다.
  • 시간/장소 정보가 없는 강의의 상세 화면에서 불필요한 빈 섹션이 사라집니다.
  • 검색 화면에서 검색어 삭제 및 검색 아이콘 클릭 후 키보드가 자연스럽게 닫힙니다.

검증

  • GRADLE_USER_HOME=/private/tmp/gradle ./gradlew :app:compileLiveDebugKotlin

@qdrptd
qdrptd marked this pull request as ready for review July 4, 2026 06:42
@qdrptd
qdrptd requested a review from a team as a code owner July 4, 2026 06:42
Copilot AI review requested due to automatic review settings July 4, 2026 06:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

이 PR은 강의 상세(LectureDetail) 화면의 편집 모드 전환 애니메이션/노출 조건을 정리하고, 검색 화면에서 검색 실행/검색어 삭제 시 키보드가 닫히도록(포커스 해제) 동작을 통일하기 위한 UI 동작 개선입니다.

Changes:

  • 검색 TopBar에서 검색 아이콘 클릭 및 검색어 삭제(X) 클릭 시 포커스를 해제하여 IME Search와 동일하게 키보드가 닫히도록 수정
  • 강의 상세에서 시간/장소 세션이 없을 때 조회 모드에서는 시간/장소 섹션+지도를 숨기고, 편집 모드 진입 시 AnimatedVisibility로 섹션이 나타나도록 변경
  • 강의계획서/강의평 버튼 영역이 편집 모드 전환 시 세로 방향으로 접히고 펼쳐지도록 expandVertically/shrinkVertically 적용

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
app/src/main/java/com/wafflestudio/snutt2/feature/search/SearchScreen.kt 검색 아이콘/클리어(X) 동작에서 포커스를 해제해 키보드를 닫도록 처리
app/src/main/java/com/wafflestudio/snutt2/feature/lecturedetail/LectureSessionSection.kt 세션이 없고 조회 모드일 때 시간/장소 섹션 자체를 렌더링하지 않도록 가드 추가
app/src/main/java/com/wafflestudio/snutt2/feature/lecturedetail/LectureDetail.kt 시간/장소+지도 영역을 AnimatedVisibility로 감싸 조회/편집 모드 및 세션 유무에 따라 노출 제어
app/src/main/java/com/wafflestudio/snutt2/feature/lecturedetail/LectureActionButtons.kt 강의계획서/강의평 버튼 영역에 세로 expand/shrink 애니메이션 적용

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@qdrptd
qdrptd force-pushed the fix/search-and-lecture-detail-interactions branch from e5015ee to ba26c2f Compare July 4, 2026 07:00
@qdrptd
qdrptd force-pushed the fix/search-and-lecture-detail-interactions branch from ba26c2f to 5353ff0 Compare July 4, 2026 07:42

@JuTaK97 JuTaK97 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gogo

@JuTaK97
JuTaK97 merged commit 18ce1dd into develop Jul 10, 2026
2 checks passed
@JuTaK97
JuTaK97 deleted the fix/search-and-lecture-detail-interactions branch July 10, 2026 01:04
@JuTaK97 JuTaK97 mentioned this pull request Jul 10, 2026
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.

3 participants