codemeta generation tool
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- css, html, javascript, react
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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!
- Vorherrschende Sprache
- CSS
- Sterne
- 5
- Forks
- 23
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codemeta/codemeta.github.io
-
content
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
codemeta/codemeta.github.io#141 ·
-
content
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
codemeta/codemeta.github.io#138 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
codemeta/codemeta.github.io#129 · 5 Kommentare ·
-
content
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
codemeta/codemeta.github.io#123 · 1 Kommentar ·
-
content
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
codemeta/codemeta.github.io#121 ·
Alle Issues in codemeta/codemeta.github.io
Ähnliche Issues
-
android:player
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
genfeedai/genfeed.ai#9644 ·
Maintainer antworten meist innerhalb von 1 Tag
-
DepotMaintain: EN longer string moves the hint popup buttons out of reach // WpfGUI English LanguageOffenclient: WpfGui module: depot question
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
MaaAssistantArknights/MaaAssistantArknights#19169 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100