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

TripList 페이지 구현 #51

Merged
merged 49 commits into from
Jul 18, 2023
Merged

TripList 페이지 구현 #51

merged 49 commits into from
Jul 18, 2023

Conversation

dladncks1217
Copy link
Member

📄 Summary

트립 목록 화면

Jul-16-2023 21-36-37

튜토리얼 모달 화면

Jul-16-2023 21-39-11

  • 여행 목록들을 확인할 수 있다.
  • 여행 목록들을 등록순으로 정렬할 수 있다.
  • 여행 목록들을 날짜순으로 정렬할 수 있다.
  • 여행 목록이 비어있으면 튜토리얼 모달을 띄운다. (인증 인가 기능 구현 전에만 임시로)

  • TripListPage 구현
  • Trip List 조회 api msw 모킹
  • 튜토리얼 모달 컴포넌트 구현
  • 튜토리얼 모달 컴포넌트에 Slick Slider 구현

🙋🏻 More

튜토리얼 모달

튜토리얼 모달에 대해, 존재하는 trip이 없을 경우 띄워주도록 우선 설정했습니다.
그렇다보니 현재 msw 모킹에 대해서 trip을 0개 반환하는 msw 핸들러와 trip들을 반환하는 핸들러로 나뉘어있습니다. 요청부분만 조금 다르게 해서 테스트할 수 있지 않을까 싶습니다.

close #36

@dladncks1217 dladncks1217 added ✨ Feature FE-Service 행록 서비스 프론트엔드 labels Jul 16, 2023
@dladncks1217 dladncks1217 added this to the 2차 스프린트 milestone Jul 16, 2023
@dladncks1217 dladncks1217 self-assigned this Jul 16, 2023
Copy link
Member Author

@dladncks1217 dladncks1217 left a comment

Choose a reason for hiding this comment

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

리뷰 반영 해 보았습니다~!
확인 한번 부탁드릴게요👍

frontend/src/components/Trips/TripsHeader/TripsHeader.tsx Outdated Show resolved Hide resolved
frontend/src/components/Trips/TripsHeader/TripsHeader.tsx Outdated Show resolved Hide resolved
width: `calc((100vw - 196px) / 5)`,
alignSelf: 'start',
margin: '0',
padding: '0',
Copy link
Member Author

Choose a reason for hiding this comment

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

전 별로 상관없긴한데 string으로 통일하는건 좀 별로려나요?🤔

'-ms-overflow-style': 'none',
scrollbarWidth: 'none',
'& > span': {
marginRight: Theme.spacer.spacing2,
Copy link
Member Author

Choose a reason for hiding this comment

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

'& > span' 내부 속성들도 위 속성들 내부로 순서가 적용되는거였나요..?
'& > span' 같은건 css순서 별개로 밑에 몰아두는게 보는데 좋을 것 같은데 어떤가요?🤔

frontend/src/hooks/trips/useGetTrips.ts Outdated Show resolved Hide resolved
frontend/src/hooks/trips/useGetTrips.ts Outdated Show resolved Hide resolved
frontend/src/mocks/handlers/index.ts Outdated Show resolved Hide resolved
frontend/src/pages/TripsPage.tsx Outdated Show resolved Hide resolved
@dladncks1217
Copy link
Member Author

dladncks1217 commented Jul 17, 2023

+ 스토리북 코드는 내일까지 작성하겠습니다~

Copy link
Collaborator

@ashleysyheo ashleysyheo left a comment

Choose a reason for hiding this comment

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

🔥

혹시 모르니까...

Screenshot 2023-07-17 at 10 30 42 PM

@ashleysyheo ashleysyheo merged commit 4b303c7 into develop Jul 18, 2023
@ashleysyheo ashleysyheo deleted the feature/#36 branch July 18, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE-Service 행록 서비스 프론트엔드 ✨ Feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

TripList 페이지 구현
3 participants