cvisionai / tator

Video analytics web platform
https://tator.io
GNU Affero General Public License v3.0
98 stars 32 forks source link

Debounce edits in entity browser / media edits #1736

Open bctcvai opened 4 days ago

bctcvai commented 4 days ago

The edits in the entity browser and media edits can feel sluggish. Currently a PATCH occurs when someone leaves the text field after modifying. If they quickly proceed to another it is now grayed out to prevent multiple in-flight PATCHES from the same UI session.

To remove the sluggish feeling, it would be worth exploring debouncing the PATCH if the user is "still editing". Once the user stops editing, the patch should occur. A visual indication of data that is not yet comitted to the database would be useful.