-
Notifications
You must be signed in to change notification settings - Fork 1
[24.12.31/ TASK-65] 그래프 페이지 완성 #6
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
81f24c6
feature: 그래프 추가
six-standard 809745d
modify: 500 오류 해결
six-standard 672c13d
feature: 업데이트 시간 표시
six-standard fd7abc5
refactor: 네이밍 규칙 맞춤
six-standard 395598e
refactor: 디자인 맞춤
six-standard c6ba088
refactor: API 요청 분리
six-standard 430311b
refactor: 필요 없는 빈 공간 제거
six-standard 4e00d9f
refactor: 폴더 이름 변경
six-standard 558614d
refactor: 필요없는 파일 제거
six-standard 3fb2282
refactor: 경로 정리
six-standard 1a4e287
refactor: 필요 없는 주석 제거
six-standard 69f199a
feature: 로그인 페이지 반응형 추가
six-standard f286a63
refactor: 색상 이름 변경
six-standard 14cb7b2
refactor: 잡다한 리팩토링
six-standard 76f224a
refactor: 색상 변경 깜빡함
six-standard db0190d
refactor: 반응형 고침
six-standard 286a33b
modify: 반응형 깜빡함..
six-standard 2d3c55e
refactor: 또 색상 깜빡함
six-standard 28d023c
add: 필요한 라이브러리 추가
six-standard a86fd79
modify: import 관련 오류 수정
six-standard ebed432
modify: 데이터가 없을 경우 설정
six-standard 3e94264
modify: CORS 관련 오류 해결
six-standard 7d6ae1c
refactor: 여러 가지 리팩토링
six-standard fdd9cd5
feature: 대시보드 페이지 일부 제작
six-standard 2264a40
feature: 스타일 팔레트 설정
six-standard e9a69ea
modify: 스크롤 관련 오류 해결
six-standard 8dc72aa
feature: 개발 예정 텍스트 추가
six-standard d3f3a07
feature: 중간에 깜빡한 요소들
six-standard 2ef003f
modify: 필요없는 데이터 제거
six-standard 3d97339
modify: 페이지 체류시간 이벤트 조회
six-standard 4cb1352
modify: 쿠키 시큐어 값 추가 및 릴리즈 데이터 추가
Nuung e38498d
modify: deprecated된 코드 제거
six-standard 7d465c4
modify: 실제 module 버전이랑 다른 오류 해결
six-standard ae219f3
refactor: 코드 합침
six-standard 1fda5b5
feature: 여려 API
six-standard ae03cab
modify: cors 관련 오류 해결
six-standard 90ff606
feature: 트래커 다시 붙임
six-standard 2e1f0b0
add: 필요한 라이브러리 추가
six-standard 85f3b00
refactor: 필요없는 코드 제거
six-standard b6eee05
refactor: api 파일 정리
six-standard 7e36d53
refactor: 로그아웃 추가
six-standard a33e07e
refacftor: 배포 환경일 경우에만 이벤트 수집
six-standard ff670a7
modify: Devtool 추가
six-standard 60e29bd
modify: 핫픽스
six-standard 698b283
refactor: ssr 수리 및 페이지 이동
six-standard 2820576
refactor: 필요없는 코드 제거
six-standard bbfb8b9
refactor: 필요없는 코드 제거
six-standard cfaa259
refactor: 필요없는 코드 제거
six-standard 7f0d4e4
feature: 게시글 상세조회 기능
six-standard 25ef09b
modify: 날짜 제한 지정
six-standard 9ef2690
refactor: 미사용 타입 제거
six-standard 3c4bb83
modify: 타입 맞춤
six-standard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"next/typescript" | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { PostDetailDto, PostListDto, PostSummaryDto } from '@/types'; | ||
import { PATHS } from '@/constants'; | ||
import { InitType, instance } from './instance.request'; | ||
|
||
type SortType = { | ||
asc: boolean; | ||
sort: string; | ||
}; | ||
|
||
export const postList = async ( | ||
props: InitType<PostListDto>, | ||
sort: SortType, | ||
cursor?: number | string, | ||
) => | ||
await instance<null, PostListDto>( | ||
cursor | ||
? `${PATHS.POSTS}?cursor=${cursor}&asc=${sort.asc}&sort=${sort.sort}` | ||
: `${PATHS.POSTS}?asc=${sort.asc}&sort=${sort.sort}`, | ||
props, | ||
); | ||
|
||
export const postSummary = async (props: InitType<PostSummaryDto>) => | ||
await instance<null, PostSummaryDto>(PATHS.SUMMARY, props); | ||
|
||
export const postDetail = async (path: string, start: string, end: string) => | ||
await instance<null, PostDetailDto>( | ||
`${PATHS.DETAIL}/${path}?start=${start}&end=${end}`, | ||
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from './dashboard.request'; | ||
export * from './instance.request'; | ||
export * from './user.request'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { NotFoundError } from '@/errors'; | ||
import { PATHS } from '@/constants'; | ||
import { LoginVo, UserDto } from '@/types'; | ||
import { InitType, instance } from './instance.request'; | ||
|
||
export const login = async (body: LoginVo) => | ||
await instance( | ||
PATHS.LOGIN, | ||
{ method: 'POST', body }, | ||
{ | ||
'404': new NotFoundError( | ||
'일치하는 계정을 찾을 수 없습니다', | ||
'CannotFindAccount', | ||
), | ||
}, | ||
); | ||
|
||
export const me = async (props: InitType<UserDto>) => | ||
await instance<null, UserDto>(PATHS.ME, props); | ||
|
||
export const logout = async () => | ||
await instance(PATHS.LOGOUT, { method: 'POST', body: undefined }); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.