Skip to content

[Feat/#152]: 우물 아이템 이동 기능 구현#194

Merged
SebellKo merged 25 commits intodevfrom
feat/#152
Aug 5, 2025
Merged

[Feat/#152]: 우물 아이템 이동 기능 구현#194
SebellKo merged 25 commits intodevfrom
feat/#152

Conversation

@JIMIN1020
Copy link
Contributor

📍 작업 내용

우물 아이템 이동 기능 구현

  • 아이템 drag and drop 기능
  • 아이템 일괄 이동 기능
  • 우물 수정 시트 구현 (수정 / 아이템 이동 분기 처리)

📍 구현 결과 (선택)


📍 기타 사항

리뷰어가 특별히 봐주었으면 하는 부분이나 주의사항, 알림사항 등이 있다면 작성해주세요.

ex) 더미 데이터를 넣어서 기능 구현한 상태입니다!


JIMIN1020 and others added 21 commits December 8, 2024 14:43
[Release]: HOTFIX - 우물 아이템 추가 모션 오류 수정
[Release]: 상점 이동 기능, 단점 태그 optional로 변경 등
[Release]: 유저 플로우 개선, Navigation Bar 고정 등
[Release]: safari z-index 이슈 해결
[Release]: 피드 skeleton 버그 수정
[Release]: 우물 탐색/검색 기능 추가 및 기타 리팩토링
[Release]: NavBar 상태관리 버그 수정 및 기타 작업
[HOTFIX]: profile redirect 버그 수정
# Conflicts:
#	public/sw.js
#	public/sw.js.map
#	src/features/Well/components/Well/WellDetailPage.tsx
#	src/features/Well/components/Well/WellItem/WellItem.tsx
#	src/features/Well/components/Well/WellItem/WellItemList.tsx
#	src/features/Well/hooks/useWellItems.ts
# Conflicts:
#	package-lock.json
#	public/icons/index.ts
#	public/sw.js
#	public/sw.js.map
#	src/data/ui/bottomSheet.tsx
#	src/features/Well/api/well.api.ts
#	src/features/Well/components/Well/WellDetailPage.tsx
#	src/features/Well/components/Well/WellFrog/FrogOnBook.tsx
#	src/features/Well/components/Well/WellHeader/WellHeader.tsx
#	src/features/Well/components/Well/WellItem/WellItemList.tsx
@JIMIN1020 JIMIN1020 requested a review from SebellKo August 4, 2025 15:06
@JIMIN1020 JIMIN1020 self-assigned this Aug 4, 2025
@JIMIN1020 JIMIN1020 added the feat 기능 구현 label Aug 4, 2025
@vercel
Copy link

vercel bot commented Aug 4, 2025

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

Name Status Preview Comments Updated (UTC)
frolog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 0:45am

Copy link
Contributor

@SebellKo SebellKo left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 !
이쁘게 잘 되네 ! 👍

"next-auth": "^4.24.7",
"next-pwa": "^5.6.0",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

이 패키지 이제 deprecated됐을텐데 괜찮아요 ?
atlassian/react-beautiful-dnd#2672

Copy link
Contributor Author

Choose a reason for hiding this comment

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

당장 react 19버전으로 업그레이드 할 예정은 없으니 기타 의존성 문제 생길 때 마이그레이션 하면 된다고 생각합니다~

order: newOrder,
});

console.log(prevChanges);
Copy link
Contributor

Choose a reason for hiding this comment

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

‼️

await updateWellItemOrder({
well_id: wellData.id,
changes: orderChanges,
});
Copy link
Contributor

Choose a reason for hiding this comment

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

이건 왜 mutation안쓰시고 바로 호출하셨어요 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

깜빡했달까...

isFetched: boolean;
setTarget: React.Dispatch<
React.SetStateAction<HTMLDivElement | null | undefined>
>;
Copy link
Contributor

Choose a reason for hiding this comment

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

이거 상위 컴포넌트에서 상태업데이트 함수 직접 내려주지 말고 별도 함수 선언해서 내려주는게 개인적으로 더 취향이긴 한데 어떻게 생각하세요 ?

const handleSetTarget = () => setTarget()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

저도 그게 더 좋아요
이건 짤때 조급하게 짰달까..

@SebellKo SebellKo merged commit eaea393 into dev Aug 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 기능 구현

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants