feat: 초대 시트에 초대 코드 복사 기능 추가 - #549
Conversation
링크 공유만 가능해 코드로 참여하려는 친구에게 코드를 알려줄 방법이 없었다. 시안대로 초대 코드 카드와 복사 버튼을 추가한다. - 초대 코드 카드 + 복사 (share.ts 의 copyToClipboard 재사용) - "담기 기한" · "초대 코드" 라벨 추가 - 카드 테두리·타이포·안내 문구를 시안 값으로 조정
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
|
Warning Review limit reached
Next review available in: 50 minutes Limit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
작업 요약
작업 세부 내용
1. 초대 코드 복사
링크 공유만 가능해 코드로 참여하려는 친구에게 코드를 알려줄 방법이 없었습니다.
utils/share.ts의copyToClipboard가 내부 함수로 묶여 있어 export 해서 재사용했습니다. 복사 성공 시 토스트, 미지원 환경에서는 안내가 나갑니다.inviteCode는ParticipantPanel이 이미 갖고 있어(buildInviteUrl에 쓰임) 시트로 내려주는 것으로 끝났습니다.2. 시안 반영
담기 기한·초대 코드body-2-semibold/heading-1-boldcaption-1-semibold/heading-2-semiboldtext-accentsky-blue-500StopwatchIconFill(점선 원형)TimerIconFill(fill)text-accentsky-blue-300(#76cefd)text-neutral-secondaryicon-neutral-secondary(#adb1bb)border-neutral-mutedgray-75body-2-mediumcaption-1-regular변경버튼아이콘은 시안 SVG 를 받아 path 를 대조했습니다. 기존
stopwatch는 점선 원형 테두리라 다른 모양이었고, 프로젝트에 이미 있던fill/timer.svg가 시안과 동일했습니다.색상 값도 시안과 정확히 일치하는 토큰을 골랐습니다(
#76cefd=sky-blue-300,#adb1bb=icon-neutral-secondary).검증
타입·린트 통과했습니다. 사용한 토큰(
caption-1-regular,heading-2-semibold,sky-blue-300/500,gray-75)이 모두 존재하는지 확인했습니다.이 시트를 다루는 e2e 는 없습니다. 실제 화면과 복사 동작은 확인하지 못했습니다.
스크린샷
연관 이슈
closes #548