It's been a while, huh? After many years and many failed attempts, HackathonManager is now on Rails 7!
There's still plenty of work to go before a release can happen, but this is by far the biggest step.
Unfortunately, this pull request is massive. When I first started this attempt I had little hope and didn't bother with creating bitesized PRs. Fortunately, most of the core application hasn't changed, rather, updated to removed deprecations and other outdates pieces. I made each commit as small as possible, and ran tests for each commit.
I'll try to highlight below where you should look for the biggest changes and which are mostly likely to break.
What's new
Upgrade to Rails 7 and Ruby 3 A small detail, I know.
Goodbye ajax-datatables-rails! All datatables have been replaced with datatables created with Turbo and Stimulus. This has significantly reduced the amount and complexity of code around a datatable.
Many, many gem updates Most of the gems have been updated to a more recent version. Some are held back as they require more intensive refactoring that's outside the scope of this PR. *cough* rails-settings-cached
Gitflow HackathonManager will transition into the Gitflow workflow for easier organization and planning.
What to review
Datatables There are many changes still to come for the datatables but the general approach should be reviewed. I would look at the questionnaires datatable found in views->manage->questionnaires->_questionnaires_datatable.html.haml. The flow of data starts from the controller then goes to the page hosting the table. From there, the data is fed into the partial.
It's been a while, huh? After many years and many failed attempts, HackathonManager is now on Rails 7!
There's still plenty of work to go before a release can happen, but this is by far the biggest step.
Unfortunately, this pull request is massive. When I first started this attempt I had little hope and didn't bother with creating bitesized PRs. Fortunately, most of the core application hasn't changed, rather, updated to removed deprecations and other outdates pieces. I made each commit as small as possible, and ran tests for each commit.
I'll try to highlight below where you should look for the biggest changes and which are mostly likely to break.
What's new
What to review
views->manage->questionnaires->_questionnaires_datatable.html.haml
. The flow of data starts from the controller then goes to the page hosting the table. From there, the data is fed into the partial.Closes #965, #966