-
Notifications
You must be signed in to change notification settings - Fork 0
Add Search history empty view #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 |
| .fillParentMaxHeight() | ||
| .fillMaxWidth(), |
Copilot
AI
May 25, 2025
There was a problem hiding this comment.
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.
| .fillParentMaxHeight() | |
| .fillMaxWidth(), | |
| .fillMaxSize(), |
yuni-ju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.


작업사항
참고