Skip to content

add ontology needs to add a required field which is the iri of the new ontology #137

@tgbugs

Description

@tgbugs

the first field in this form should be Ontology uri and it should display the http://uri.interlex.org/{group}/ontologies/uris/ prefix as immutable context and the user typing adds after that.

currently posts to title + random suffix

const ontologyName = newOntology?.title.replace(/\s+/g, '_') + "_" + Math.random().toString(36).substring(2, 10);
so the new field would populate that value directly instead of need a mangle

for reference the api call is

const endpoint = `/${groupname}/ontologies/uris/${ontologyName}/spec`;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions