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

[4주차] 조유담 미션 제출합니다. #18

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
486587c
Chore : eslint, prettier 설치
youdame Mar 28, 2024
612dc53
File : 불필요한 파일 삭제
youdame Mar 28, 2024
7cc5f18
Initial commit
youdame Mar 28, 2024
6bf92fc
Feat : 초기 레이아웃 구현
youdame Mar 28, 2024
1a648aa
Feat : svgr 설정 및 헤더 생성
youdame Mar 28, 2024
e134c1e
Feat : 절대 경로 설정
youdame Mar 28, 2024
190516d
Feat : 채팅방 헤더 구현
youdame Mar 28, 2024
02dcc4c
Feat : 인풋 창 구현
youdame Mar 29, 2024
50ba1e3
Feat : 초기 레이아웃 완성 및 mock data 등록
youdame Mar 29, 2024
a06d6b9
Feat : 유저 토글 기능 구현
youdame Mar 29, 2024
b7afda5
Fix : 채팅 구현 오류 수정
youdame Mar 29, 2024
7cbfdee
Refactor : state 개수 줄이고 간단하게 구현
youdame Mar 29, 2024
952565b
Feat : 스크롤 하단으로 화면 고정 기능 구현
youdame Mar 29, 2024
038da6b
Fix : node_modules 문제 해결 중
youdame Mar 29, 2024
4393c8d
Refactor : input을 textarea로 변경하여 shift + enter 가능하게 수정
youdame Mar 29, 2024
e6bafcd
Refactor : $ prefix를 사용함으로써 스타일드 컴포넌트의 props이 dom으로 전달되지 않게 막음
youdame Mar 29, 2024
8884ace
Feat : 접속 시간 계산 및 createdAt 시간만 남기는 함수 구현
youdame Mar 29, 2024
96d2636
Feat : 기능 구현 완성
youdame Mar 29, 2024
0e3dd20
Refactor : 시간 계산 함수 하나로 통일
youdame Mar 29, 2024
129c0e5
Refactor : 컴포넌트 분리
youdame Mar 30, 2024
4d0642b
Refactor : input창 UX적 수정
youdame Mar 30, 2024
135b19f
Refactor : 폴더 구조 변경
youdame Mar 30, 2024
c5af0f8
Feat : 인풋 값이 존재할 때만 보내기 아이콘 보이게 구현
youdame Mar 30, 2024
a0472de
Feat : 파일 첨부 기능 추가
youdame Mar 30, 2024
b8f8cc1
Feat : og 태그 및 파비콘 설정
youdame Mar 30, 2024
2c98f8f
Refactor : 주석 달기
youdame Mar 30, 2024
6d98945
Feat : 답장하기 샘플 구현
youdame Mar 31, 2024
a9f18be
Feat : 채팅 리스트 퍼블리싱 상단바 완성
youdame May 2, 2024
61a815c
Feat : 채팅방 리스트 초기 데이터 생성
youdame May 2, 2024
49e9320
Feat : 채팅 리스트 출력
youdame May 2, 2024
4ef81b0
Feat : 채팅방 리스트 구현 완료
youdame May 2, 2024
7030ff9
Feat : 채팅방 리스트랑 채팅방 연결 완료
youdame May 2, 2024
b242bd9
Feat : settings 완성
youdame May 3, 2024
1f14a36
Feat : Settings 완성
youdame May 3, 2024
c266c10
Feat : 하단 네비게이션 바 구현 완료
youdame May 3, 2024
0c3871d
Feat : contacts 페이지 완성
youdame May 3, 2024
8f28bda
Feat : contact에서 채팅방으로 연결
youdame May 3, 2024
d352f8d
Fix : 사진 전송 문제 해결
youdame May 3, 2024
da59e44
Fix : UI 움직임 문제 해결
youdame May 4, 2024
179098a
Fix : 채팅방 뒤로가기 버튼 이전 페이지로 변경 및 잘못된 mock 데이터 수정
youdame May 4, 2024
c7ac38d
Refactor : 배경색 결정 코드 리팩토링
youdame May 4, 2024
7206ddd
Refactor : 이전에 보낸 시간과 같다면 시간 보여지지 않게 고침
youdame May 4, 2024
1ea7fb6
Feat : 메세지 답장하기 기능 구현 중
youdame May 5, 2024
a880224
Feat : 답장하기 기능 구현 중
youdame May 5, 2024
bd080f6
Feat : 답장하기 기능 완성
youdame May 5, 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
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
// 어떤 규칙들과 설정으로 eslint를 사용할지 명시
"extends": [
"prettier",
"eslint:recommended",
"plugin:react/recommended", //ESLint의 내장되어있는 추천 설정을 사용
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended" // 타입스크립트 전용 규칙을 추가적으로 사용할 수 있음
],
"parser": "@typescript-eslint/parser", // 타입스크립트용 eslint parser
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"react/react-in-jsx-scope": "off", // JSX를 사용할 때 React가 일일이 import되지 않으면 에러(리액트 17 이후부터는 안해줘도 됨)-> off
"no-unused-vars": "warn", // 사용하지 않는 변수가 있을 때 -> warn
"@typescript-eslint/no-unused-vars": "warn",
"react/prop-types": "off", // prop의 타입을 정의해주지 않으면 -> warn
"@typescript-eslint/no-explicit-any": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"semi": true
}
Loading