kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
64 stars 63 forks source link

Keep previous selection of new structure type if possible #6120

Closed oliver-stoehr closed 3 months ago

oliver-stoehr commented 4 months ago

Keep the previous selection in the dialog for adding new structures in the metadata editor. If the dialog is opened consecutively, the same value doesn't have to be reentered. The selection is reset, when the previous value is not allowed on the current structure/position. Resolves #5933.

andre-hohmann commented 4 months ago

Thanks a lot! This is an important improvement for the ones who are working intensively in the metadata editor.

In my tests, it works fine for structure elements and metadata of structure elements for one process. If the metadata editor is opened for a new process or is reopened for the same process, the value of the structure element or metadata has to be chosen again.

@BartChris , @apiller , @subhhwendt , @matthiaskissler , @aetherfaerber, @westedt: what do you think?

matthiaskissler commented 4 months ago

I think it would be easiest if the editor remembers the value only as long as the process is open (it would be an improvement nevertheless).

andre-hohmann commented 4 months ago

@matthiaskissler : Thanks for the feedback! My colleagues support the current functionality, too.