wrong save file type

未關閉
#247 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
angular, html, typescript
領域
frontend

研究方向

Inspect webapp/src/app/components/load-map/load-map.component.html at the linked line and check how the save file type is specified. Reproduce the file picker behavior with .json files, then confirm it shows the expected files after the fix.

由索引模型根據 Issue 內容生成。

描述

bug

from discord (EL#0503)

really minor bug that i discovered:

i think the save as file type is bugged because it's not showing json files when i think it's trying to look for files with a ..json extension rather than .json

i think it's supposed to just be accept="json" here: https://github.com/CCDirectLink/crosscode-map-editor/blob/701d1b557e75e5e67b29035afe9362aad29ed299/webapp/src/app/components/load-map/load-map.component.html#L25
image
image

more photos to show it's really looking for ..json
image
image

主要語言
TypeScript
星號
59
分支
19
平均合併
32 分鐘
30 天內合併 PR
2

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CCDirectLink/crosscode-map-editor 的其他 Issue

查看 CCDirectLink/crosscode-map-editor 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。