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

[FE] 스터디 가입 버튼과 스터디 방 이동하기 버튼 분리 #453

Open
nan-noo opened this issue Oct 24, 2022 · 0 comments
Open
Assignees
Labels
🚀 feature New feature or request 😁 frontend New frontend feature

Comments

@nan-noo
Copy link
Collaborator

nan-noo commented Oct 24, 2022

요약

지금은 스터디 가입 버튼과 스터디방 이동 버튼이 합쳐져 있습니다.

세부 설명

{isOwnerOrMember || !isOpen ? ( // @TODO: 가입하기 버튼을 분리한다(가입안한 사람이 구경할 수 있도록 하기 위함)
  <StudyRoomLink studyId={studyId} />
) : (
  <RegisterButton onClick={handleRegisterButtonClick} />
)}

스터디원이거나 스터디 모집중이 아닐 때 이동하기 버튼을 보여주는 것이 아니라 다음과 같이 바뀌어야 합니다.

  • 스터디 이동하기 버튼: 항상 이동하기가 가능해야 함
  • 스터디 가입 버튼: 모집중이고 논멤버일 때 활성화, 그 외에는 비활성화
@nan-noo nan-noo added 🚀 feature New feature or request 😁 frontend New frontend feature labels Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feature New feature or request 😁 frontend New frontend feature
Projects
None yet
Development

No branches or pull requests

2 participants