Skip to content

Conversation

@hongggyelim
Copy link
Collaborator

@hongggyelim hongggyelim commented Dec 15, 2024

작업 내용

이미지 업로드 로직 수정

  • (수정 전) 폼 제출 / 임시저장 할 때 이미지 업로드 api 요청
  • (수정 후) 이미지 change 핸들러에서 이미지 업로드 api 요청
  • 탭 이동시에도 이미지 프리뷰 잘 불러옴
  • 💥여러 파일 선택 후 삭제 버튼 클릭 시 나머지 이미지 프리뷰도 엑스박스 되는 버그 있음 !

Edit 페이지 수정

  • 수정하기 버튼 활성화 로직 수정 (isValid -> isDirty)
  • 기존 이미지 데이터 프리뷰 잘 불러옴
  • 수정 후 쿼리 무효화 로직 추가

기타 수정 사항

  • 필터 드롭다운 onClick -> onMouseDown으로 수정
  • 탭 이동 시 router.push -> router.replace로 수정 (히스토리 남기지않음)
    (헤더의 작성 취소 버튼이 뒤로가기 router.back 동작 했을때 탭 이동한 내역이 남아있어서 상세 페이지나 목록으로 이동하지않음)
  • 기타 자잘한 css 수정 (버튼 크기 등)
  • 폼작성 페이지에서 유저 권한 확인 추가

@hongggyelim hongggyelim added 🐞 Fix 버그 수정에 대한 커밋 🔨 Refactor 코드 리팩토링 labels Dec 15, 2024
@hongggyelim hongggyelim self-assigned this Dec 15, 2024
@github-actions
Copy link

github-actions bot commented Dec 15, 2024

💄 Storybook: https://673dcf13c9a3a1189a7c6fd4-szssgmvafa.chromatic.com/ # Chromatic에서 생성된 Storybook URL
🕖 Update: 2024년 12월 16일 10시 57분 05초 # 현재 시간

@cccwon2 cccwon2 requested review from cccwon2 and yyezzzy December 15, 2024 13:23
Copy link
Contributor

@cccwon2 cccwon2 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다.

@yyezzzyy yyezzzyy self-requested a review December 16, 2024 01:51
Copy link
Collaborator

@yyezzzyy yyezzzyy left a comment

Choose a reason for hiding this comment

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

수고하셨습니다

@hongggyelim hongggyelim merged commit bd390b3 into dev Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 Fix 버그 수정에 대한 커밋 🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants