Skip to content

Conversation

@hanjiwon1108
Copy link

💡 개요

StudentDetail 페이지 모바일 지원
Calender 반응형 구현

📃 작업내용

StudentDetail과 field-training, 반응형 구현 (모바일)

🔀 변경사항

📸 스크린샷

image image

Copy link

Copilot AI left a 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.
                      >

Comment on lines 114 to 124
<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>
Copy link

Copilot AI Jul 14, 2025

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.

Copilot uses AI. Check for mistakes.
@kwonminjae5700
Copy link
Member

브랜치 컨벤션 PR 컨벤션 좀 지키세요.
https://obtuse-t.atlassian.net/wiki/spaces/IN/pages/13729810

@kwonminjae5700
Copy link
Member

kwonminjae5700 commented Jul 14, 2025

1. 캘린더의 반응형이 제대로 동작하지 않습니다.

  • 날짜가 있어야 할 위치에 있지 않습니다.
  • 다음 달로 넘어가는 화살표가 부모 layout 을 벗어납니다.
image

2. 각 요소들에 계획되지 않은 css 가 생겼습니다. main 브랜치의 디자인과 비교하고 수정해 주시길 바랍니다.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants