Hello everyone!
The two major developments of the moment: Multi-user & Bluetooth presence in Gladys 4 having just been merged, I think it’s time to take a little break in terms of features and invest some time in stability, major updates of dependencies, and code quality.
I think it’s healthy to do this regularly to ensure that the project continues to be of the same quality as at the beginning!
Dependencies:
-
I was talking about it yesterday, it has become critical to review the frontend build process, still stuck under preact-cli@2.0.0: Mise à jour du build du front (preact-cli@2 actuellement)
-
On the DB side, we are currently on Sequelize 4, while Sequelize 6.5.0 has been released. I think there are many small optimizations/bugfixes that must have been released between these two versions, and it could do a lot of good to the project to update!
-
We are still on Node 12.xx, while Node 14 is the latest LTS version.
-
On the frontend side, we need to remove momentjs which is very heavy and deprecated! datejs that we use in the frontend does just as much work, and is lighter.
-
vis-data and vis-network take up a lot of space for not much, it’s really worth removing.
-
unistore, the state management library we use, has been updated and I think we really need to switch to it! Moreover, in general, I think we should stop using it for component data, and restrict ourselves to global variables (httpClient, user, that’s about it :p). We have a lot of small bugs that are due to the fact that we use this global store to store local component states. It was me who set it up, wrongly

What do you think?