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] 찾는 포지션 설정 방식 변경 #205

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Conversation

yyypearl
Copy link
Member

@yyypearl yyypearl commented Mar 2, 2025

연관 이슈

close #204


📁 작업 내용

찾는 포지션 설정 방식 변경

  • PositionBox.tsxPositionCategory.tsx 리팩토링
  • wantP 설정 방식 변경에 따른 컴포넌트 수정
  • 관련 API 재연결
  • 프로필 조회 API 매너관련 정보 삭제
  • 매너 평가 관련 오류 수정 (request body 필드명 추가해서 데이터 전송)

🖥 구현 결과 (선택)

20250303_055144.mp4

📁 기타 사항

  • main이나 sub는 필수값이 하나 필요하므로 단일 Position 타입으로, want는 선택값이고 최대 2개까지 선택이 가능하므로 Position 배열[]로 관리했습니다! 따라서, 선택 로직도 구분지었어요.
  • 글 작성이나 수정 시에는 wantP값이 필수라서 선택값이 없을 경우 무조건 ["ANY"]로 보내게 했고, 게시판 글 목록이나 게시글 상세 조회에서는 ["ANY"]로 받은 값 그대로 보여주고, 글 수정할 때는 아예 빈 값으로 넘겨서 ANY로 선택되는 것이 아닌 설정값이 없도록 화면에 보이게 했습니다! 매칭 쪽도 이렇게 수정 필요할 것 같아요.

@yyypearl yyypearl self-assigned this Mar 2, 2025
Copy link

netlify bot commented Mar 2, 2025

Deploy Preview for gamegoodev ready!

Name Link
🔨 Latest commit 1b630c4
🔍 Latest deploy log https://app.netlify.com/sites/gamegoodev/deploys/67c5b9e25b5bc20008f7078e
😎 Deploy Preview https://deploy-preview-205--gamegoodev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yyypearl yyypearl added 🛠feat 새로운 기능 추가 💻refactor 코드 리팩토링 labels Mar 3, 2025
@yyypearl yyypearl requested review from rowanna and ohofront March 3, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠feat 새로운 기능 추가 💻refactor 코드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 찾는 포지션 설정 방식 변경
1 participant