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 connect api to edit journeys #239

Merged
merged 23 commits into from
Jan 27, 2024
Merged

Conversation

JSH99
Copy link
Member

@JSH99 JSH99 commented Jan 27, 2024

개요

close #195

스크린샷

주요 내용

  • 여행 스페이스 편집 기능 api 연결 (날짜 이동, 삭제, 루트 최적화, 드래그앤드랍)
  • 투표에서 일정 추가하기 기능 api 연결

고민한 점, 질문거리

(드래그 앤 드랍 다른 날짜로 안 되는 에러 아직 해결 중입니다)

@Yamyam-code 상원님!
pages/AddPlaceFromVote.tsx 에 post 함수 있습니다! 수고해주셔서 정말 감사합니다🙇🏻‍♀️

const addPlaces = async () => {
  await postPlaces.mutateAsync({
    spaceId: Number(id),
    journeyId: Number(journeyId),
    placeIds: selectedPlaces.flatMap((place) => place.id),
  });
  navigate(`/trip/${id}`, {state: {id: id}});
};

@JSH99 JSH99 added the feat label Jan 27, 2024
@JSH99 JSH99 self-assigned this Jan 27, 2024
@JSH99 JSH99 linked an issue Jan 27, 2024 that may be closed by this pull request
3 tasks
Copy link

vercel bot commented Jan 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
trip-vote-fe ✅ Ready (Inspect) Visit Preview Jan 27, 2024 10:10pm

Copy link
Member

@Yamyam-code Yamyam-code left a comment

Choose a reason for hiding this comment

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

장소 추가는 신경 안 쓰이시게 잘 해놓을게요~~

@JSH99 JSH99 merged commit c22be2e into dev Jan 27, 2024
3 checks passed
@JSH99 JSH99 deleted the 195-feat-connect-api-to-edit-journeys branch January 27, 2024 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat : connect api to edit journeys
3 participants