Skip to content
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

Feature/파일 업로더 세부 기능 구현 #479 #899

Merged
merged 13 commits into from
Jun 4, 2024

Conversation

redzzzi
Copy link
Collaborator

@redzzzi redzzzi commented Jun 2, 2024

연관 이슈

작업 요약

  • 업로드 시 드랍되는 파일의 크기, 확장자를 확인한다.
  • 형식과 맞지 않는 파일일 시 관련 toast 메시지를 띄운다.

작업 상세 설명

  • 파일의 크기(30MB)의 경우 MAX_FILE_SIZE 상수를 사용하였습니다.
  • onDropRejected 속성을 활용하여 조건에 대해 유효하지 않은 파일을 다룬다.

리뷰 요구사항

  • 리뷰 예상 시간 : 5분

Preview 이미지

default.mp4

- 자동정렬로 인해 mr-2•inline이 inline•mr-2로 바뀌는 것을 수정

#479
- 조건에 맞지 않는 파일일 경우 onDropRejected 및 toast 메시지를 띄워준다.

#479
- 파일에 따른 메시지, 파일용량 등 상수를 import하여 사용
- onDropRejected로 에러 코드에 따른 toast 메시지 출력
- 드래그로 파일 업로드 하는 공간에 지원하는 확장자 표기

#479
@redzzzi redzzzi requested review from publdaze and oxomi June 2, 2024 17:48
@redzzzi redzzzi requested a review from c0np4nn4 June 3, 2024 02:41
@redzzzi redzzzi self-assigned this Jun 3, 2024
…nt-R2 into feature/파일_업로더_세부_기능_구현_#479
Copy link
Collaborator

@oxomi oxomi left a comment

Choose a reason for hiding this comment

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

굿굿

@redzzzi redzzzi merged commit 3a59054 into develop Jun 4, 2024
1 check passed
@redzzzi redzzzi deleted the feature/파일_업로더_세부_기능_구현_#479 branch June 4, 2024 06:47
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