add ontology needs to add a required field which is the iri of the new ontology
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript, typescript
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.
Description
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
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaCell/interlex
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in MetaCell/interlex
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·