Skip to content

[oneseo] 원서 수정 권한 요청 시간 제한 제거 - #563

Merged
yeondon125 merged 1 commit into
mainfrom
update/remove-oneseo-modify-request-time-limit
Oct 22, 2026
Merged

yeondon125 merged 1 commit into
mainfrom
update/remove-oneseo-modify-request-time-limit

Conversation

@yeondon125

Copy link
Copy Markdown
Member

개요 💡

원서 최종 제출 후 수정 권한을 요청할 때, 프론트에서 9시부터 16시 사이에만 요청할 수 있도록 막고 있었습니다. 이 제한은 서버 응답(/oneseo/v3/editability)이 아니라 GuidePage에서 사용자 기기 시계를 KST로 변환해 판단하는 하드코딩 값이었습니다. 시간과 관계없이 수정 권한을 요청할 수 있도록 해당 제한을 제거하였습니다.

작업내용 ⌨️

  • GuidePage에서 isOneseoModifyRequestTime과 9시부터 16시 이외에는 수정 권한 요청이 제한됩니다 버튼 분기를 제거하였습니다.
    • 이 분기는 if (!data) return ['원서 작성하기', ...]보다 먼저 평가되었기 때문에, oneseoEditStatus가 NONE이면 원서를 작성하지 않은 사용자도 해당 시간 외에는 버튼이 비활성화될 수 있었습니다. 이번 제거로 이 경우도 함께 해소되었습니다.
  • ClientModals의 수정 권한 요청 모달 안내 문구에서 수정 권한 요청은 9시부터 16시 사이까지 가능합니다. 문장을 제거하였습니다.
  • 수정 권한 상태(NONE / REQUESTED / APPROVED)에 따른 버튼 동작과 원서 접수 기간 검사는 변경하지 않았습니다.

리뷰 요청사항 👀

  • 서버의 수정 권한 요청 API(POST /oneseo/v3/oneseo/me/request)에서도 시간대를 검증하는지는 확인하지 않았습니다. 서버가 거부하는 경우 기존 onError 처리로 서버 메시지가 토스트로 표시됩니다.

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hellogsm-client-26 Ready Ready Preview Oct 22, 2026 7:50am UTC
hellogsm-client-26-admin Ready Ready Preview Oct 22, 2026 7:50am UTC

Request Review

@s2yeons s2yeons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI 다 돌면 머지하시죠

@pr-agent-demo pr-agent-demo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Overview

    • 원서 수정 권한 요청 시 프론트엔드에서 적용하던 9~16시 시간 제한 로직을 제거합니다.
    • 관련 안내 문구도 함께 수정합니다.
  • Intent

    • 시간대 제한 없이 수정 권한을 요청할 수 있도록 사용자 경험을 개선하려는 목적입니다.
    • 기기 시간 기반 하드코딩 조건으로 인한 불필요한 UI 제약을 없애기 위한 변경입니다.
  • Risk

    • 전반적으로 낮은 리스크입니다.
    • 서버 측 API가 시간 제한을 별도로 검증하지 않는지, 기존 요청/승인 상태 흐름이 영향받지 않는지 확인이 필요합니다.

1 inline comment(s)

if (!isOneseoWrite) return ['원서 접수 기간이 아닙니다.', 'submit', true];

if (!isOneseoModifyRequestTime && editability?.oneseoEditStatus === 'NONE')
return ['9시부터 16시 이외에는 수정 권한 요청이 제한됩니다', 'submit', true];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 medium/bug

클라이언트에서 시간 제한을 제거해도 서버가 여전히 9~16시를 검증한다면, 버튼은 항상 활성화되지만 시간 외 요청은 서버에서 거부되어 사용자에게 오류 토스트만 표시되는 불일치가 발생합니다. PR 설명에서도 이 부분을 확인하지 못했다고 명시했으니, 병합 전에 서버의 수정 권한 요청 API(POST /oneseo/v3/oneseo/me/request)에서 시간 제한 검증 로직도 함께 제거했는지 확인해 주세요.

@yeondon125
yeondon125 merged commit 5ccc31f into main Oct 22, 2026
4 checks passed
@yeondon125
yeondon125 deleted the update/remove-oneseo-modify-request-time-limit branch October 22, 2026 08:32

This branch was successfully deployed

2 active deployments
Preview – hellogsm-client-26 — 70af3026 Deployed Oct 22, 2026 by vercel[bot]
Preview – hellogsm-client-26-admin — 70af3026 Deployed Oct 22, 2026 by vercel[bot]
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.

2 participants