Skip to content

코드방송 IDE 라이브러리 연결 및 UI 수정#69

Merged
Danto7632 merged 1 commit intomainfrom
sojeong
Aug 8, 2025
Merged

코드방송 IDE 라이브러리 연결 및 UI 수정#69
Danto7632 merged 1 commit intomainfrom
sojeong

Conversation

@sojeongP0415
Copy link
Copy Markdown
Contributor

✨ 주요 변경 사항

CodePreviewList

  • 카드 클릭 시 onSelect 이벤트 발생
  • 클릭한 참가자의 코드가 중앙 IDE에 반영됨
  • 미리보기 카드의 코드 표시 줄 수 제한 (max-height 설정)

CodeEditor

  • VS Code 기반의 Monaco Editor 적용
  • currentUser가 바뀌면 코드 자동 반영 (useEffect로 처리)
  • 역할 아이콘(👑/✍️) 표시 문제 해결 및 스타일 정리

CodecastSidebar

  • participants 정보를 props로 받아 사용하도록 구조 통일
  • 더 이상 자체 participants 배열 사용하지 않음
  • 현재 보고 있는 사용자(currentUser) 강조 스타일 추가

CodecastLive

  • participants 및 currentUser를 중앙에서 관리
  • 모든 서브 컴포넌트에 props로 전달 (단일 데이터 소스 유지)

@Danto7632 Danto7632 merged commit da5e64a into main Aug 8, 2025
@sojeongP0415 sojeongP0415 deleted the sojeong branch August 20, 2025 20:05
@sojeongP0415 sojeongP0415 restored the sojeong branch August 20, 2025 20:05
@sojeongP0415 sojeongP0415 deleted the sojeong branch August 20, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants