Skip to content

Add Search history empty view#657

Merged
DongJun-H merged 2 commits intodevelopfrom
layout/issue-656
Jun 3, 2025
Merged

Add Search history empty view#657
DongJun-H merged 2 commits intodevelopfrom
layout/issue-656

Conversation

@DongJun-H
Copy link
Copy Markdown
Member

@DongJun-H DongJun-H commented May 25, 2025

작업사항

  • 최근 검색어가 없는 경우에 대한 Empty view 추가

참고

@DongJun-H DongJun-H requested review from Copilot and yuni-ju May 25, 2025 07:36
@DongJun-H DongJun-H self-assigned this May 25, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds an empty view to indicate when there is no search history.

  • Added new string resources for the empty state in strings.xml.
  • Modified SearchScreen.kt to conditionally display an empty view when search history data is empty.
  • Introduced a new composable, SearchHistoryEmpty, to render the empty state UI.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
presentation/src/main/res/values/strings.xml Added empty state strings for search history view
presentation/src/main/java/daily/dayo/presentation/screen/search/SearchScreen.kt Updated search history layout to show empty state when appropriate

Comment thread presentation/src/main/res/values/strings.xml
Comment on lines +322 to +323
.fillParentMaxHeight()
.fillMaxWidth(),
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider using Modifier.fillMaxSize() instead of fillParentMaxHeight() for consistency and clarity, if that aligns with other layouts in the project.

Suggested change
.fillParentMaxHeight()
.fillMaxWidth(),
.fillMaxSize(),

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

@yuni-ju yuni-ju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figma 디자인

image

실행 화면

image

아이콘과 텍스트 사이에 공백 추가 부탁드립니다

@DongJun-H DongJun-H requested a review from yuni-ju June 2, 2025 11:46
@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAYO 2.0 Jun 2, 2025
@DongJun-H DongJun-H merged commit af4dd82 into develop Jun 3, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in DAYO 2.0 Jun 3, 2025
@DongJun-H DongJun-H deleted the layout/issue-656 branch June 3, 2025 08:25
DongJun-H added a commit that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants