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] Nav 전역 상태 완료 #88

Merged
merged 3 commits into from
Sep 2, 2023

Conversation

k-impossible
Copy link
Contributor

@k-impossible k-impossible commented Sep 2, 2023

작업내용

  • Main 진입 시 챕터 데이터랑 유저 챕터 데이터 합쳐서 Nav 변경
  • Nav에서 챕터 선택 시 챕터 데이터 전역 상태 변경
  • 챕터 전역 상태에 따라 Enter, GuideBook 데이터 변경

참고사항

  • GuideBook에서 챕터별 단어 아이디 받게 해놨으니 스타일 작업만 하면됩니다.
  • 챕터 목록, 챕터 진행 상황 조회 API 개발되면 실제 데이터 연결 작업 필요
const chapter = useAppSelector((state) => state.chapter);

// chapter 형태
{
  title: '인사 나누기',
  chapterId: 1,
  chapterWords: [1, 2, 3],
  chapterStatus: false,
  learningChapterId: 1,
  progress: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
};

기타

불필요한 파일 삭제

@k-impossible k-impossible added Front Front-End 작업 Feature 기능 작업 Level. 0 우선순위 상 Chapter 챕터 작업 labels Sep 2, 2023
@k-impossible k-impossible self-assigned this Sep 2, 2023
@k-impossible k-impossible linked an issue Sep 2, 2023 that may be closed by this pull request
5 tasks
@k-impossible
Copy link
Contributor Author

주말에 작업하실분 있을까봐 미리 merge 합니다.

@k-impossible k-impossible merged commit 15f899c into codestates-seb:front Sep 2, 2023
This was linked to issues Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chapter 챕터 작업 Feature 기능 작업 Front Front-End 작업 Level. 0 우선순위 상
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FE] GuideBook 컴포넌트 [FE] Main 페이지 [FE] Nav 컴포넌트
1 participant