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

전역 상태 관리 #85

Open
11 of 14 tasks
ktmihs opened this issue Nov 25, 2022 · 1 comment
Open
11 of 14 tasks

전역 상태 관리 #85

ktmihs opened this issue Nov 25, 2022 · 1 comment
Assignees
Labels
기능 기능 추가 프론트엔드 프론트엔드

Comments

@ktmihs
Copy link
Member

ktmihs commented Nov 25, 2022

💁 설명

  • recoil을 사용한 전역 상태 관리

📑 체크리스트

구현해야하는 이슈 체크리스트

  • recoil install
  • atom
    • user
    • backgroundMusic setting
    • snow setting
    • device permission
    • speaker setting
    • audio setting
    • video setting
  • 적용하기
    • 유저 정보 (회원가입 시 저장, 변경 시 반영)
    • 세팅 (music, snow) 토글에 따라 값 설정
    • 디바이스 권한 반영
    • 선택된 디바이스 저장

🚧 주의 사항

이슈를 구현할 때 유의깊게 살펴볼 사항

  • npm i 필요합니다 !
@ktmihs ktmihs added 프론트엔드 프론트엔드 기능 기능 추가 labels Nov 25, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 25, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 25, 2022
- nickname과 hair 상태 저장
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 25, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 25, 2022
- 권한 atom, 종류 atom 생성
- devicePermissionState, devicesState
@JJongBin JJongBin moved this to 🌱 BackLog in SleepyWoods Nov 25, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 28, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 28, 2022
- 전역으로 상태 관리하여 버튼 토클에 따라 눈내리기 설정 및 해제
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 28, 2022
- 로그인이 되어있는 경우, 메인페이지에서 유저 정보 전역으로 저장
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 28, 2022
- 배경 음악 토클 시, 전역 정보 변경
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Nov 30, 2022
- 친구 목록을 전역으로 저장하여 관리
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 1, 2022
- drop 되었을 때, 전역 정보 수정 (탭 간 이동해도 목록 유지)
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 1, 2022
@ktmihs ktmihs moved this from 🌱 BackLog to 🌿 Todo in SleepyWoods Dec 2, 2022
@ktmihs ktmihs moved this from 🌿 Todo to 🌲 In Progress in SleepyWoods Dec 2, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 4, 2022
- 충돌 방지 차원에서 미리 id 추가
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 4, 2022
- 함수로 잘못 불렀던 로직 수정
- friendlist 내부 id 추가
@ktmihs
Copy link
Member Author

ktmihs commented Dec 5, 2022

sidebar tab 및 chatting id 전역 관리

ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 5, 2022
… atom 생성

- 다른 컴포넌트에서도 접근할 수 있도록 전역 변수로 관리
JJongBin added a commit to JJongBin/web05-SleepyWoods that referenced this issue Dec 6, 2022
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 8, 2022
… 변수에 반영해주기

- 전역 key를 nickname에서 id로 변경
- 해당되는 id를 찾아 nickname 변경해주기
ktmihs added a commit to ktmihs/SleepyWoods that referenced this issue Dec 8, 2022
- username -> id로 변경하는 과정에서 미반영된 부분들 반영
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 기능 추가 프론트엔드 프론트엔드
Projects
Status: 🌲 In Progress
Development

No branches or pull requests

2 participants