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: 방 관리 기능 완성 #137

Merged
merged 10 commits into from
Nov 15, 2023
Merged

Conversation

bbearcookie
Copy link
Member

@bbearcookie bbearcookie commented Nov 13, 2023

🧩 이슈 번호

✅ 작업 사항

  • 방 관리의 전체적인 기능을 완성했어요. (렌더링 및 API 호출까지)
  • 방 삭제, 방장 위임, 멤버 추방의 모킹 핸들러 및 API 함수 작성

👩‍💻 공유 포인트 및 논의 사항

방장 위임, 멤버 추방

GOMCAM.20231114_0234460059.mp4

방 삭제

GOMCAM.20231114_0238470799.mp4

@bbearcookie bbearcookie added ☁️ FE 프론트 레포지토리에서의 작업 ✨ feature 새로운 기능에 대한 작업 labels Nov 13, 2023
@bbearcookie bbearcookie added this to the 3차 스프린트 milestone Nov 13, 2023
@bbearcookie bbearcookie self-assigned this Nov 13, 2023
Copy link

netlify bot commented Nov 13, 2023

Deploy Preview for moabam-storybook ready!

Name Link
🔨 Latest commit 84a5fed
🔍 Latest deploy log https://app.netlify.com/sites/moabam-storybook/deploys/6554563094033f00083d9136
😎 Deploy Preview https://deploy-preview-137--moabam-storybook.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.

Copy link
Contributor

@nayeon-hub nayeon-hub left a comment

Choose a reason for hiding this comment

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

상훈님 기능 완성하시느라 수고 많으셨어요 부족함이 없는 코드였네요👍🏻

Comment on lines +68 to +69
onChange={(e) => setConfirmInput(e.target.value)}
/>
Copy link
Contributor

Choose a reason for hiding this comment

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

p1; onChange에 들어가는 함수는 따로 함수를 선언해서 쓰면 어떨까요?
https://www.notion.so/prgrms/FE-568228d7d8f64051b5652548944214e9?pvs=4#e81e072bdf404604862aee5f488e1de4

Copy link
Member Author

Choose a reason for hiding this comment

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

엇.. 요기선 세터 함수를 호출하는 한 줄의 로직을 수행하는 것이라 구현이 드러나는 방법을 선택했어요!!
(Input 컴포넌트의 동작을 바로 확인할 수 있게 colocation 하는 느낌?)
물론 onChange 동작이 몇 줄 단위로 복잡해진다면, 다른 핸들러 함수로 빼는 것이 좋겠지만.. 한 줄 로직도 빼는것이 좋을까요!?

Copy link
Contributor

@nayeon-hub nayeon-hub Nov 15, 2023

Choose a reason for hiding this comment

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

아하 그것도 괜찮네요! 한 줄 일 때는 그대로 코드를 작성하는 걸로 할까요? 💡

@bbearcookie bbearcookie merged commit e5b085b into main Nov 15, 2023
5 checks passed
@bbearcookie bbearcookie deleted the feat/#133/room-member-manage branch November 15, 2023 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☁️ FE 프론트 레포지토리에서의 작업 ✨ feature 새로운 기능에 대한 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

방 멤버 관리 탭 작성
2 participants