-
Notifications
You must be signed in to change notification settings - Fork 5
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] 전체 참여자 관리 페이지 구현 #595
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
issue
구현 사항
DepositToggle 디자인 변경
전체 참여자 관리 페이지 디자인 변경
참여자 입금 상태 (isDeposited) 변경하기
참여자 이름 변경하기
참여자 삭제하기
FixedButton 활성화/비활성화 조건
비활성화 조건
삭제한 member가 존재할 경우
전체 참여자 리스트에서 중복된 이름이 존재할 경우
단, 삭제한 member 이름은 중복에 포함되지 않는다.
새로 입력된 member의 이름이 유효하지 않는 경우
member의 이름은 1글자 이상 4글자 미만이어야 한다.
활성화 조건
위 조건에 따라 setIsCanRequest(서버에게 요청 가능/불가능)를 변경한다.
변경된 값과 초기값을 비교하여 변경된 값만을 가지는 filteredChangedMembers를 가진다.
이때, changedMembers는 초기값과 동일한 것도 포함된다.
filteredChangedMembers는 초기값과 동일하지 않은 변경사항만을 말한다.
서버에게 api 요청하기
삭제 요청(DELTE)을 진행한 후에, 변경 요청(PUT)을 진행한다.
논의할 사항
🫡 참고사항