-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 학생 상세 페이지, 캘런디 반응형(모바일) 지원되게 구현 #16
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR enhances mobile responsiveness for the StudentDetail page and the calendar in FieldTraining.
- Wraps Calendar components in responsive containers and adjusts styling for mobile.
- Refactors StudentDetail layout, button sizes, and visibility to improve mobile UX.
- Removes an unused import and updates placeholder handlers.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/features/users/components/field-training.tsx | Added responsive wrappers around Calendar, removed unused Label import, and simplified handlers. |
| src/features/users/components/StudentDetail.tsx | Updated container and typography classes, adjusted buttons and separators for mobile layouts. |
Comments suppressed due to low confidence (3)
src/features/users/components/field-training.tsx:125
- [nitpick] The empty onClick handler is a placeholder without a TODO or implementation; consider adding a TODO comment or removing the handler until the feature is implemented to avoid confusion.
</div>
src/features/users/components/StudentDetail.tsx:61
- [nitpick] The prop name 'datas' passed to the Employment component is unconventional English; consider renaming it to 'data' or 'items' for clarity.
component: (data) => (
src/features/users/components/StudentDetail.tsx:163
- The "취소" button hides its text on small screens, leaving only the icon visible; ensure there is an appropriate aria-label on the Button component for screen readers when text is hidden.
>
| <div className='w-full overflow-x-auto md:overflow-visible'> | ||
| <div className='flex min-w-full justify-center'> | ||
| <Calendar | ||
| mode='range' | ||
| selected={updateDate} | ||
| onSelect={setUpdateDate} | ||
| className='transform-origin-center w-auto max-w-full scale-[0.85] rounded-lg border border-border p-1 sm:scale-100 sm:p-2' | ||
| showOutsideDays={false} | ||
| /> | ||
| </div> | ||
| </div> |
Copilot
AI
Jul 14, 2025
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.
[nitpick] The responsive Calendar wrapper layout is duplicated for both date ranges; consider extracting this into a reusable component to DRY up the code and improve maintainability.
|
브랜치 컨벤션 PR 컨벤션 좀 지키세요. |


💡 개요
StudentDetail 페이지 모바일 지원
Calender 반응형 구현
📃 작업내용
StudentDetail과 field-training, 반응형 구현 (모바일)
🔀 변경사항
📸 스크린샷