Skip to content

Comments

✨[Feat] 링크 블록 URL 유효성 검사 및 디자인 수정#79

Merged
wynter24 merged 5 commits intodevelopfrom
feature/link-block
Oct 20, 2024
Merged

✨[Feat] 링크 블록 URL 유효성 검사 및 디자인 수정#79
wynter24 merged 5 commits intodevelopfrom
feature/link-block

Conversation

@wynter24
Copy link
Collaborator

작업사항

  • 연결할 주소와 이미지 URL 유효성 검증 로직 추가
  • useEffect의 의존성 배열에 isValidUrl 추가하여 경고 해결
  • 심플 타입에만 이미지 input을 disabled 처리
  • 툴팁 디자인에 삼각형 화살표 추가 및 스타일 개선

미리보기, 사용방법 및 결과물

  • 연결할 주소와 이미지에 유효하지 않은 URL 입력시 아래 경고 메시지 표시
  • 심플 타입만 이미지 URL 입력 불가
image

기타

  • useCallback을 사용해 URL 검증 함수 최적화
  • 유효하지 않은 이미지 URL 처리 및 경고 메시지 표시 로직 추가

작성일

2024.10.20

@wynter24 wynter24 added 🎨 Design [작업 유형] UI/UX 디자인과 관련된 작업 ✨ Feature [작업 유형] 새로운 기능 개발을 위한 이슈나 PR labels Oct 19, 2024
@wynter24 wynter24 added this to the 2nd Week (구현) milestone Oct 19, 2024
@wynter24 wynter24 self-assigned this Oct 19, 2024
@wynter24 wynter24 linked an issue Oct 19, 2024 that may be closed by this pull request
17 tasks
Copy link
Collaborator

@s-ja s-ja left a comment

Choose a reason for hiding this comment

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

확인했습니다.
고생하셨어요!
테스트는 오늘 미팅에서 진행하겠습니다.

@wynter24 wynter24 merged commit ee7ed6e into develop Oct 20, 2024
@wynter24 wynter24 linked an issue Oct 21, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 Design [작업 유형] UI/UX 디자인과 관련된 작업 ✨ Feature [작업 유형] 새로운 기능 개발을 위한 이슈나 PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ [24.10.10] 링크 블록

2 participants