#3360 - Theme maintenance and testing tools

Identifier #3360
Issue type Feature request or suggestion
Title Theme maintenance and testing tools
Status Completed
Tags

Roadmap: v11 (custom)

Handling member Chris Graham
Addon core_themeing
Description Add some additional tools to the admin_themes module to make it easier to maintain and test themes.

Maintenance tools:
1) Edit an existing theme's seed (must be smart enough to only change images and CSS colours that matched the previous seed) (take from fix_partial_themewizard_css page, which is current a non-bundled addon)
2) For each custom theme, provide a theme upgrading button which takes you to a theme upgrading screen
a) provide a link to the themeing_changes module on the compo.sr site, with the specific files that exist in that theme, and the from version of what the current theme is marked as being made for, and the to version being the version of Composr being run.
b) provide a button that will mark the theme as compatible with the version you're running. This will update the "The version of Composr the theme was originally made from" theme option and rebuild all the [tt].editfrom[/tt] files
c) provide a link to the tut_theme_lifecycle tutorial and tut_upgrade tutorial
d) provide a reapply theme seed tool (looks for any theme images that were not converted, i.e. came in with new addons, or with an upgrade and applies the seed to them in the theme). Also allow selection of images that were already converted so those can be rebuilt (maybe the images were changed, or the theme wizard improved). Include a select all button. Before the tool is even launched provide a hint on if there are new theme images for the tool to process (i.e. like a TODO item).

Testing tools:
1) Extend the template testing to specifically include ways of testing how overlays, and frames, look.
2) Theme Health Check (probably actually implement this as a part of the Health Check system):
a) Test that no localhost/local-domain/local-IP URLs are being referenced in templates
b) Test to see if the "reapply theme seed tool" tool needs re-running
c) Test to see if the "The version of Composr the theme was originally made from" option for any themes is outdated
3) Third-party testing tool links (take code from theme_debug page, which is current a non-bundled addon)
4) For each CSS have a validation link (for local validator and W3C validator)
5) For each screen preview have an HTML validation link (for local validator and W3C validator)
6) Find if conflicting theme images, e.g. foo.png and foo.jpg in the same directory. We have an automated test for this right now, so share the code.

Improve Theme Wizard:
1) Ability for theme wizard to generate to a streamed zip file so that you may easily get files from a reference theme without adding a new theme to your live site to get at the files.

Remove the theme_debug addon, as now everything from it will have been incorporated into other parts of Composr.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated