-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT] 게시판 UI 업데이트 #363
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] 게시판 UI 업데이트 #363
Conversation
| return .run { [isFirstLaunch = state.isFirstLaunch] send in | ||
| if isFirstLaunch { await send(.toggleLoading(true), animation: .bouncy) } | ||
| do { | ||
| let mainQuestion = try await fetchMainQuestion() | ||
| let response = try await bulletinBoardRepository.fetchBulletinBoardList(nil) | ||
| await send(.bulletinBoardListResponse(response.0, response.1)) | ||
| await send(.bulletinBoardListResponse(mainQuestion, response.0, response.1)) |
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.
오늘의 질문을 불러와야해서 게시판 피처에 api호출 추가했습니다!
| private struct QuestionNotificationView: View { | ||
|
|
||
| let store: StoreOf<BulletinBoardFeature> | ||
|
|
||
| var body: some View { | ||
| if !store.todayQuestion.isAnswered { | ||
| Button { | ||
| store.send(.questionNotiTapped(store.todayQuestion)) | ||
| } label: { | ||
| HStack(spacing: 0) { |
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.
답변 유무에 따른 UI 변경입니다!
| // HStack { | ||
| // Text(event.period.0.formatting(.mdKorean)) | ||
| // Spacer() | ||
| // Text(event.period.1.formatting(.mdKorean)) | ||
| // } | ||
| // .padding(.top, 16) | ||
| // .padding(.horizontal, 2) | ||
| // .foregroundStyle(.main).opacity(0.6) | ||
| // .pretendard(.semiBold, 14) | ||
|
|
||
| ProgressBar( | ||
| event: event, | ||
| dayLeft: dayLeft | ||
| ) | ||
| .padding(.top, 8) | ||
| // ProgressBar( | ||
| // event: event, | ||
| // dayLeft: dayLeft | ||
| // ) | ||
| // .padding(.top, 8) |
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.
캘린더 UI는 잠시 안녕..
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.
건강하게 살아야한다 캘린더야~
thinkySide
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.
확인했슘당~! 👍 👍 👍
mooninbeom
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.
Looks Good To Me
close #361
TO-DO
상세 설명
스크린샷