Repository navigation
[project] 프로젝트 신청·조회 앱(apps/projects) 추가 - #236
Merged
Merged
Conversation
Member
|
충돌 해결해주세요 |
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
개요
학생이 직접 프로젝트를 신청·관리하고 누구나 조회할 수 있는 프로젝트 아카이브 앱(
apps/projects)을 추가하였습니다. 어드민에는 신청 심사 화면을 추가하였고, 서버 PR #451(deploymentUrl)과 #452(수정 시 값 유지·삭제 규칙)를 반영하였습니다.작업내용
apps/projects(포트 3005)?project=<id>만 붙어 목록·필터가 유지되고 링크로 공유할 수 있습니다./api/login,/api/callback)를 추가하였습니다./me) 화면에서 신청 상태별 목록 확인, 신규·수정 신청, 아이콘 업로드(presigned URL로 S3 직접 업로드)를 할 수 있도록 하였습니다.apps/admin/projects/requests)을 추가하였습니다. 신청 내용·신청자 이메일·처리일을 확인하고 수락·거절할 수 있습니다.packages/sharedSheet컴포넌트를 추가하였습니다.HTTP_URL_PATTERN,getSafeUrl)을 공용으로 두고, 사용자가 입력한 배포 URL·리포지토리는 http(s) 주소일 때만 링크로 표시하도록 하였습니다.@repo/shared/server의createOAuthCallbackHandler로 통합하였습니다.skipAuthRefresh옵션을 추가하였고,Header에projectsrole과 로그인 시 로그아웃 버튼을 추가하였습니다.서버 변경 반영
deploymentUrl은 서버와 같은 규칙(http(s)://로 시작, 300자 이하)으로 검증하였습니다.""는 삭제되는 규칙에 맞춰, 수정 폼이 기존iconKey·deploymentUrl·참여자 ID를 그대로 보내고 비운 값은""로 보내도록 하였습니다.리뷰 반영
문서
apps/projects/docs/api-spec.md)를 추가하고, docs 앱의 프로젝트 응답·웹훅 문서에deploymentUrl·iconKey를 반영하였습니다.관련 이슈
리뷰 요청사항
apps/projects는NEXT_PUBLIC_API_BASE_URL,NEXT_PUBLIC_OAUTH_BASE_URL,NEXT_PUBLIC_DATAGSM_CLIENT_ID,NEXT_PUBLIC_DATAGSM_REDIRECT_URI를 사용하고, 다른 앱의 Projects 링크는NEXT_PUBLIC_PROJECTS_URL을 사용합니다. OAuth 클라이언트에 projects 앱의 redirect URI도 등록해야 합니다.develop에서 바뀐DATAGSM_CLIENT_SECRET을 사용합니다.