Content
View differences
Updated by Oliver Günther about 3 years ago
The dev team decided to move forward towards the Hotwire stack. One identified step was to use StimulusJS for basic interactivity in Rails rendered forms.
As we already have a lot of these scripts that are currently loaded through so called "dynamic scripts", we can replace most of them with StimulusJS code to have a unified way of dealing with interactivity from Rails rendered templates.
**Scripts to convert**
* [x] administration\_settings.js \[OG\]
* [x] admin\_users.js \[OG\]
* [x] backlogs.js \[OG\]
* [ ] custom\_fields.js ##48241 \[quite big, might make sense in its own PR\]
* [x] forums.js \[OG\]
* [x] global\_roles.ts \[JU\]
* [x] meeting.js \[JU\]
* [ ] members\_form.js \[AC\] ##48242
* [x] new\_user.js
* [x] print\_handler.js
* [x] project\_folder\_mode\_selection.ts
* [x] project\_form\_listener.js
* [ ] project.js ##48243 \[JU - but quite big, maybe separate PR\]
* [x] repository\_navigation.js \[OG\]
* [x] repository\_settings.js \[OG\]
* [x] two\_factor\_authentication.ts \[OG\]
As we already have a lot of these scripts that are currently loaded through so called "dynamic scripts", we can replace most of them with StimulusJS code to have a unified way of dealing with interactivity from Rails rendered templates.
**Scripts to convert**
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*