-
Notifications
You must be signed in to change notification settings - Fork 0
[feat] 스케줄 관리 페이지 추가 UI 구현 #29
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
Changes from all commits
5e74e30
684f269
0a4ad87
412ee18
c9bb18a
d2b1ed2
7ac5de7
c4b9c48
91a0739
a158f1b
47a5776
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| import type { ScheduleTab } from '@/features/manager/schedule/types/workerSchedule' | ||
|
|
||
| export const SCHEDULE_TABS: ScheduleTab[] = ['고정', '일반'] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export type ScheduleTab = '고정' | '일반' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| export const ScheduleColor = { | ||
| Pink: '#EB98AD', | ||
| Purple: '#9FA4F8', | ||
| Blue: '#9EC9FD', | ||
| Yellow: '#FCD680', | ||
| LightPink: '#F0BFC0', | ||
| LightPurple: '#CCBAF9', | ||
| Gray: '#C8D2E1', | ||
| DarkGray: '#9E9EA3', | ||
| } as const | ||
|
|
||
| export type ScheduleColor = (typeof ScheduleColor)[keyof typeof ScheduleColor] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,11 +4,11 @@ import type { | |
| CalendarViewData, | ||
| } from '@/features/user/home/schedule/types/schedule' | ||
| import { | ||
| getDurationHours, | ||
| toDateKey, | ||
| toTimeLabel, | ||
| getDurationHours, | ||
| formatScheduleTimeRange, | ||
| } from '@/features/user/home/schedule/lib/date' | ||
| } from '@/features/home/common/schedule/lib/date' | ||
| import { formatScheduleTimeRange } from '@/features/user/home/schedule/lib/date' | ||
|
Comment on lines
6
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 아키텍처 위반: features 간 의존성 (동일 이슈)
해당 유틸리티들을 As per coding guidelines: features 레이어는 entities, shared 레이어만 import해야 합니다. 🤖 Prompt for AI Agents |
||
| import type { | ||
| WorkspaceScheduleApiResponse, | ||
| WorkspaceScheduleQueryParams, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아키텍처 위반: features 간 의존성 (세 번째 발생)
Line 17의
@/shared/constants/calendarimport는 올바르지만, lines 18-22의@/features/home/common/schedule/lib/dateimport는 동일한 아키텍처 위반입니다.여러 파일에서 반복되는 패턴으로 보아,
toDateKey,toTimeLabel,getDurationHours를src/shared/lib로 이동하는 것이 이 PR의 리팩토링 범위에 포함되어야 합니다.As per coding guidelines: features 레이어는 entities, shared 레이어만 import해야 합니다.
🤖 Prompt for AI Agents