Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

add to active ontology should use the term iri for the page not the backend hostname

Open Beginner friendly
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
api

Research direction

Start in src/api/endpoints/apiService.ts at the linked line and inspect the JSON-LD returned for the current page. Verify how the base and perspective term IRIs are represented, then check the search-results path. Done means adding to the active ontology uses the page's term IRI, with base used for search results.

Written by the indexing model from the issue text.

Description

https://github.com/MetaCell/interlex/blob/5643e34d456c3bcc0c62c4569231ba03a5939aa7/src/api/endpoints/apiService.ts#L316

{API_CONFIG.OLYMPIAN_GODS} should not be used, it should be e.g. http://uri.interlex.org/base/ilx_1234567 if the user was viewing base or http://uri.interlex.org/tgbugs/ilx_1234567 if they were viewing my perspective. In this case follow what the jsonld returns now.

For adding from the search results page use base for now.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaCell/interlex

All issues in MetaCell/interlex

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.