-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FIX/#87] IconChip 구조 변경 #88
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d47bc77
[FIX/#87] IconChip 구조 변경
Roel4990 4306fd9
[FIX/#87] IconChip 구조 변경
Roel4990 46a7042
Merge remote-tracking branch 'origin/develop' into fix/#87-iconChip-mod
Roel4990 352327b
[FIX/#87] IconChip 변경에 의한 ExploreScreen 수정
Roel4990 943193f
[FIX/#87] AsyncImage UrlImage 컴포넌트로 구현
Roel4990 11dc02d
[FIX/#87] if -> when 으로 수정
Roel4990 7c5efb6
Merge remote-tracking branch 'origin/develop' into fix/#87-iconChip-mod
Roel4990 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
음,,,생각보다 구조적으로 변경이 필요해보입니다.
modifier를 내부에 넣게 되면 패딩이나 외부에서 수정자를 사용할 수 없는 이슈가 있을 것 같아요.
서버에서 오는 값을 보면
이런 형식인데
이 구조로 가는게 어떨까요? 텍스트의 경우는 셀렉,언셀렉의 경우 모두 동일하고 백그라운드 컬러 또한 그라디언트가 아닐경우엔 main400 고정으로 보입니다.
@Hyobeen-Park @chattymin
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.
좋은 아이디어인 것 같습니다!
chip이 selected/unSelected 두 상태 모두 배경색과 텍스트 색은 고정이기 때문에 Icon에 해당하는 부분만 서버에서 받아오는게 좋은 방향일 것 같아요. 또한 디자인시스템을 확인해보니 Gradient가 있는 chip과 Soild한 색상의 chip 모두 selected의 background 색상을 제외하곤 전부 같은 상태임을 확인했습니다.
그렇기에 IsGradient라는 매개변수로 구분하여 selelcted일 때의 chip 색상을 결정하는 것은 좋은 아이디어 인 것 같습니다.
이와 관련된 확장함수의 경우 제가 오늘 중으로 구현하여 PR올리도록 하겠습니다 :)
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.
저도 지금은 이 방법이 최선인 것 같아요..!! 다들 어떻게 생각하시나요~~??
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.
저도 좋다고 생각합니다!
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.
해당 방식으로 수정했습니다!