Skip to content

Commit

Permalink
[25.02.08 / TASK-109 / TASK-111] Feature - 샘플 로그인 및 글 바로가기 기능 추가 (#10)
Browse files Browse the repository at this point in the history
* modify: 페이지 최대 크기 제한

* refactor: 타입 정리

* refactor: 디바운스 시간 감소

* modify: 높이 깨짐 오류 해결

* modify: 호버 위치와 상관없이 툴팁 표시

* feature: 리더보드 페이지 제작

* refactor: 헤더 리팩토링

* modify: 이벤트 트래킹 개선

* feature: 유저 이벤트 트래킹

* hotfix: 그래프 깜빡임 오류 해결

* feature: 대시보드 테스트 코드

* modify: 배포 세팅

* refactor: 트래킹 값 미반영 해결

* refactor: 문자열보단 숫자가 나을 것으로 판단됨

* refactor: 개발 관련 세팅

* feature: 샘플 로그인 추가

* refactor: 리더보드 페이지 비활성화

* hotfix: 로그아웃 관련 오류 수정

* refactor: 쿼리 세팅 리팩

* feat: 글 바로가기 추가

* refactor: 이거 왜 빠져있지?

* refactor: 환경 변수 관련 리팩

* refactor: 메세지 변경

* refactor: 일부 코드 리팩

* refactor: 요소 위치 리팩
  • Loading branch information
six-standard authored Feb 8, 2025
1 parent 4fb015e commit 72ad44e
Show file tree
Hide file tree
Showing 50 changed files with 922 additions and 199 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
NEXT_PUBLIC_BASE_URL=<'server url here'>
NEXT_PUBLIC_ABORT_MS=<'abort time(ms) for fetch here'>
SENTRY_AUTH_TOKEN=<'sentry auth token here'>
NEXT_PUBLIC_EVENT_LOG=<'Whether to send an event log here (true | false)'>
SENTRY_DSN=<'sentry dsn here'>
5 changes: 1 addition & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": [
"next/core-web-vitals",
"next/typescript"
]
"extends": ["next/core-web-vitals", "next/typescript"]
}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"javascriptreact",
"typescript",
"typescriptreact"
]
],
"discord.enabled": true
}
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ export default [
'error',
{ groups: ['builtin', 'external', 'internal'] },
],
'testing-library/no-container': 'warn',
'testing-library/no-node-access': 'warn',
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'no-restricted-imports': ['error', { patterns: ['..*'] }],
},
languageOptions: {
Expand Down
10 changes: 8 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ const createJestConfig = nextJest({

// Add any custom config to be passed to Jest
const customJestConfig = {
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
testEnvironment: 'jest-environment-jsdom',
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts', '<rootDir>/setupTests.ts'],
testEnvironment: 'jest-fixed-jsdom',
testEnvironmentOptions: {
customExportConditions: [''],
},
moduleNameMapper: {
'^@sentry/nextjs$': '<rootDir>/node_modules/@sentry/nextjs',
},
};

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --port 3000",
"build": "next build",
"autoBuild": "next build && cp -R public .next/standalone && mv .next/static .next/standalone/.next",
"start": "next start",
"lint": "next lint",
"lintTest": "eslint ./src/__test__",
Expand All @@ -16,7 +17,9 @@
"@tanstack/react-query": "^5.61.3",
"@tanstack/react-query-devtools": "^5.62.11",
"chart.js": "^4.4.7",
"jest-fixed-jsdom": "^0.0.9",
"js-cookie": "^3.0.5",
"msw": "^2.7.0",
"next": "14.2.18",
"react": "^18",
"react-chartjs-2": "^5.2.0",
Expand Down
Loading

0 comments on commit 72ad44e

Please sign in to comment.