Skip to content

[FIX] 채팅방 실패 상태 입력 영역 비활성화 - #89

Merged
Obebe-creator merged 2 commits into
devfrom
feature/chat-room-error-state
Aug 8, 2026
Merged

[FIX] 채팅방 실패 상태 입력 영역 비활성화#89
Obebe-creator merged 2 commits into
devfrom
feature/chat-room-error-state

Conversation

@Obebe-creator

@Obebe-creator Obebe-creator commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

📋 작업 내용

  • 채팅방 생성/입장 실패 상태에서 표시되는 안내 UI를 Figma에 맞게 작성했습니다.
  • 채팅방이 준비되지 않은 상태에서는 채팅 입력 영역의 실제 동작을 비활성화했습니다.

🔥 변경 사항

  • ChatRoomCreateError의 info 표시를 Figma 시안에 맞게 연한 원형 배경 + i 형태로 조정했습니다.
  • ChatRoomModalcomposerDisabled prop을 추가했습니다.
  • composerDisabled 상태에서 + 메뉴, 메시지 input, 전송 버튼이 동작하지 않도록 처리했습니다.
  • 실제 바텀시트 open 상태와 aria-expanded 값이 일치하도록 정리했습니다.
  • 채팅방이 없는 준비 중/생성 실패 상태에서 composerDisabled를 전달하도록 연결했습니다.

✅ 체크리스트

  • 로컬에서 정상 동작을 확인했습니다.
  • 기존 기능에 영향을 주지 않는지 확인했습니다.
  • 불필요한 console.log를 제거했습니다.
  • lint를 통과했습니다.
  • README 또는 문서를 수정했습니다. (필요 시)
  • API 명세와 일치하는지 확인했습니다.

📷 스크린샷 (선택)


🔗 관련 이슈

Closes #


💬 To Reviewer

  • 채팅방 생성/입장 실패 시 모달 내부 실패 UI가 Figma 시안과 맞는지 확인 부탁드립니다.
  • 채팅방이 없는 상태에서 + 메뉴, 메시지 입력, 전송 버튼이 모두 비활성화되는지 중점적으로 확인 부탁드립니다.

Summary by CodeRabbit

  • 새 기능

    • 채팅방이 활성화되지 않은 동안 메시지 작성 영역과 관련 액션을 사용할 수 없도록 했습니다.
    • 비활성화 상태에서 입력창, 액션 메뉴, 전송 버튼이 명확하게 표시됩니다.
  • 스타일 개선

    • 오류 안내 아이콘과 재시도 버튼의 표시 스타일을 조정했습니다.

@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
moving-frontend Ready Ready Preview Aug 8, 2026 7:11am
moving-frontend-p2ol Ready Ready Preview Aug 8, 2026 7:11am

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b137d71-e1b2-443d-a993-7ede15b1c105

📥 Commits

Reviewing files that changed from the base of the PR and between ad38b2d and 0575b5d.

📒 Files selected for processing (1)
  • src/components/chat/ChatRoomModal.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/components/chat/ChatRoomModal.tsx

📝 Walkthrough

Walkthrough

채팅방 생성 또는 조회가 완료되기 전 ChatRoomModal의 컴포저를 비활성화합니다. 액션 메뉴, 입력창, 전송 버튼에 상태를 적용합니다. 생성 오류 UI에서는 정보 표시를 텍스트 i로 바꾸고 재시도 버튼 너비를 고정합니다.

Changes

채팅 컴포저 상태

Layer / File(s) Summary
컴포저 비활성화 계약과 전파
src/components/chat/ChatRoomModal.tsx, src/components/chat/ChatRoomModalContainer.tsx
composerDisabled 속성을 추가했습니다. 비활성화 상태에서 액션 메뉴 토글, 메시지 입력, 전송을 막고 관련 접근성 속성과 스타일을 갱신합니다. 준비 전 모달에 해당 속성을 전달합니다.

생성 오류 UI 조정

Layer / File(s) Summary
오류 안내와 재시도 버튼 표시
src/components/chat/ChatRoomCreateError.tsx
InfoIcon을 텍스트 i로 대체했습니다. 재시도 버튼 너비를 200px로 고정했습니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant ChatRoomModalContainer
  participant ChatRoomModal
  participant ActionMenu
  participant MessageInput
  ChatRoomModalContainer->>ChatRoomModal: composerDisabled 전달
  ChatRoomModal->>ActionMenu: 비활성화 및 aria 상태 적용
  ChatRoomModal->>MessageInput: 입력 및 전송 비활성화
Loading

Possibly related PRs

Suggested reviewers: youngmis

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 채팅방 실패 상태에서 입력 영역을 비활성화하는 주요 변경 사항을 정확하게 요약합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/chat-room-error-state

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/chat/ChatRoomModal.tsx`:
- Line 51: `ChatRoomModal`의 + 버튼과 전송 버튼에 비활성화 전용 배경·텍스트·테두리 토큰을 함께 적용하세요.
`isSendDisabled`가 사용하는 두 버튼의 class 조합에서 기존 disabled 배경 스타일을 유지하고 disabled 텍스트 및
테두리 스타일을 추가하며, 입력창의 `disabled:text-text-muted`와 `bg-background-subtle` 스타일은 변경하지
마세요.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c5759fea-a36b-465f-a17d-5495db52836a

📥 Commits

Reviewing files that changed from the base of the PR and between c9d4fe4 and ad38b2d.

📒 Files selected for processing (3)
  • src/components/chat/ChatRoomCreateError.tsx
  • src/components/chat/ChatRoomModal.tsx
  • src/components/chat/ChatRoomModalContainer.tsx

Comment thread src/components/chat/ChatRoomModal.tsx
@Obebe-creator
Obebe-creator merged commit 9c711e3 into dev Aug 8, 2026
4 checks passed
@Obebe-creator Obebe-creator changed the title fix: 채팅방 실패 상태 입력 영역 비활성화 [FIX] 채팅방 실패 상태 입력 영역 비활성화 Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant