MetaCell / MetaCell/interlex

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
Dominant language
JavaScript
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.