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

Y_FE_Toy1_Team7 - FASTUDY #5

Open
wants to merge 280 commits into
base: main
Choose a base branch
from
Open

Y_FE_Toy1_Team7 - FASTUDY #5

wants to merge 280 commits into from

Conversation

seungjun222
Copy link

@seungjun222 seungjun222 commented Sep 22, 2023

main

πŸ“Œ ν”„λ‘œμ νŠΈ μ†Œκ°œ

FASTUDYλŠ” ν”„λ‘œμ νŠΈ 및 μŠ€ν„°λ””μ› λͺ¨μ§‘ 및 정보 곡유 μ„œλΉ„μŠ€μž…λ‹ˆλ‹€

πŸ“Œ 배포 μ‚¬μ΄νŠΈ

https://2weeks-team-mzbe-c7xmzksqc-2weeks.vercel.app/

μ•Όλ†€μž ν…Œν¬ μΊ ν”„ 토이 ν”„λ‘œμ νŠΈ μ„€λͺ…

πŸ“… 직원듀을 μœ„ν•œ μœ„ν‚€ μ‚¬μ΄νŠΈ

직원듀을 μœ„ν•œ μœ„ν‚€ μ‚¬μ΄νŠΈλ₯Ό λ§Œλ“€μ–΄λ³΄μ„Έμš”!
μœ„ν‚€ μ‚¬μ΄νŠΈμ—λŠ” μœ„ν‚€ 뿐 μ•„λ‹ˆλΌ μ—¬λŸ¬ κΈ°λŠ₯이 μΆ”κ°€λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€!

[과제 μˆ˜ν–‰ 및 제좜 방법]

  1. ν˜„μž¬ μ €μž₯μ†Œλ₯Ό λ‘œμ»¬μ— 클둠(Clone)ν•©λ‹ˆλ‹€.
  2. μžμ‹ μ˜ νŒ€λͺ…μœΌλ‘œ 브랜치λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.(ꡬ뢄 κ°€λŠ₯ν•˜λ„λ‘ νŒ€λͺ…을 κΌ­ νŒŒμŠ€μΉΌμΌ€μ΄μŠ€λ‘œ ν‘œμ‹œν•˜μ„Έμš”, git branch Y_FE_Toy1_Team13)
  3. μžμ‹ μ˜ νŒ€λͺ… λΈŒλžœμΉ˜μ—μ„œ 과제λ₯Ό μˆ˜ν–‰ν•©λ‹ˆλ‹€.
  4. 과제 μˆ˜ν–‰μ΄ μ™„λ£Œλ˜λ©΄, μžμ‹ μ˜ νŒ€λͺ… 브랜치λ₯Ό 원격 μ €μž₯μ†Œμ— ν‘Έμ‹œ(Push)ν•©λ‹ˆλ‹€.(main λΈŒλžœμΉ˜μ— ν‘Έμ‹œν•˜μ§€ μ•Šλ„λ‘ κΌ­ μ£Όμ˜ν•˜μ„Έμš”, git push origin Y_FE_Toy1_Team13)
  5. μ €μž₯μ†Œμ—μ„œ main 브랜치λ₯Ό λŒ€μƒμœΌλ‘œ Pull Request μƒμ„±ν•˜λ©΄, 과제 제좜이 μ™„λ£Œλ©λ‹ˆλ‹€!(E.g, main <== Y_FE_Toy1_Team13)
  6. Pull Request 링크λ₯Ό LMSλ‘œλ„ μ œμΆœν•΄ μ£Όμ…”μ•Ό ν•©λ‹ˆλ‹€.
  7. main ν˜Ήμ€ λ‹€λ₯Έ μ‚¬λžŒμ˜ 브랜치둜 μ ˆλŒ€ λ³‘ν•©ν•˜μ§€ μ•Šλ„λ‘ μ£Όμ˜ν•˜μ„Έμš”!
  8. Pull Requestμ—μ„œ λ³΄μ΄λŠ” μ„€λͺ…을 λ‹€λ₯Έ μ‚¬λžŒλ“€μ΄ μ΄ν•΄ν•˜κΈ° 쉽도둝 κΌΌκΌΌν•˜κ²Œ μž‘μ„±ν•˜μ„Έμš”!
  9. Pull Requestμ—μ„œ 과제 제좜 ν›„ μ ˆλŒ€ 병합(Merge)ν•˜μ§€ μ•Šλ„λ‘ μ£Όμ˜ν•˜μ„Έμš”!
  10. 과제 μˆ˜ν–‰ 및 제좜 κ³Όμ •μ—μ„œ λ¬Έμ œκ°€ λ°œμƒν•œ 경우, λ°”λ‘œ λ‹΄λ‹Ή λ©˜ν† λ‚˜ κ°•μ‚¬λ‹˜κ»˜ μ–˜κΈ°ν•˜μ„Έμš”!

[ν•„μˆ˜ κ΅¬ν˜„μ‚¬ν•­]

[x] λ¬Έμ„œνŽΈμ§‘, revision κΈ°λŠ₯을 μ œκ³΅ν•˜μ—¬ 업무일지λ₯Ό μž‘μ„±ν•  수 μžˆλŠ” 직원듀을 μœ„ν•œ μœ„ν‚€μ‚¬μ΄νŠΈ κ΅¬ν˜„(λ§ˆν¬λ‹€μš΄ ν˜•μ‹)
[x] firebase database (Firestore) 이용
[x] λͺ¨λ‹¬μ„ ν™œμš©ν•œ 근무 μ‹œκ°„μ„ ν‘œμ‹œν•˜λŠ” μ‹œκ³„ 및 타이머 μ°½ κ΅¬ν˜„
[x] μΊλŸ¬μ…€μ„ ν™œμš©ν•œ νšŒμ‚¬ 곡지 νŽ˜μ΄μ§€
[x] 가러리 νŽ˜μ΄μ§€ / 업무일지 νŽ˜μ΄μ§€ λ“± 메뉴λ₯Ό 필터링 λ˜λŠ” μΉ΄ν…Œκ³ λ¦¬ν™” ν•˜λŠ” 선택바 κ΅¬ν˜„
[x] netlify 등을 μ΄μš©ν•œ 정적 νŽ˜μ΄μ§€ 배포
[x] TypeScript μ‚¬μš© ν•„μˆ˜
[x] κ³Όμ œμ— λŒ€ν•œ μ„€λͺ…을 ν¬ν•¨ν•œΒ README.md 파일 μž‘μ„±
[x] νŒ€μ›λ³„λ‘œ κ΅¬ν˜„ν•œ λΆ€λΆ„ μ†Œκ°œ

[선택 κ΅¬ν˜„μ‚¬ν•­]

[x] React μ‚¬μš©μ€ 선택
[x] 기타 λ™μž‘μ΄ μ™„λ£Œλ˜κΈ° 전에 λ‘œλ”© μ• λ‹ˆλ©”μ΄μ…˜ κ΅¬ν˜„
[x] νŽ˜μ΄μ§€λ„€μ΄μ…˜
[x] κ΄€λ ¨λœ 기타 κΈ°λŠ₯도 κ³ λ €
[x] eslint μ„€μ •, μ»€λ°‹μ»¨λ²€μ…˜, λ¬Έμ„œν™” λ“± νŒ€ν”„λ‘œμ νŠΈμ‹œ ν•„μš”ν•œ μΆ”κ°€ μž‘μ—…λ“€

πŸ“Œ νŒ€ μ†Œκ°œ

μ–΄μŠΉμ€€ ν”„λ‘œν•„ λ°•μ„±ν›„ ν”„λ‘œν•„ 진정민 ν”„λ‘œν•„ 백상원 ν”„λ‘œν•„ μ„œμ˜ˆλΉˆ ν”„λ‘œν•„
μ–΄μŠΉμ€€
νŒ€μž₯ (FE)
λ°•μ„±ν›„
νŒ€μ› (FE)
진정민
νŒ€μ› (FE)
백상원
νŒ€μ› (FE)
μ„œμ˜ˆλΉˆ
νŒ€μ› (FE)

πŸ“Œ Contributor

@JeongMin83 (진정민) : λ©”μΈνŽ˜μ΄μ§€, 둜그인, λͺ¨μ§‘

@seungjun222 (μ–΄μŠΉμ€€) : μ‚¬μ΄λ“œλ°”, λͺ¨μ§‘

@Yamyam-code (백상원) : λ§ˆμ΄νŽ˜μ΄μ§€

@HOOOO98 (λ°•μ„±ν›„) : 가러리

@syb0127 (μ„œμ˜ˆλΉˆ) : μœ„ν‚€

πŸ“Œ 기술 μŠ€νƒ

Environment

FrontEnd

DB

Deploy

Communication

πŸ“Œ μ£Όμš” ν™”λ©΄ 및 κΈ°λŠ₯

둜그인

login

λ©”μΈνŽ˜μ΄μ§€

main

μœ„ν‚€

wiki_demo (4)

λͺ¨μ§‘

recuritment_demo

가러리

gallery

λ§ˆμ΄νŽ˜μ΄μ§€

myPage

πŸ“Œ DB μŠ€ν‚€λ§ˆ

Movie Database

πŸ“Œ μœ μ € ν”Œλ‘œμš°

πŸ“Œ 파일 ꡬ쑰

2weeks-team/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ common/
β”‚   β”‚    β”œβ”€β”€ Footer/
|   |    |   .
|   |    |   .
β”‚   β”‚    └── Header/
β”‚   β”‚    
β”‚   β”œβ”€β”€ components/    
β”‚   β”‚    β”œβ”€β”€ ChannelModal/
β”‚   β”‚    β”œβ”€β”€ SidebarGallery/
|   |    |   .
|   |    |   .
|   |    |   .
β”‚   β”‚    └── Slider/
β”‚   β”‚    
β”‚   β”œβ”€β”€ fonts/                  # μΆ”ν›„ assets둜
β”‚   β”œβ”€β”€ pages/     
β”‚   β”‚    β”œβ”€β”€ Gallery/
β”‚   β”‚    β”œβ”€β”€ Home/
|   |    |   .
|   |    |   .
|   |    |   .
β”‚   β”‚    └── Wiki/     
β”‚   β”‚    
β”‚   β”œβ”€β”€ utils/           
β”‚   β”‚    β”œβ”€β”€ firebase.ts
β”‚   β”‚    └── recoil.ts
β”‚   β”‚    
β”‚   β”œβ”€β”€ App.tsx
β”‚   β”œβ”€β”€ index.tsx
β”‚   β”œβ”€β”€ GlobalStyle.tsx
β”‚   β”œβ”€β”€ fonts.d.ts
β”‚   └── custom.d.ts
β”‚
β”œβ”€β”€ public/
β”‚   └── index.html
β”‚  
β”œβ”€β”€ node_modules/
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ .eslintrc
β”œβ”€β”€ README.md
└── ...

πŸ“Œ 개발 κΈ°κ°„ : 2μ£Ό 23.09.11 ~ 23.09.22

HOOOO98 and others added 30 commits September 14, 2023 12:15
…Channel

TW-37--feature/sidebar/deleteChannel
…Channel

Feat: 채널 μˆ˜μ • κΈ°λŠ₯ κ΅¬ν˜„
…SubChannel

Feat: μ„œλΈŒμ±„λ„ μΆ”κ°€ κΈ°λŠ₯ κ΅¬ν˜„
…SubChannel

Feat: μ„œλΈŒμ±„λ„ μ‚­μ œ κΈ°λŠ₯ κ΅¬ν˜„
…SubChannel

Feat: μ„œλΈŒμ±„λ„ μˆ˜μ • κΈ°λŠ₯ κ΅¬ν˜„
Tw 43  feature/login -> dev 병합
@seungjun222 seungjun222 self-assigned this Sep 22, 2023
@seungjun222 seungjun222 changed the title Y fe toy1 team7 Y_FE_Toy1_Team7 - FASTUDY Sep 22, 2023
wowba pushed a commit that referenced this pull request Sep 22, 2023
Test: PRν…ŒμŠ€νŠΈμš© 컀밋
noSPkeepgoing pushed a commit that referenced this pull request Sep 22, 2023
둜그인 성곡 μ‹œ μœ μ € 데이터 생성
Sinary00 pushed a commit that referenced this pull request Sep 22, 2023
.env 파일 μ—°κ²° 였λ₯˜λ₯Ό μˆ˜μ •ν•œλ‹€.
im-na0 pushed a commit that referenced this pull request Sep 22, 2023
im-na0 pushed a commit that referenced this pull request Sep 22, 2023
Feat: ν”„λ‘œμ νŠΈ νŽ˜μ΄μ§€ λ§ˆν¬μ—…
TaePoong719 added a commit that referenced this pull request Sep 22, 2023
TaePoong719 added a commit that referenced this pull request Sep 22, 2023
TaePoong719 added a commit that referenced this pull request Sep 22, 2023
TaePoong719 added a commit that referenced this pull request Sep 22, 2023
Copy link
Member

@iamidlek iamidlek left a comment

Choose a reason for hiding this comment

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

κ³ μƒν•˜μ…¨μŠ΅λ‹ˆλ‹€.

μ „λ°˜μ μœΌλ‘œ 배포된 μ‚¬μ΄νŠΈλŠ” 문제 없이 λ™μž‘ν•˜λŠ” 것을 확인 ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
둜그인 λ“± 가진 데이터λ₯Ό ν™œμš©ν•˜μ—¬ μ£Όμš”ν•œ κΈ°λŠ₯을 잘 κ΅¬ν˜„ν•΄ μ£Όμ‹  것 κ°™μŠ΅λ‹ˆλ‹€.

λ‹€λ§Œ νƒ€μž…μ΄ any둜 λ˜μ–΄μžˆλŠ” 뢀뢄이 많고
μ»΄ν¬λ„ŒνŠΈ 내에 λ„ˆλ¬΄ λ§Žμ€ 둜직이 λͺ°λ €μžˆλŠ” κ²½μš°κ°€ 많고
λΆˆν•„μš”ν•œ importλ‚˜ stateμ„ μ–Έ λ“± μ½”λ“œμ˜ 질적인 면이 μ•„μ‰¬μš΄ 것 κ°™μŠ΅λ‹ˆλ‹€.
μ»΄ν¬λ„ŒνŠΈ, ν•¨μˆ˜μ˜ λ³΅μž‘μ„±μ„ 쀄이고
μ–΄λ–€ν•œ 처리λ₯Ό ν•˜λŠ”μ§€ λͺ…ν™•ν•˜κ²Œ λΆ„λ¦¬ν•˜λŠ” 것이 ν•„μš”ν•΄ λ³΄μž…λ‹ˆλ‹€.
일반적인 폴더 μ»¨λ²€μ…˜μ„ μ°Ύμ•„ λ³΄μ‹œλŠ” 것을 μΆ”μ²œλ“œλ¦½λ‹ˆλ‹€.


Plz check if your code fulfills the following requirements.

- [ ] The Commit message follows our conventions.
Copy link
Member

Choose a reason for hiding this comment

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

크게 상관은 μ—†μ§€λ§Œ md μž‘μ„± 방법이 λ§žμ§€ μ•ŠλŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.

그리고 templateνŒŒμΌμ€ .github 폴더 내뢀에 μžˆμ–΄μ•Ό ν•  것 κ°™μŠ΅λ‹ˆλ‹€.

Comment on lines +72 to +73
<ThemeProvider theme={theme}>
<GlobalStyle />
Copy link
Member

Choose a reason for hiding this comment

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

μŠ€νƒ€μΌ κ΄€λ ¨ 폴더가 μ—†λŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.
themeκ³Ό globalstyle을 λ³„λ„λ‘œ λΆ„λ¦¬ν•˜μ—¬ λΆˆλŸ¬μ˜€λŠ” 것이 쒋을 것 κ°™μŠ΅λ‹ˆλ‹€.
theme λ³€μˆ˜λ„ μ»΄ν¬λ„ŒνŠΈ 내뢀에 μœ„μΉ˜ν•˜μ§€ μ•Šμ•„λ„ 될 것 κ°™μŠ΅λ‹ˆλ‹€.

Copy link
Member

Choose a reason for hiding this comment

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

μ‚¬μš©λ˜λŠ” νŒŒμΌμΌκΉŒμš”?

Comment on lines +10 to +19
export const UserId = atom({
key: 'userId',
default: '',
effects_UNSTABLE: [persistAtom],
});

export const channelState = atom({
key: 'channelState',
default: '',
});
Copy link
Member

Choose a reason for hiding this comment

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

각 atom을 λΆ„λ¦¬ν•˜λŠ” 것이 쒋을 것 κ°™μŠ΅λ‹ˆλ‹€.
utils 폴더 내뢀에 storeκ΄€λ ¨ μ½”λ“œκ°€ μžˆλŠ” 것도 μ–΄μƒ‰ν•œ 것 κ°™μŠ΅λ‹ˆλ‹€.

import { getAuth } from 'firebase/auth';
import { Snapshot } from 'recoil';

const firebaseConfig = {
Copy link
Member

Choose a reason for hiding this comment

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

firebase μ—°κ²° 및 μš”μ²­μ€ util 폴더에 μžˆλŠ” 것이 μ–΄μƒ‰ν•œ 것 κ°™μŠ΅λ‹ˆλ‹€.
λ˜ν•œ λͺ¨λ“  μš”μ²­μ΄ ν•œ νŒŒμΌμ— λ˜μ–΄μžˆμ–΄ 뢄리가 ν•„μš”ν•΄ λ³΄μž…λ‹ˆλ‹€.

<ChangeTimer value={showModal}>
<TimerIcon
onClick={() => {
handleTimerModal(1);
Copy link
Member

Choose a reason for hiding this comment

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

λ‚˜μ€‘μ— 1이 μ–΄λ–€ μ˜λ―ΈμΈμ§€ μ•Œ 수 없을 것 κ°™μŠ΅λ‹ˆλ‹€. magic numberλŠ” μ§€μ–‘ν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€.

readTimelog.map((e: string, i) => {
e = e.replace('|', '\n');
return (
<TimelogEl key={i}>
Copy link
Member

Choose a reason for hiding this comment

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

key의 값을 index둜 μ£ΌλŠ” 것은 μ§€μ–‘ν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€.


<div style={{ marginLeft: '20px' }}>
{item.docKeys.map((item2, index2) => (
<SubChannelFlexDiv
Copy link
Member

Choose a reason for hiding this comment

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

keyλ₯Ό μ£ΌλŠ” 것이 λΉ μ ΈμžˆλŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.

</ChannelFlexDiv>

<div style={{ marginLeft: '20px' }}>
{item.docKeys.map((item2, index2) => (
Copy link
Member

Choose a reason for hiding this comment

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

item2 index2κ³Ό 같은 넀이밍은 μ§€μ–‘ν•˜λŠ” 것이 쒋을 것 κ°™μŠ΅λ‹ˆλ‹€.

e.preventDefault();

const { deltaY } = e;
const { scrollTop } = outerDivRef.current!;
Copy link
Member

Choose a reason for hiding this comment

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

νƒ€μž… κ°€λ“œλ₯Ό 톡해 μžˆλŠ”μ§€ μ—†λŠ”μ§€ μ—¬λΆ€λ₯Ό 확인 ν•œ ν›„ μ‚¬μš©ν•˜λ©΄ 될 것 κ°™μŠ΅λ‹ˆλ‹€.
if (!outerDivRef.current) { 처리 }

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.

6 participants