ecomontec / ecoSound-web

Web application for ecoacoustics to manage, navigate, visualise, annotate, and analyse soundscape recordings.
https://ecosound-web.de/
GNU General Public License v3.0
19 stars 3 forks source link

coherent saving tag behavior #460

Open kdarras opened 3 months ago

kdarras commented 3 months ago

It is possible to create tags without playback interruption or page reload. They are even displayed on the spectrogram with an instant Ajax update.

However, editing tags without interruption is impossible: playback restarts at the beginning of the frame and the tag window re-opens, the page is reloaded. Also, "error undefined" is visible for a short time: image

So: saving an edited tag should not reload the player and changes should be reflected immediately on the spectrogram, just like saving created tags.

Related to #368.

kdarras commented 2 months ago

The best would be to have 3 different behaviors for the save button, all selectable with a drop-down side menu: -save & close -save & next -save & previous -save

The user should be able to select the variant he/she likes with a drop down but the browser should remember the selection so that the user can keep the desired saving behavior and get a fast user experience (with a single click). The default should be "save & close"

The save button should be grayed out if no changes were made yet so nothing happens when clicking it.