Considerit / ConsiderIt

For deliberation and opinion visualization
GNU Affero General Public License v3.0
90 stars 14 forks source link

System upgrades, with focus on updating old javascript dependencies #145

Closed tkriplean closed 2 years ago

tkriplean commented 2 years ago

This update is mostly internal.

React has been updated from v11 to v18 (that’s 10 years of upgrade!).

Jquery, Jquery UI, and modernizr have been removed.

Various bug fixes and performance improvements (mainly speedier page load) have also been implemented.

The primary motivation for this work is to lay the groundwork for improving navigation by eliminating proposal pages: https://consider.consider.it/improve-navigation-by-eliminating-proposal-pages-use-inline-expansion-instead-design-development-priorities-33-24908?results=true

To do that work well, I want to use some FLIP based animations. There is a good library for this (react-flip-toolkit) that required a later version of React. After upgrading React, I decided to take care of other housekeeping too.

I have also integrated react-flip-toolkit, and used it to implement list order change animations. This is a minor cosmetic change, but sets the stage for deeper changes to the UI.