assemblee-virtuelle / assemblee-virtuelle/semapps
LexiconImportForm: add an util to fetch Gogocarto API
- Dominant language
- TypeScript
- Stars
- 103
- Forks
- 14
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Right now with [LexiconImportForm and LexiconCreateDialog](https://semapps.org/docs/frontend/interop-components#lexiconimportform) we can import an util to fetch from Wikidata or ESCO. But what about adding an util to import from Gogocarto APIs ? For example, to import Transiscope items, we could have a code like this:
```jsx
({
'pair:label': data.label,
'pair:comment': data.summary,
'http://www.w3.org/ns/prov#wasDerivedFrom': data.uri,
})}
redirect="show"
/>
```
This could be used by CDLT when actors create new organizations or places.
Ping @simonLouvet
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the LexiconImportForm and LexiconCreateDialog documentation and compare the existing Wikidata and ESCO import utilities. Define the Gogocarto fetchLexicon behavior using the Transiscope example, including the selectData mapping, and verify that the form can import the resulting organizations or places.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100