toniebox-reverse-engineering / teddycloud_web

A better web interface for TeddyCloud
https://github.com/toniebox-reverse-engineering/teddycloud/
17 stars 9 forks source link

Edit Settings - Textinput triggers writeconfig after each key hit #23

Open henryk86 opened 7 months ago

henryk86 commented 7 months ago

Currenlty each keyhit in a settings textinput (numberinput) triggers the triggerWriteConfig function. This should be changed, if possible, it should only be triggered if user has finished with his input.

If you type fast, this lets crash your teddycloud / destroys the config.overlay.ini in toniebox mgmt settings.

henryk86 commented 6 months ago

This should be solved asap. If you change a directory setting. It creates a folder with each key hitting.

IMG_0426

henryk86 commented 6 months ago

As a intermediate solution the textinput got a save button. Instead of firing the api with every key , user must now save this type of inputfield manually.

henryk86 commented 1 week ago

First version started by @naymecliff is finished and ready to be merged and tested.