stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.37k stars 803 forks source link

Refactor setup wizard to fix text input #5459

Closed WithoutPants closed 3 weeks ago

WithoutPants commented 3 weeks ago

Refactors Setup.tsx to better conform to the React way of doing things - specifically moving render functions into standalone components, using a context to consolidate reused data.

Fixes issue where entering text into the input fields would de-focus the field, making input very annoying.