-
Notifications
You must be signed in to change notification settings - Fork 0
피드 상세에서 변경된 데이터를 수신하여 관련 UI 업데이트하도록 수정 #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary of ChangesHello @MTtankkeo, 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는 피드 상세 페이지에서 좋아요 수나 조회수와 같이 변경될 수 있는 피드 데이터를 실시간으로 UI에 반영하기 위한 아키텍처를 도입합니다. 새로운 Highlights
Using Gemini Code AssistThe 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
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 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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
이번 PR은 피드 상세 정보가 변경되었을 때 관련 UI를 업데이트하는 기능을 추가했습니다. 전반적으로 좋은 구현이지만, 몇 가지 개선점을 제안합니다. NotifierUtil에서 리스너 목록을 순회할 때 발생할 수 있는 동시성 문제를 해결하고, FeedMixin의 타입 안정성을 높이기 위해 제네릭 제약 조건을 추가했습니다. 또한, GrimityImageFeed 위젯이 새로운 feed 데이터로 업데이트될 때 리스너를 올바르게 관리하도록 didUpdateWidget 생명주기 메서드를 추가하는 것을 제안합니다. 이러한 변경 사항들은 코드의 안정성과 유지보수성을 향상시킬 것입니다.
|
@MTtankkeo
위 3가지 관련하여 의견 주시면 감사하겠습니다 ! |
|
@wonyong-park 2번의 경우는 어떻게 해야할지 잘 모르겠습니다용. 따로 좋은 방법이 없을까용? |
현재구조에서 어떻게할지 딱 정답이 안나오는거같은데 고민좀해보겠습니다 ! |
|
@wonyong-park 기존 NotifierUtil -> SyncUtil 으로 이름이 변경되었고 2번은 해결한 거 같습니다용, 시간 날 때 확인 바랍니다용. |
확인해봤는데 이슈가 있는 것 같습니다.
|
@MTtankkeo 참고사항
|
간단한 설명
피드 상세 페이지에서 변경된 피드 상세 정보(예: 좋아요, 조회수)를 ID 별로 수신하여 변경되면 관련 UI를 업데이트하도록 수정합니다용.