Skip to content

[#202] TodoEditorView에 중요 표시를 토글할 수 있는 UI를 구성한다#206

Merged
opficdev merged 2 commits intodevelopfrom
feat/#202-TodoEditorView-isPinned
Mar 6, 2026
Merged

[#202] TodoEditorView에 중요 표시를 토글할 수 있는 UI를 구성한다#206
opficdev merged 2 commits intodevelopfrom
feat/#202-TodoEditorView-isPinned

Conversation

@opficdev
Copy link
Copy Markdown
Owner

@opficdev opficdev commented Mar 6, 2026

@opficdev opficdev self-assigned this Mar 6, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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!

이 풀 리퀘스트는 할 일 편집기 뷰에서 할 일 항목을 '중요'로 표시(고정)할 수 있는 기능을 도입합니다. 이는 사용자가 특정 할 일을 쉽게 강조하고 관리할 수 있도록 돕습니다. 뷰 모델은 새로운 중요 표시 상태를 효율적으로 처리하도록 업데이트되었으며, 사용자 인터페이스에는 이 기능을 위한 직관적인 토글 버튼이 포함되었습니다.

Highlights

  • 할 일 중요 표시 기능 추가: 할 일 항목에 중요 표시(고정)를 토글할 수 있는 새로운 UI와 관련 로직이 추가되었습니다.
  • 뷰 모델 업데이트: TodoEditorViewModel의 Draft 및 State 구조체에 isPinned 속성이 추가되었고, togglePinned 액션이 정의되어 중요 표시 상태를 관리합니다.
  • UI 구성: TodoEditorView의 액세서리 바에 별 아이콘과 함께 '중요' 텍스트를 표시하는 버튼이 추가되어 중요 표시 상태를 시각적으로 나타내고 토글할 수 있습니다.
Changelog
  • DevLog/Presentation/ViewModel/TodoEditorViewModel.swift
    • Draft 및 State 구조체에 isPinned 속성을 추가했습니다.
    • Action 열거형에 togglePinned 케이스를 추가했습니다.
    • 뷰 모델의 isPinned 속성 관리를 state.isPinned로 이전했습니다.
    • 초기화 메서드와 reduce 메서드에 isPinned 관련 로직을 추가했습니다.
    • toTodo() 메서드에서 state.isPinned를 사용하도록 업데이트했습니다.
  • DevLog/Resource/Localizable.xcstrings
    • 새로운 지역화 키 "중요"를 추가했습니다.
  • DevLog/UI/Home/TodoEditorView.swift
    • 액세서리 바에 할 일의 중요 표시 상태를 토글하는 버튼 UI를 추가했습니다.
Activity
  • 아직 이 풀 리퀘스트에 대한 활동은 없습니다.
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
Copy Markdown
Contributor

@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은 TodoEditorView에 중요 표시를 토글하는 기능을 추가합니다. ViewModel의 상태 관리를 isPinned 속성을 포함하도록 수정하고, 관련 UI를 TodoEditorView에 구현했습니다. 전반적으로 변경 사항은 올바르며, 의도한 대로 동작할 것으로 보입니다. 다만, 사용자 경험을 개선하기 위해 중요 표시 아이콘의 시각적 표현에 대한 작은 제안이 있습니다.

Comment thread DevLog/UI/Home/TodoEditorView.swift Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@opficdev opficdev merged commit b3041a0 into develop Mar 6, 2026
1 check passed
@opficdev opficdev deleted the feat/#202-TodoEditorView-isPinned branch March 6, 2026 12:36
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.

TodoEditorView에 중요 표시를 토글할 수 있는 UI를 구성한다

1 participant