Exploration: Compare SoloSpec vs Bikeshed flow + a few UI fixes#249
Draft
zavalit wants to merge 2 commits intosolid:mainfrom
Draft
Exploration: Compare SoloSpec vs Bikeshed flow + a few UI fixes#249zavalit wants to merge 2 commits intosolid:mainfrom
zavalit wants to merge 2 commits intosolid:mainfrom
Conversation
Member
|
Thank you @zavalit 🙏 I'm going to take a look at it later today and show it to the rest of Solid CG next Wednesday during the call You are very welcome to join! Meanwhile I'm going to convert it to draft PR so that we all have time to explore it and discuss it. |
Member
|
I published a static preview on https://elf-pavlik.github.io/solid-oidc/ I also did a quick test wrapping one statement https://speculator.openuji.dev/features/spec-statements/ <spec-statement id="client-id-jsonld" data-cop-concept="client">
When a Client Identifier is dereferenced, the resource MUST be serialized as an `application/ld+json` document unless content negotiation requires a different outcome.
</spec-statement>And it works like magic 🪄 {
"@context": {
"dct": "http://purl.org/dc/terms/",
"spec": "http://www.w3.org/ns/spec#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"id": "@id",
"type": "@type"
},
"@graph": [
{
"id": "https://solid.github.io/solid-oidc/",
"type": "spec:Specification",
"dct:title": "Solid-OIDC",
"spec:classesOfProducts": {
"id": "https://solid.github.io/solid-oidc/#classes-of-products",
"type": "skos:ConceptScheme",
"skos:prefLabel": "Classes of Products",
"skos:hasTopConcept": [
{
"id": "https://solid.github.io/solid-oidc/#client"
}
]
},
"spec:requirement": [
{
"id": "https://solid.github.io/solid-oidc/#client-id-jsonld"
}
]
},
{
"id": "https://solid.github.io/solid-oidc/#client",
"type": "skos:Concept",
"skos:prefLabel": "Client",
"skos:inScheme": {
"id": "https://solid.github.io/solid-oidc/#classes-of-products"
},
"skos:topConceptOf": {
"id": "https://solid.github.io/solid-oidc/#classes-of-products"
}
},
{
"id": "https://solid.github.io/solid-oidc/#client-id-jsonld",
"type": "spec:Requirement",
"spec:requirementSubject": {
"id": "https://solid.github.io/solid-oidc/#client"
},
"spec:requirementLevel": {
"id": "spec:MUST"
},
"spec:statement": "When a Client Identifier is dereferenced, the resource MUST be serialized as an application/ld+json document unless content negotiation requires a different outcome."
}
]
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR migrates the Bikeshed source into SoloSpec and improves the generated spec UX.
Migration and setup
npx @openuji/bikeshed-migrate index.bs --out solospec --initcd solospecnpm inpm i mermaidValidation
npm run devto verify local rendering.npm run lintto check for formatting warnings/errors.npm run buildto verify the production build output.More info: https://speculator.openuji.dev/solospec/bikeshed-theme/
Changes in this PR