Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ca8dc4c
feat: 이미지 및 json파일 추가
jissssu Sep 9, 2024
38c33ee
feat: 컴포넌트 분리
jissssu Sep 9, 2024
388f9bf
style: video 추가 및 레이아웃 수정
jissssu Sep 10, 2024
4774d8b
docs: json 파일 데이터 업데이트
jissssu Sep 10, 2024
f875985
feat: 메인 채팅 메세지 표시 및 입력 기능 추가
jissssu Sep 10, 2024
628fb2a
feat: 메세지 전송 기능 및 자동 포커스 추가
jissssu Sep 10, 2024
34b3837
feat: 메세 화면 표시 및 자동 스크롤 기능 추가
jissssu Sep 10, 2024
ce7411f
feat: 키보드 이벤트 추가
jissssu Sep 10, 2024
b229523
fix: 스크롤 제어 함수로 분리
jissssu Sep 10, 2024
71c2e79
fix: 메세지 상태 업데이트
jissssu Sep 10, 2024
7fc68f2
fix: json파일 수정
jissssu Sep 12, 2024
6e93663
fix: 이미지 경로 수정
jissssu Sep 12, 2024
cdb4ba8
feat: constants.js 파일 추가
jissssu Sep 18, 2024
77b4207
refactor: ChatApp.jsx에서 상태 초기화 및 상수 사용 개선
jissssu Sep 18, 2024
6bd593e
refactor: ChatInput.jsx에서 폼 태그 사용 및 autofocus 적용
jissssu Sep 18, 2024
11facf4
refactor: ChatMessages.jsx에서 스크롤 이동 방식 개선 및 상수 사용
jissssu Sep 18, 2024
dfe20a0
refactor: 스타일 코드 최하단 적용
jissssu Sep 18, 2024
5cc7f96
chore:TypeScript 설정 추가
jissssu Sep 18, 2024
d89a988
fix: json파일 id 겹치는 문제 수정
jissssu Sep 18, 2024
6aa470a
refactor: .jsx 파일을 .tsx로 변환
jissssu Sep 18, 2024
f42b0b0
feat: jsx에서 tsx 파일 변환
jissssu Sep 18, 2024
1a5295c
feat: 코드 리팩토링 적용 후 tsx로 변환
jissssu Sep 18, 2024
7f7b278
chore: recoil 및 router 설치
jissssu Oct 9, 2024
e214849
feat: user 및 footer에 들어갈 이미지 추가
jissssu Oct 9, 2024
fb7b5fa
feat: 라우터 경로 추가
jissssu Oct 9, 2024
6ca8ffe
feat: userid 추가 및 chat.json 메세지 내용 변경
jissssu Oct 9, 2024
157dcfe
feat: 메세지 및 유저 관련 recoil 추가
jissssu Oct 9, 2024
14c309b
feat: 채팅 항목 창 추가
jissssu Oct 9, 2024
82ca742
feat: navigate 추가
jissssu Oct 9, 2024
c5170cc
feat: recoil 적용 및 navigate 설정
jissssu Oct 9, 2024
1137555
chore: router 설치 및 업데이트
jissssu Oct 9, 2024
c0a4f72
feat: autofocus 속성 추가
jissssu Oct 9, 2024
88601dd
fix: Header 컴포넌트 레이아웃 수정
jissssu Oct 9, 2024
a027bde
feat: recoil 적용
jissssu Oct 10, 2024
6db242c
feat: 메세지 전송 핸들러추가
jissssu Oct 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/images/dlwlma.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/su.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions src/public/ChatData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[
{
"id": 1,
"userId": 1,
"text": "우리의 네모 칸은 bloom 엄지 손가락으로 장미꽃을 피워",
"time": "오후 08:48"
},
{
"id": 2,
"userId": 0,
"text": "향기에 취할 것 같아 오직 둘만의 비밀의 정원",
"time": "오후 08:48"
},
{
"id": 3,
"userId": 0,
"text": "우리의 색은 gray and blue",
"time": "오후 08:50"
},
{
"id": 4,
"userId": 1,
"text": "금세 터질 것 같아 우",
"time": "오후 08:53"
},
{
"id": 5,
"userId": 0,
"text": "띄어쓰기없이보낼게 사랑인것같애",
"time": "오후 08:55"
},
{
"id": 6,
"userId": 1,
"text": "백만송이 장미꽃을, 나랑 피워볼래?",
"time": "오후 09:08"
},
{
"id": 7,
"userId": 1,
"text": "꽃잎의 색은 우리 마음 가는 대로 칠해",
"time": "오후 09:43"
},
{
"id": 8,
"userId": 1,
"text": "시들 때도 예쁘게",
"time": "오후 09:42"
}
]

13 changes: 13 additions & 0 deletions src/public/UserData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"id": 0,
"userName": "jisu",
"userImage": "/src/images/su.png"
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

UserData와 chatData를 나누셨군요! 저도 고민했던 부분인데 관리하기 편하셨나요?

{
"id": 1,
"userName": "dlwlma",
"userImage": "/src/images/dlwlma.jpeg"
}
]