Skip to content

[#183, #184] 검색뷰가 보일 시 UI을 가운데에 위치하도록 하고 통일시킨다#187

Merged
opficdev merged 2 commits intodevelopfrom
fix/#183-TodoListView-search
Mar 4, 2026
Merged

[#183, #184] 검색뷰가 보일 시 UI을 가운데에 위치하도록 하고 통일시킨다#187
opficdev merged 2 commits intodevelopfrom
fix/#183-TodoListView-search

Conversation

@opficdev opficdev self-assigned this Mar 4, 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!

이 PR은 검색 뷰가 활성화될 때 UI 요소들이 중앙에 위치하고 일관된 사용자 경험을 제공하도록 개선합니다. 검색 로직을 isSearching 상태에 기반하여 업데이트하고, 검색 결과가 없거나 초기 검색 지침을 표시할 때 UI가 시각적으로 더 균형 잡히도록 레이아웃을 조정했습니다. 또한, 새로운 로컬라이징 문자열을 추가하여 사용자 안내를 명확히 하고, 특정 조건에서 스크롤을 비활성화하여 불필요한 사용자 상호작용을 방지합니다.

Highlights

  • 검색 UI 로직 개선: 검색창 활성화 여부를 나타내는 isSearching 상태를 활용하여 검색 결과 표시 로직을 개선하고, 검색창의 isPresented 바인딩을 추가했습니다.
  • UI 중앙 정렬 및 통일: 검색 결과가 없거나 검색 지침을 표시할 때 UI 요소들이 화면 중앙에 올바르게 정렬되도록 TodoListViewSearchView의 레이아웃을 조정했습니다.
  • 로컬라이징 문자열 추가: 새로운 검색 지침 메시지를 위한 로컬라이징 문자열을 추가하여 사용자에게 더 명확한 안내를 제공합니다.
  • 스크롤 비활성화 조건 추가: 할 일 목록이 비어 있거나 로딩 중일 때 스크롤이 불가능하도록 scrollDisabled 수정자를 추가했습니다.
Changelog
  • DevLog/Resource/Localizable.xcstrings
    • 새로운 검색 지침 메시지를 위한 로컬라이징 문자열을 추가했습니다.
  • DevLog/UI/Home/TodoListView.swift
    • 검색 결과 표시 로직을 searchText.isEmpty 대신 isSearching 상태를 사용하도록 변경했습니다.
    • 검색창의 isPresented 바인딩을 추가하여 검색창의 활성화 상태를 제어합니다.
    • 할 일 목록이 비어 있거나 로딩 중일 때 스크롤을 비활성화하는 scrollDisabled 수정자를 추가했습니다.
    • searchResultsContent 뷰에서 검색 지침, 로딩 상태, 검색 결과 없음 메시지의 레이아웃과 중앙 정렬을 개선했습니다.
  • DevLog/UI/Search/SearchView.swift
    • searchableContent 뷰의 최상위 컨테이너를 ScrollView에서 Group으로 변경하여 UI 요소의 중앙 정렬을 개선했습니다.
    • 최근 검색어 및 검색 결과 목록을 표시할 때만 ScrollView를 사용하도록 구조를 조정했습니다.
Activity
  • 이 PR은 이슈 #183과 #184를 해결했습니다.
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

이 Pull Request는 검색 뷰의 UI/UX를 개선하고 통일하는 데 중점을 두었습니다. Localizable.xcstrings 파일에 새로운 검색 안내 문구가 추가되었고, TodoListView.swift에서는 검색 상태(isSearching)를 기반으로 콘텐츠를 표시하도록 로직이 개선되었으며, 검색 바의 isPresented 바인딩이 추가되었습니다. 또한, 목록이 비어 있거나 로딩 중일 때 스크롤을 비활성화하여 사용자 경험을 향상시켰습니다. searchResultsContent의 조건부 렌더링 로직이 @ViewBuilder와 함께 재구성되어, 검색어 유무, 로딩 상태, 결과 유무에 따라 적절한 메시지를 중앙에 표시하도록 변경되었습니다. SearchView.swift에서는 searchableContent 내부의 ScrollView 사용이 조건부로 변경되어, 필요한 경우에만 스크롤 뷰가 활성화되도록 효율성을 높였습니다. 전반적으로 변경 사항들은 잘 구현되었으며, PR의 목표에 부합합니다.

@opficdev opficdev merged commit 3ac3c7a into develop Mar 4, 2026
1 check passed
@opficdev opficdev deleted the fix/#183-TodoListView-search branch March 4, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant