MetaCell / MetaCell/NetPyNE-UI
Upload Dialog - Show error message if extensions is not allowed
未關閉
還沒有人認領這個 Issue。
enhancement
- 主要語言
- JavaScript
- 星號
- 23
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Currently, you can select a file with a non-supported extension and submit upload.
It is treated identically to an allowed extensions with the difference that it won't be uploaded by the backend.
UploadDownloadFile needs to incorporate a check and display an error message in the dialog if extension is not supported. User shouldn't be able to submit upload with invalid extension.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
找到 UploadDownloadFile 元件,並檢查提交前如何處理所選檔案的副檔名。使用不受支援的副檔名重現上傳,然後加入對話框錯誤,並阻止使用無效副檔名的提交。確認受支援的副檔名仍可正常上傳,而不受支援的副檔名會在 UI 中被拒絕。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100