[#199] HomeView에서 TodayView와 겹치는 기능을 제거하고 새로운 기능을 추가한다#204
Conversation
opficdev
commented
Mar 6, 2026
- closed HomeView에서 TodayView와 겹치는 기능을 제거하고 새로운 기능을 추가한다 #199
Summary of ChangesHello, 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는 HomeView의 핵심 기능을 재정의하여 사용자 경험을 개선하고 코드의 응집도를 높이는 데 중점을 둡니다. 기존의 '중요 표시된 Todo' 기능을 '최근 수정된 Todo'로 대체함으로써, 사용자가 가장 최근에 작업한 항목들을 HomeView에서 바로 확인할 수 있도록 했습니다. 또한, 태그 표시 로직을 Highlights
Changelog
Activity
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.
Code Review
이번 PR은 HomeView의 '중요 표시' 섹션을 '최근 수정' 섹션으로 대체하는 변경 사항을 담고 있습니다. PinnedTodoItem이 제거되고 RecentTodoItem이 추가되었으며, 관련 ViewModel 로직도 수정되었습니다. 또한, 태그 UI를 위한 TagLayout이 TagList라는 재사용 가능한 컴포넌트로 리팩토링되어 코드의 가독성과 유지보수성이 향상되었습니다. 전반적으로 좋은 변화이지만, HomeViewModel에서 코드 중복, 매직 넘버 사용, 그리고 새로 생성된 항목이 목록에 표시되지 않을 수 있는 잠재적 로직 오류 등 몇 가지 개선점을 발견하여 리뷰 코멘트를 남겼습니다. 확인 부탁드립니다.
| try await upsertTodoUseCase.execute(todo) | ||
| let page = try await fetchRecentTodos() | ||
| let items = page.items | ||
| .filter { $0.createdAt != $0.updatedAt } |
There was a problem hiding this comment.
| let page = try await fetchRecentTodos() | ||
| let items = page.items | ||
| .filter { $0.createdAt != $0.updatedAt } | ||
| .prefix(5) |
| let page = try await fetchRecentTodos() | ||
| let items = page.items | ||
| .filter { $0.createdAt != $0.updatedAt } | ||
| .prefix(5) | ||
| .map { RecentTodoItem(from: $0) } | ||
| send(.fetchRecentTodos(items)) |