Re-implements the UI for managing multiple fields using the simulus.js package and Jest for testing. Accomplishes the same feature set with less code and without any reliance on additional css classes. The only classes used are from Bootstrap.
Changes
creates FieldsController to do all the management
uses Jest for unit tests
linting and testing is done during add additional Travis build stage
Coverage remained the same at 99.439% when pulling 6f4b2ea78218648aebb8358e4ab91de8fff3d141 on stimulus into 7989cc411df34c0f1d178e05f8c48028950f1b7f on master.
Description
Re-implements the UI for managing multiple fields using the simulus.js package and Jest for testing. Accomplishes the same feature set with less code and without any reliance on additional css classes. The only classes used are from Bootstrap.
Changes
FieldsController
to do all the managementPreview