codemeta generation tool
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- css, html, javascript, react
研究方向
Start by reading layouts/shortcodes/react-schema.html and static/schema.json, then inspect the linked generator at https://codemeta.github.io/create/. The issue proposes polishing the generator and adding useful fields such as author and contributor roles, but does not define a complete scope or acceptance criteria; clarify those before starting. Done should mean the agreed fields and behavior work in the form and generated codemeta.json.
由索引模型根據 Issue 內容生成。
描述
Hey @amoeba,
Thanks for the pointers on javascript and React-JS. I've adapted your minimal example into an prototype for users to generate codemeta.json files (and integrated it into the Hugo styling of the site):
https://codemeta.github.io/create/
Main source file is added in as a shortcode, (though should probably go directly into content/create.html) . Reads a very incomplete json-schema file from static/schema.json since I thought it made sense to separate that out (technically still a js file and not a json file, guess i should fix that too).
The layout of the form does take up a lot of space, so not sure if it will ever make sense to support all possible codemeta fields. The styling is a bit subtle at the moment -- the box color bar will go from purple (the theme color) to red if you type a non-URI into url or codeRepository.
I hacked in the method to download a codemeta.json file by myself (thanks stackoverflow really, but still my first time writing javascript 🐱, so it may very well be terrible...
Also, I didn't see a way to have fields like @type and @context elements be automatically pre-populated in the output JSON but not visible in the form part. Currently it doesn't use any custom uiSchema styling, maybe there's a "hide" option?
Anyway, let me know what you think!
If I can polish this up a bit and add enough fields to actually be somewhat useful (e.g. author / contributor roles) I think this could make a nice easy entrypoint for getting started with codemeta.
thanks again for getting me rolling on this!
- 主要語言
- CSS
- 星號
- 5
- 分支
- 23
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
codemeta/codemeta.github.io 的其他 Issue
-
content
難度 2/5 1-3 小時 新手友好度 70/100
codemeta/codemeta.github.io#141 ·
-
content
難度 2/5 1-3 小時 新手友好度 68/100
codemeta/codemeta.github.io#138 ·
-
難度 1/5 1 小時以內 新手友好度 85/100
codemeta/codemeta.github.io#129 · 5 則留言 ·
-
content
難度 2/5 1-3 小時 新手友好度 72/100
codemeta/codemeta.github.io#123 · 1 則留言 ·
-
content
難度 2/5 1-3 小時 新手友好度 68/100
codemeta/codemeta.github.io#121 ·
查看 codemeta/codemeta.github.io 的全部 Issue
相似的 Issue
-
[Feature Request] shortcut for "send with a note"可能已有人在做 @ilyaZar 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
backnotprop/plannotator#2912 ·
維護者通常 1 天內回覆
-
bug implicit-state
難度 2/5 1-3 小時 新手友好度 76/100
-
v6: OTP input keeps the rest of a selection when you type over it可能已有人在做 @thejesh23 今天認領。 未關閉bug confirmed has-pr js v6
難度 2/5 1-3 小時 新手友好度 82/100
twbs/bootstrap#43323 · 1 則留言 ·
維護者通常 1 天內回覆
-
book-layout.spec fails when the similar-books rail holds other projects' books可能已有人在做 @praetorianer777 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
praetorianer777/GoTome#373 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100