Skip to content

Conversation

@melvincarvalho
Copy link
Contributor

Summary

  • Adds documentation for the NamedNodeURIField form field type to docs/forms-intro.html
  • Adds an interactive demo example to docs/form-examples/demo.html

This field type was implemented but missing from the documentation. It prompts users for a URI and stores the value as an RDF named node (resource) rather than a string literal.

The description is based on the W3C UI Ontology definition:

"A NamedNodeURIField is like a SingleLineTextField, except that the value it generates is not a literal string but an RDF node with the given URI."

Test plan

  • View the updated forms-intro.html and verify the NamedNodeURIField section appears in "Single Value fields - Text"
  • View the updated demo.html and verify the NamedNodeURIField demo renders correctly

Closes #565

Adds documentation for the NamedNodeURIField form field type which was
missing from the forms-intro.html reference documentation and the
demo.html examples.

This field type prompts users for a URI and stores the value as an RDF
named node (resource) rather than a string literal. Unlike PhoneField
or EmailField, no URI prefix is added.

Closes SolidOS#565
Copilot AI review requested due to automatic review settings January 22, 2026 07:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds missing documentation for the NamedNodeURIField form field type, which was previously implemented but undocumented. The field allows users to enter URIs that are stored as RDF named nodes (resources) rather than string literals.

Changes:

  • Added comprehensive documentation for NamedNodeURIField in the "Single Value fields - Text" section
  • Added an interactive demo example showing practical usage with foaf:homepage

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/forms-intro.html Adds documentation explaining NamedNodeURIField and how it differs from SingleLineTextField and other URI-based fields
docs/form-examples/demo.html Adds interactive demo example showing NamedNodeURIField usage with appropriate RDF syntax

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Document the NamedNodeURIField

1 participant