Skip to content

Conversation

@rhkrwngud445
Copy link
Contributor

작업 내용

중첩 스크롤 제거

확인 방법

FriendProfileScreen

참고 사항

버전코드 올린 커밋도 포함되어 있습니다!

관련 이슈

@rhkrwngud445 rhkrwngud445 linked an issue Oct 15, 2025 that may be closed by this pull request
@gemini-code-assist
Copy link

Summary of Changes

Hello @rhkrwngud445, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 Pull Request는 친구 프로필 화면에서 발생하던 중첩 스크롤 문제를 해결하여 사용자 인터페이스의 부드러움을 향상시키는 것을 목표로 합니다. 불필요한 스크롤 동작을 제거함으로써 사용자가 프로필 콘텐츠를 보다 직관적으로 탐색할 수 있도록 개선되었습니다. 또한, 애플리케이션의 버전 코드를 업데이트하는 변경사항도 포함되어 있습니다.

Highlights

  • 친구 프로필 화면의 중첩 스크롤 오류 수정: FriendProfileScreen에서 중첩 스크롤 동작을 유발하던 코드를 제거하여 사용자 경험을 개선했습니다.
  • 애플리케이션 버전 코드 업데이트: build.gradle.kts 파일에서 versionCode를 1에서 2로 업데이트했습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

이 PR은 친구 프로필 화면의 중첩 스크롤 오류를 수정하는 것을 목표로 하고 있네요. verticalScroll 수정자를 제거하여 문제를 해결하려는 접근은 올바르지만, 이로 인해 '프로필' 탭에서 스크롤이 동작하지 않는 부작용이 발생할 수 있습니다. 관련하여 '프로필' 탭이 독립적으로 스크롤되도록 수정하는 방안을 제안했습니다. 또한, 사용하지 않는 코드는 주석 처리하기보다 완전히 제거하여 코드 가독성을 높이는 것이 좋습니다. 전반적으로 좋은 수정이며, 제안된 내용을 반영하면 더 견고한 코드가 될 것 같습니다.

.align(Alignment.TopStart)
.fillMaxSize()
.verticalScroll(scrollState)
// .verticalScroll(scrollState)

Choose a reason for hiding this comment

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

high

중첩 스크롤 문제를 해결하기 위해 verticalScroll을 제거하는 것은 올바른 접근입니다. 하지만 이럴 경우 '프로필' 탭의 내용이 화면보다 길어지면 스크롤이 불가능해져 UI가 잘리는 문제가 발생할 수 있습니다.

RecordTabLazyVerticalGrid를 사용해 자체 스크롤이 되지만, ProfileTab은 일반 Column이므로 스크롤 기능이 필요합니다.

따라서 이 verticalScroll은 제거하고, ProfileTab 컴포저블 내부의 ColumnverticalScroll(rememberScrollState())를 추가하여 '프로필' 탭이 독립적으로 스크롤되도록 하는 것을 권장합니다. 이렇게 하면 두 탭 모두에서 올바른 스크롤 동작을 보장할 수 있습니다.

val currentTabPosition = remember { mutableIntStateOf(0) }
val dropdownState = remember { mutableStateOf(false) }
val scrollState = rememberScrollState()
// val scrollState = rememberScrollState()

Choose a reason for hiding this comment

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

medium

사용하지 않는 코드는 주석 처리하기보다 완전히 삭제하여 코드 가독성을 높이는 것이 좋습니다.

@rhkrwngud445 rhkrwngud445 merged commit 6c5517d into dev Oct 15, 2025
1 check passed
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.

[FIX] 친구 연락처 스크롤 오류

2 participants