OnroerendErfgoed / atramhasis

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

As an admin, I want an auto-updated list of concept schemes once I add a new provider. #897

Open goessebr opened 2 months ago

goessebr commented 2 months ago

Second part of https://github.com/OnroerendErfgoed/atramhasis/issues/883, less urgent

Currently, Dojo does not automatically reload the select box in the main menu after a provider is added. In Part 1, we resolved the issue of enabling the buttons when only one concept scheme is present, making Atramhasis usable with just one concept scheme.

However, users still need to manually reload the page to see the newly added provider. A message is displayed to inform users of this requirement. This message can be removed once the auto-reloading functionality is implemented.

The code in https://github.com/OnroerendErfgoed/atramhasis/pull/896/commits/249dabc6618aed2e95d414e1b5ffecbfcb038968 might be useful.

Message to be removed once this issue is fixed: https://github.com/OnroerendErfgoed/atramhasis/blob/249dabc6618aed2e95d414e1b5ffecbfcb038968/atramhasis/static/admin/src/app/ui/AppUi.js#L177-L182