OnroerendErfgoed / atramhasis

An online SKOS editor
http://atramhasis.readthedocs.io/
GNU General Public License v3.0
53 stars 11 forks source link

Trigger reload of list of concepts on adding a concept #763

Closed koenedaele closed 1 year ago

koenedaele commented 1 year ago

As noted by @SvenLieber in openjournals/joss-reviews#5040:

After adding a new concept to a concept scheme, I noticed that the list of concepts on the right was not updated. A reload was necessary. This is a minor issue, but I would have expected that some sort of event gets triggered and the list will be updated with the newly added concept. An impatient user might create a concept several times or may contact the support for such kind of things.

@JonasGe or @cedrikv I know it can be a bit tricky to implement, but I assume we can trigger a reload after the POST to the server is complete since these are very small records that update quickly?

cedrikv commented 1 year ago

our usual solution is to trigger a refresh after a delay, should be a quick fix