Skip to content

feat: show error when image source is missing#140

Open
wendyyuchensun wants to merge 1 commit into
coseeing:mainfrom
wendyyuchensun:image-error-msg
Open

feat: show error when image source is missing#140
wendyyuchensun wants to merge 1 commit into
coseeing:mainfrom
wendyyuchensun:image-error-msg

Conversation

@wendyyuchensun
Copy link
Copy Markdown
Collaborator

@wendyyuchensun wendyyuchensun commented May 20, 2026

Goal

按照目前設計,在圖片 modal 補上未提供圖片來源時的驗證錯誤訊息:

  • 使用者點「確認」但沒有上傳/拖曳檔案或嵌入 URL 時,嵌入 URL 輸入框會變紅框,下方顯示「請填寫圖片 URL 或上傳圖片」。
  • 使用者一旦上傳、拖曳、輸入網址或點「嵌入」,錯誤就自動消失。

Demo

Screenshot 2026-05-20 at 17 24 51

@wendyyuchensun wendyyuchensun changed the title feat: add image upload lack source error msg feat: show error when image source is missing May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant