View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08004Feature requestsTheme editorpublic2021-09-08 09:34
ReporterDenisChenu Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary08004: Compress JS and CSS for a survey
Description

We have a lot of js file, it's great for dev : because we can update only a little file. We can add some js in PLugin (not now but near ;)) etc ...

But : this make a lot of JS call and file. Same think for CSS . And to be "dev" understandable : this file must be commented etc .

Then use a minify js and minify css can be a great idea.

Additional Information

We need:

  • Know whole js file to be included for one survey before survey start : then move js inclusion elsewhere
  • A good versioning of survey (change an question advanced parameters can add js or css)
  • A good versionning of template.js and template.css

Maybe an option in survey 'use minify' can be great too.
I think admin user can deactivate minify and force calculation of minified file.

We need to to create the file and call it if exist, else do it : caching issue.

There are a lot of minify/js minify/css PHP script can be taken.

TagsNo tags attached.
Bug heat6
Story point estimate
Users affected %

Users monitoring this issue

2BITS_PL, alorenc

Activities

DenisChenu

DenisChenu

2014-07-01 09:15

developer   ~30248

http://www.yiiframework.com/extensions/?tag=minify

We need to use assets for whole css and js.
We need to concatenate whoe js file and css file for one survey (find all registred js and css needed for question)

Issue History

Date Modified Username Field Change
2013-07-13 14:40 DenisChenu New Issue
2013-07-13 14:40 DenisChenu Severity @50@ => feature
2014-07-01 09:15 DenisChenu Note Added: 30248
2015-12-11 14:40 c_schmitz Category Templates => Theme editor
2021-09-08 09:31 alorenc Issue Monitored: alorenc
2021-09-08 09:31 alorenc Bug heat 2 => 4
2021-09-08 09:34 2BITS_PL Issue Monitored: 2BITS_PL
2021-09-08 09:34 2BITS_PL Bug heat 4 => 6