texx00 / sandypi

The ultimate controller for sand tables
Other
28 stars 4 forks source link

React introduction #18

Closed texx00 closed 3 years ago

texx00 commented 3 years ago

When i started this project I didn't know about react. The project is quite young and I think it should not be too big of a problem to introduce it now. For some functionalities that requires a lot of interaction can be very useful (for the playlist edits for example). Will start to introduce it for the playlists and see if it makes sense to extend it to the full application.

texx00 commented 3 years ago

The playlist page complexity is increasing too much with the addition of different type of elements in the list. To use react only there must setup the react environment to compile jsx from multiple files. I think it is better to stop the feature developmente for the moment and start the full site ridesign with react. Will create a new branch, setup react and start the site developmente more or less from scratch. Will be necessary to refactorize the flask app to create json files and communicate with socket apis with the frontend (instead of using rest apis to share html pages)

This will require quite a lot of work but I think can bring to a better result.