add ontology needs to add a required field which is the iri of the new ontology
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/MetaCell/interlex/blob/54e35e4a728fb869f91a8efe85e62598805ea8d4/src/components/SingleOrganization/AddNewOntologyDialog.jsx#L35-L36
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 https://github.com/MetaCell/interlex/blob/54e35e4a728fb869f91a8efe85e62598805ea8d4/src/components/SingleOrganization/AddNewOntologyDialog.jsx#L75 so the new field would populate that value directly instead of need a mangle
for reference the api call is https://github.com/MetaCell/interlex/blob/54e35e4a728fb869f91a8efe85e62598805ea8d4/src/api/endpoints/apiService.ts#L154
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/components/SingleOrganization/AddNewOntologyDialog.jsx at the referenced form fields and submission logic, then inspect src/api/endpoints/apiService.ts around line 154. Confirm how the ontology IRI is sent, and make the form use the immutable group prefix plus the user-entered suffix as the submitted value instead of generating it from the title.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100