Skip to content
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

[feat] 홈과 인트로 화면의 디자인 및 논의내역 수정 사항 #78

Merged
merged 13 commits into from
Apr 16, 2024

Conversation

wjdtkdgns777
Copy link
Collaborator

기본적으로 어제 대화한 내역들을 반영했습니다. 인트로 화면에서 맵화면으로 이동하는부분은 지훈님이 권한 설정하시면서 flow에 따라 작성하실거같아서 빼뒀습니다.
인트로에서 선택된 학교들을 LazyRow로 변경했는데, 기존의 LazyVerticalGrid는 한줄에 3개의 아이템이 균등하게 분배되었던 반면 현재는 변경이후 직접 크기를 입력해서 카드를 작성했습니다. 폭을 계산해서 padding만큼을 빼고 /3으로 값을 설정할까도 싶기도..
홈화면의 캘린더와 UiState, ViewModel을 연동해서 오늘의 축제일정이 아니라 4월 15일의 축제일정처럼 선택된 날짜가 나오게 변경했습니다.

@wjdtkdgns777 wjdtkdgns777 requested a review from easyhooon April 15, 2024 13:10
@wjdtkdgns777 wjdtkdgns777 self-assigned this Apr 15, 2024
@wjdtkdgns777 wjdtkdgns777 added the enhancement New feature or request label Apr 15, 2024
import com.unifest.android.core.domain.entity.FestivalEventEntity
import com.unifest.android.core.domain.entity.IncomingFestivalEventEntity
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.persistentListOf
import java.time.LocalDate
Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 달력 라이브러리 내에서 사용하는 시간 관련 라이브러리가 java.time 이 아니라면 kotlinx.datetime 사용하는걸 권장합니다
https://github.com/Kotlin/kotlinx-datetime


data class HomeUiState(
val incomingEvents: ImmutableList<IncomingFestivalEventEntity> = persistentListOf(),
val festivalEvents: ImmutableList<FestivalEventEntity> = persistentListOf(),
val festivalSearchText: TextFieldValue = TextFieldValue(),
val interestedFestivals: MutableList<Festival> = mutableListOf(),
Copy link
Collaborator

@easyhooon easyhooon Apr 15, 2024

Choose a reason for hiding this comment

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

이거 아마 제가 이번 pr 에 수정했을것같긴한데 interested 남아있는거 liked 로 수정부탁드려여

@easyhooon
Copy link
Collaborator

리뷰 완료했습니다. 충돌나는거랑 리뷰 반영부탁드려용

@easyhooon
Copy link
Collaborator

image
이거 각각의 탭간의 간격 줄이는거 혹시 알아봐보셧나여? 전 사실 지금 저희가 만들어놓은 정도가 사용자가 적당히 누르기 좋은 크기라고 생각하는데 (너무 간격이 좁지않아서 잘못 누르지 않을 정도), 혹시 못찾으셨으면 이슈에 올려주세요

@wjdtkdgns777
Copy link
Collaborator Author

wjdtkdgns777 commented Apr 15, 2024

탭간격 줄이는 부분은 못찾았는데 이슈에 올려두겠습니다!!
수정하려면 그냥 커스텀을 해야겠네용..
https://stackoverflow.com/questions/76503595/reduce-spacing-between-scrollable-tabs-in-compose

@wjdtkdgns777 wjdtkdgns777 merged commit 57cf009 into develop Apr 16, 2024
1 check passed
@wjdtkdgns777 wjdtkdgns777 deleted the fix/ui-enhancements branch April 16, 2024 01:19
@easyhooon
Copy link
Collaborator

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants