Skip to content

Develop - #356

Merged
namedgraph merged 7 commits into
masterfrom
develop
Aug 19, 2026
Merged

Develop#356
namedgraph merged 7 commits into
masterfrom
develop

Conversation

@namedgraph

Copy link
Copy Markdown
Member

No description provided.

namedgraph and others added 7 commits August 18, 2026 12:28
Ontologies are served without inference since #337, so owl:Class subjects
do not carry the rdfs:Class type and were dropped by the client-side
rdf:type filter in typeahead:process (typeahead.xsl).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The develop branch of LinkedDataHub-Apps was deleted after being merged
into master, which 404ed the package stylesheet/ontology downloads and
broke the package install tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Inline creation in views

Implements the Inline-Creation-in-Views proposal: views attached via
ldh:view/ldh:inverseView get a Create button in the view toolbar when the
View carries the new ldh:container metadata. The modal constructor form
PUTs the new instance document into the container; forward views PATCH
the linking triple into the current document (INSERT/WHERE form), inverse
views ship it inside the PUT body. Property, direction and constructed
class are inferred from the ontology (rdfs:domain/rdfs:range incl.
rdfs:subPropertyOf paths); the Create button is gated on acl:Write
obtained by HEADing the container for its acl:mode Link headers.
Also adds optional ldh:showWhenEmpty (default true).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Inline creation fixes: row-form rendering, cache-driven view refresh

The creation modal now renders through the document-level bs2:Form
pipeline over the instantiated resource (ldh:set-typeahead-form-resource),
producing the full row-form UI with the form shell; the instance is minted
as a fragment within the new document and the description ships as the PUT
body. The post-creation refresh rebuilds the results context from the
contents cache like the pager listeners (the view's spin:query RDFa is
consumed by the initial render, so ldh:RenderRow re-entry cannot match).
Also resets the progress cursor on terminal paths and floats the Create
button (now btn-primary) left of the mandatory order-by/mode controls.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* SKOS package views tolerate untagged prefLabels

LDH forms submit plain xsd:string literals, which the hardcoded
langMatches(lang(?prefLabel), "en") filters excluded from every package
view.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Keep the progress cursor while the view refreshes after inline creation

ldh:render-view restores the default cursor once the results render, same
as the pager/order/mode interactions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@namedgraph
namedgraph merged commit 273cfd8 into master Aug 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant