Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The Whimsy code has multiple copies of bootstrap CSS and JS scattered around.
For example:
21200 10 May 2017 www/assets/bootstrap-min.css
21260 22 Feb 2016 www/members/assets/bootstrap-min.css
21260 27 May 2017 www/events/assets/bootstrap-min.css
21260 30 May 2017 www/status/assets/bootstrap-min.css
22540 22 Jan 2016 www/status/css/bootstrap.min.css
99961 22 Jan 2016 www/members/css/bootstrap.min.css
and
29110 22 Jan 2016 www/members/js/bootstrap.min.js
36816 22 Jan 2016 www/status/js/bootstrap.min.js
36868 22 Feb 2016 www/members/assets/bootstrap-min.js
36868 27 May 2017 www/events/assets/bootstrap-min.js
36868 30 May 2017 www/status/assets/bootstrap-min.js
37045 10 May 2017 www/assets/bootstrap-min.js
It's a bit confusing to have several versions of the code with different versions and slightly different names. Ideally there should be a single shared copy.
There are some other related libraries as well (e.g. bootstrap-theme)
In some cases the sources are referenced directly in the source files, however most references seem to be generated by library code such as Wunderbar; it's not clear how to ensure such code uses the shared copies.