[#156] TodoDetailView에서 dueDate를 보여주는 UI를 개선한다#157
Conversation
opficdev
commented
Mar 1, 2026
- closed TodoDetailView에서 dueDate를 보여주는 UI를 개선한다 #156
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는 TodoDetailView에서 할 일의 마감일과 태그 정보를 표시하는 사용자 인터페이스를 개선합니다. 기존에 본문에 직접 표시되던 마감일과 태그 정보를 별도의 정보 시트로 분리하여, 사용자가 필요할 때만 상세 정보를 확인할 수 있도록 변경했습니다. 또한, 툴바 버튼 컴포넌트를 재사용 가능한 형태로 분리하여 코드의 재사용성과 유지보수성을 높였습니다. 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은 TodoDetailView에서 마감일과 태그를 보여주는 UI를 개선하기 위해 별도의 정보 시트(sheet)를 추가하는 변경 사항을 담고 있습니다. 기존에 사용되던 SheetToolbar를 재사용 가능한 ToolbarLeadingButton과 ToolbarTrailingButton으로 리팩토링하여 코드의 모듈성을 높인 점이 좋습니다.
다만, 코드 전반에 걸쳐 #available 조건문에서 iOS 버전을 26.0으로 잘못 기재한 부분이 여러 곳에서 발견되었습니다. 이로 인해 해당 코드 블록이 절대로 실행되지 않는 심각한 버그가 발생할 수 있습니다. Button(role:)은 iOS 15.0부터, ToolbarSpacer는 iOS 16.0부터 사용 가능하므로, 올바른 버전으로 수정해야 합니다.
| if #available(iOS 26.0, *) { | ||
| Button(role: .cancel) { | ||
| action?() | ||
| } |
There was a problem hiding this comment.
| if #available(iOS 26.0, *) { | ||
| Button(role: .confirm) { | ||
| action?() | ||
| } | ||
| .disabled(isDisabled) |
There was a problem hiding this comment.
| if #available(iOS 26.0, *) { | ||
| ToolbarSpacer(.fixed, placement: .topBarTrailing) | ||
| } |