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

[FE] 코드잽 프로덕션 v1.1.2 배포 #711

Merged
merged 114 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
13dcb98
refactor(src): 폴더 구조 변경
Jaymyong66 Sep 12, 2024
1c72b09
chore: eslint - import order rule 변경
Jaymyong66 Sep 12, 2024
3dcd9d5
refactor(reoutes): HomeRouter 제거
Jaymyong66 Sep 12, 2024
731f399
refactor(routes): RouteGuard - children 타입을 ReactElement로 변경
Jaymyong66 Sep 12, 2024
f50f102
refactor(scroll): befavior 타입 단언
Jaymyong66 Sep 12, 2024
f332496
chore: webpack - Sentry org 변경
Jaymyong66 Sep 12, 2024
4a7bdba
chore: package - tsc 스크립트 변경
Jaymyong66 Sep 12, 2024
37eac27
chore: package - version 1.1.1로 변경
Jaymyong66 Sep 12, 2024
abd3717
refactor(models): models 도메인별 하위 폴더 생성
Jaymyong66 Sep 13, 2024
eff3754
refactor(routes): eslint 변경에 따른 import문 공백 추가
Jaymyong66 Sep 13, 2024
aab9486
chore: e2e테스트 - playwright 초기 설정
Jaymyong66 Sep 13, 2024
30cc56c
feat(e2eTests): 예시 테스트 코드 추가
Jaymyong66 Sep 13, 2024
39a7631
feat(e2eTests): 예시 테스트 코드 변경
Jaymyong66 Sep 13, 2024
77d43e4
feat(workflows): playwright github action 스크립트 적용
Jaymyong66 Sep 13, 2024
c61879c
chore: jset.config - jest 명령어에서 e2e 테스트 분리
Jaymyong66 Sep 13, 2024
23868a4
Merge pull request #643 from woowacourse-teams/refactor/639-change-fo…
vi-wolhwa Sep 15, 2024
1b3ac4b
Merge pull request #644 from woowacourse-teams/feat/636-e2e-init
vi-wolhwa Sep 15, 2024
09c5619
feat(e2eTests): 템플릿 관련 핵심기능 E2E 테스트 작성
Jaymyong66 Sep 15, 2024
195b782
chore: jest.config - testIgnorePattern에 e2eTests 폴더만 명시적으로 적용
Jaymyong66 Sep 15, 2024
0e596b8
chore: 불필요한 의존성 제거
Hain-tain Sep 15, 2024
b5be640
feat(e2eTests): loginToCodezap, waitForSuccess 생성
Hain-tain Sep 15, 2024
340b25c
feat(e2eTests): 카테고리 관련 e2e 테스트 작성
Hain-tain Sep 15, 2024
e2150c9
feat(e2eTests): 검색 관련 e2e 테스트 작성
Hain-tain Sep 15, 2024
351865d
refactor(e2eTest): waitForSuccess 의 parameter를 url => apiUrl 로 변경
Hain-tain Sep 19, 2024
641304e
refactor(e2eTests): waitForSuccess 유틸함수를 활용, 파일명 오타 수정(공백제거_
Jaymyong66 Sep 19, 2024
bbd8417
refactor(e2eTests): templates 관련 공통 로직을 actions 파일로 분리
Jaymyong66 Sep 19, 2024
8f111be
chore: playwright dotenv 설정 추가
Hain-tain Sep 19, 2024
581911c
feat(e2eTest): actions 파일 분리
Hain-tain Sep 19, 2024
8721b42
refactor(e2eTest): testUtils => utils 로 이름 변경, loginToCodezap 의 파라미터 …
Hain-tain Sep 19, 2024
11aa70e
refactor(e2eTest): 변수 할당하여 재사용하도록 변경, 각 actions 적용 및 env 적용
Hain-tain Sep 19, 2024
c7c2d8d
refactor(e2eTests): templates - Locator를 의미있는 네이밍을 가진 변수에 할당
Jaymyong66 Sep 19, 2024
dc9f86e
refactor(e2eTests): templates - 템플릿 업로드 action에서 요청 success, redirect…
Jaymyong66 Sep 19, 2024
ffa04e8
refactor(e2eTests): utill - waitForSuccess에 201 status 추가, login 요청 s…
Jaymyong66 Sep 19, 2024
691f355
refactor(e2eTests): templates - 수정을 위한 템플릿 생성 케이스 제거, 테스트 변수명 변경
Jaymyong66 Sep 19, 2024
8f57161
refactor(e2eTests): 테스트에 불필요한 click 이벤트 제거
Jaymyong66 Sep 19, 2024
daeca6f
Merge pull request #672 from woowacourse-teams/feat/636-e2e-category-…
Jaymyong66 Sep 20, 2024
ee0c2f5
Merge branch 'dev/fe' of https://github.com/woowacourse-teams/2024-co…
Jaymyong66 Sep 20, 2024
33e4190
refactor(e2eTests): templates - waitForSuccess의 인자 변수명을 apiUrl로 변경
Jaymyong66 Sep 20, 2024
2108363
refactor(e2eTests): 테스트 아이디 환경변수 적용
Jaymyong66 Sep 20, 2024
4d6a1f1
refactor(e2eTests): templates - 템플릿 업로드 전 카테고리 목록 요청 응답을 기다리도록 변경
Jaymyong66 Sep 20, 2024
288f483
feat(playwright): 테스트 전 로그인을 authentication page context로 저장
Jaymyong66 Sep 20, 2024
1e0b106
refactor(playwright): e2eTests -> playwright로 폴더 변경, 로그인 beforeEach 제거
Jaymyong66 Sep 20, 2024
f417b61
refactor(tests): authentication - 로그인 테스트 제거
Jaymyong66 Sep 20, 2024
77b1a5b
feat(tests): category, search - 테스트 전, page 이동
Jaymyong66 Sep 20, 2024
3ff4404
chore: package.json - e2e 관련 스크립트 추가
Jaymyong66 Sep 20, 2024
6b4f993
chore: jest.config - CI에서 playwright 제외
Jaymyong66 Sep 20, 2024
5eefd65
refactor(tests): templates.actions - categories waitForSuccess 오류를 wa…
Jaymyong66 Sep 20, 2024
262d293
refactor(tests): search 테스트에서 검색 테스트의 키워드 '테스트'=>'검색테스트'로 변경
Hain-tain Sep 20, 2024
2a6c8b1
refactor(tests): templates - 테스트로 만들어진 템플릿 삭제 처리
Jaymyong66 Sep 20, 2024
8a3c479
refactor(tests): templates - 생성하는 템플릿 정보에 테스트 브라우저 환경 추가
Jaymyong66 Sep 20, 2024
ad02ef6
Merge branch 'feat/636-e2e-init' of https://github.com/woowacourse-te…
Jaymyong66 Sep 20, 2024
a14702f
refactor(playwright): templates - 테스트 중 에러 발생 시, 생성한 템플릿 제거를 finally로 처리
Jaymyong66 Sep 20, 2024
d968b6e
refactor(playwright): category - 테스트 중 에러 발생 시, 생성한 템플릿 제거를 finally로 처리
Jaymyong66 Sep 20, 2024
f64ad48
Merge pull request #647 from woowacourse-teams/feat/636-e2e-init
vi-wolhwa Sep 23, 2024
f50d02e
feat(api): 좋아요 기능 API 함수 구현
vi-wolhwa Sep 23, 2024
6f41fc6
feat(images): 좋아요 아이콘 생성 (like, unlike, unClickable)
vi-wolhwa Sep 23, 2024
dd169ea
test(mocks): templateList 데이터에 'isLiked', 'likeCount' 추가
vi-wolhwa Sep 23, 2024
59a6e0c
feat(utils): 1000 이상의 숫자를 'k'단위로 표기하는 formatWithK 유틸함수 구현
vi-wolhwa Sep 24, 2024
1085fa8
test(mocks): templateList 데이터에 'member' 정보 추가
vi-wolhwa Sep 24, 2024
704c712
feat(images): 'like' 아이콘에 'size' 변수 추가 및 색상 변경
vi-wolhwa Sep 24, 2024
ea64410
feat(LikeWidget): 좋아요 위젯 구현
vi-wolhwa Sep 24, 2024
e134264
feat(TemplateCard): 템플릿 카드에 좋아요 위젯 적용
vi-wolhwa Sep 24, 2024
0618887
refactor(images): 좋아요 아이콘의 'unlike' 상태에서 테두리 색 변경 (white > #393E46)
vi-wolhwa Sep 24, 2024
1f448a4
refactor(LikeWidget): 좋아요 버튼의 카운터 포멧 로직을 상위컴포넌트에서 'LikeWidget' 내부로 이동
vi-wolhwa Sep 24, 2024
0ac0b88
refactor(LikeWidget): 좋아요 위젯 마우스 커서 변경(pointer) 및 import path alias
vi-wolhwa Sep 24, 2024
e7a4d05
refactor(LikeWidget): 좋아요 위젯의 핸들러 함수명 변경 (onLikeButtonClick > onLikeW…
vi-wolhwa Sep 24, 2024
bedc9b7
refactor(LikeWidget): console.log 삭제
vi-wolhwa Sep 24, 2024
0957771
refactor(api): 좋아요 API 요청 실패 조건문 변경
vi-wolhwa Sep 24, 2024
628e251
fix(routes): 좋아요 요청 endpoint 변경 (like > /like)
vi-wolhwa Sep 24, 2024
bb911ab
test(mocks): 좋아요 기능 MSW 핸들러 구현
vi-wolhwa Sep 24, 2024
5586a3b
refactor(api): api/index.ts
vi-wolhwa Sep 24, 2024
03124ef
feat(api): 좋아요 기능 Mutation 훅 구현
vi-wolhwa Sep 24, 2024
5a83c0e
test(mocks): templateList 데이터의 작성자를 두 명으로 분리
vi-wolhwa Sep 24, 2024
82f6725
feat(hooks): useLike 훅 구현
vi-wolhwa Sep 24, 2024
c25504b
feat(TemplatePage): 템플릿 상세 페이지에 좋아요 기능 구현
vi-wolhwa Sep 24, 2024
a94465c
refactor(LikeWidget): 미사용 스타일드 컴포넌트 제거
vi-wolhwa Sep 24, 2024
6b33aab
test(queries): 'useTemplateQuery' 테스트에 'AuthProvider' 추가
vi-wolhwa Sep 24, 2024
3bd211d
refactor(src): 변수명 변경 (likeCount > likesCount)
vi-wolhwa Sep 24, 2024
0c7ae56
fix(api): 템플릿 리스트 요청 시, memberId를 QueryParam으로 보내고 있는 문제 해결
vi-wolhwa Sep 24, 2024
e035923
fix(api): 좋아요 API 중복된 에러 처리 조건 제거
vi-wolhwa Sep 24, 2024
fe598ff
refactor(images): 좋아요 아이콘 디자인 변경 (stroke, 디자인시스템)
vi-wolhwa Sep 25, 2024
b3d6d15
refactor(components): LikeWidget 컴포넌트 분리 (LikeCounter, LikeButton)
vi-wolhwa Sep 25, 2024
46392d7
refactor(TemplatePage): 좋아요 취소 기능 낙관적 업데이트 적용
vi-wolhwa Sep 25, 2024
bdbc687
design(TemplatePage): 템플릿 상세 페이지 좋아요 버튼 디자인 수정
vi-wolhwa Sep 25, 2024
050acc5
fix(workflows): 깃허브 액션 환경변수 문제 해결
vi-wolhwa Sep 25, 2024
607f79e
refactor(workflows): 미사용 워크플로 제거
vi-wolhwa Sep 25, 2024
4b47efe
fix(workflows): FE CD의 build 환경 설정
vi-wolhwa Sep 25, 2024
e7f2673
Merge pull request #689 from woowacourse-teams/fix/frontend-cd-on-beta
Jaymyong66 Sep 25, 2024
347b276
refactor(LikeButton): 컴포넌트명이 수정되지 않았던 문제 수정
vi-wolhwa Sep 25, 2024
b09161e
refactor(TemplatePage): useLike 훅에서 비동기 작업, 서버 요청의 처리 순서에 따른 좋아요 상태 위…
vi-wolhwa Sep 25, 2024
58362c2
design(LikeButton): 템플릿상세페이지 좋아요 버튼의 width를 유동적으로 변경
vi-wolhwa Sep 25, 2024
23d2458
refactor(TemplatePage): useLike 훅에서 setLikesCount 방식 변경
vi-wolhwa Sep 25, 2024
f940ad6
Merge pull request #686 from woowacourse-teams/feat/668-template-like
Jaymyong66 Sep 25, 2024
116d8c1
feat(NonmemberAlerter): NonmemberAlerter 컴포넌트 구현
vi-wolhwa Sep 25, 2024
eb6bb24
feat(TemplatePage): 비회원이 좋아요 버튼 클릭 시, 로그인 안내 모달
vi-wolhwa Sep 25, 2024
d263f80
refactor(TemplatePage): 좋아요 버튼 클릭시 로그인 상태 판단 name => isLogin으로 변경
Hain-tain Sep 26, 2024
ecbc4d8
chore: 버전 1.1.1 업데이트 package-lock에 반영
vi-wolhwa Sep 26, 2024
762e5f1
design(TemplateCard): 템플릿카드에서 긴 이름 ellipsis 처리
vi-wolhwa Sep 26, 2024
661c8fc
chore: webpack.common - cache busting 기법 적용
Jaymyong66 Sep 26, 2024
ddc7c91
refactor(TemplatePage): 템플릿 편집
vi-wolhwa Sep 26, 2024
130976e
design(images): like 아이콘 색 변경
vi-wolhwa Sep 26, 2024
1b9bb37
design(LikeButton): 좋아요 버튼 디자인 변경
vi-wolhwa Sep 26, 2024
e2cd325
design(TemplatePage): 편집, 삭제 버튼 크기, 위치 조정
vi-wolhwa Sep 26, 2024
26ead99
Merge pull request #693 from woowacourse-teams/feat/688-template-like…
Jaymyong66 Sep 26, 2024
29356a2
Merge pull request #700 from woowacourse-teams/refactor/697-design-im…
Hain-tain Sep 26, 2024
3180344
feat(src): 구경가기 페이지 검색 기능 추가
Hain-tain Sep 26, 2024
e2a11ec
feat(api): SORTING_OPTIONS에 좋아요 추가
Hain-tain Sep 26, 2024
3dbb1d3
Merge pull request #708 from woowacourse-teams/feat/707-explore-searc…
vi-wolhwa Sep 26, 2024
51e3094
chore: package.json - version을 1.1.2로 변경
Jaymyong66 Sep 26, 2024
fb20eb6
feat(src): NoSearchResults 생성 및 적용
Hain-tain Sep 26, 2024
fa9c2a8
Merge pull request #698 from woowacourse-teams/feat/695-cache-setting
vi-wolhwa Sep 26, 2024
57cec23
refactor(TemplateExplorePage): LoadingBallContainer => LoadingBall 로 변경
Hain-tain Sep 27, 2024
842bbdd
Merge pull request #714 from woowacourse-teams/feat/707-explore-searc…
Jaymyong66 Sep 27, 2024
427e9bf
Merge pull request #713 from woowacourse-teams/chore/709-package-v1.1.2
vi-wolhwa Sep 27, 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
5 changes: 1 addition & 4 deletions .github/workflows/frontend_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ jobs:
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_API_URL }}" > ${{ env.frontend-directory }}/.env.production
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_BASE_URL }}" >> ${{ env.frontend-directory }}/.env.production
else
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_BETA_API_URL }}" > ${{ env.frontend-directory }}/.env.development
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_BETA_BASE_URL }}" >> ${{ env.frontend-directory }}/.env.development
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_BETA_API_URL }}" > ${{ env.frontend-directory }}/.env.production
fi
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.sentry-build-plugin
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
### Environment Variable ###
.env

### playwright authentication context
.auth

*.crt
*.csr
*.key
Expand Down
22 changes: 17 additions & 5 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@
"import/order": [
"error",
{
"groups": [
["builtin", "external"],
["internal", "parent", "sibling", "index", "type"]
],
"groups": [["builtin", "external"], ["internal"], ["parent", "sibling", "index", "type"]],
"warnOnUnassignedImports": true,
"alphabetize": { "order": "asc" },
"newlines-between": "always",
Expand All @@ -71,7 +68,22 @@
"position": "before"
},
{
"pattern": "./**",
"pattern": "../",
"group": "parent",
"position": "before"
},
{
"pattern": "./components",
"group": "sibling",
"position": "before"
},
{
"pattern": "./hooks",
"group": "sibling",
"position": "before"
},
{
"pattern": "./*.style",
"group": "sibling",
"position": "after"
}
Expand Down
4 changes: 4 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ dist
*.crt
*.key
*.csr
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
1 change: 1 addition & 0 deletions frontend/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const config: Config = {
'react-syntax-highlighter/dist/esm': 'react-syntax-highlighter/dist/cjs',
},
transformIgnorePatterns: ['/node_modules/(?!react-syntax-highlighter)'],
testPathIgnorePatterns: ['/playwright/'],
};

export default config;
Loading
Loading