Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After saving a mapping, there is a delay until that mapping can be retrieved #64

Open
stefandesu opened this issue Oct 27, 2020 · 0 comments

Comments

@stefandesu
Copy link
Member

This is especially obvious when saving mappings via Cocoda. You save a mapping which is confirmed, but the subsequent mapping request will not yet return the mapping we just saved. For the user, it will be unclear whether the mapping was actually saved. Only after the next refresh of the mappings will the change be shown.

Ideally, a mapping request should return the new/changed mapping immediately after saving the mapping. As this is likely a limitation of the Wikidata SPARQL endpoint, we might have to add a kind of mapping cache which stores recently saved mappings and potentially includes it in a mapping request. Of course this can get complicated if the request has pagination and it is not clean where in the list the mapping should be inserted. So if we solve it this way, we might need to limit it to specific mapping requests (where either from or to are given, for example).

Any other ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant