Some last minute changes from tradeshow and user test:
Save
On the Working panel, there was no confirmation to users that save worked when they clicked it. I added a simple alert function to the success script:alert("Module saved!"); to achieve this. Such a small piece of code to fix something that confused every person who tried it during the tradeshow!Part C report + code clean-up
In the Process of writing the Part C report, I doubel checked all the code snippets and plugins I had used and doubel checked all my code commenting. I also went through and clean-up the code for formatting, etc.Tutorial
A tutorial was added just before the tradshow to the working panel to show users what each section did. This was done as a result of feedback we received that our inital instructions (in the infographic) didn't covere the nitty-gritty of this page and there is a lot of detail to cover here. I used a jQuery plugin from http://zurb.com/playground/jquery-joyride-feature-tour-plugin for this and changed minimal styling.Module HTML clean
The main function that casued problems at the tradeshow was saving. The saving function was running and returning success console.log text but only some modules for some websites wer actually saving to the database. This was discovered the day before the tradeshow so we cam armed with a list of ones that would work to show-case.While we had tested different aspects of javascript and PHP as we built the project, we fell into the trap of mainly testing the same module (Module 1 of Website 1 - Cricket Australia). To tackle this problem, we took a logical approach. First we looked at the ‘Working panel’ page, it was the same page (with the same inked js files) for all modules, the only variable was the module HTML data that was loaded. Knowing that the content in the HTML and CSS editor panels had previously affected this page, we took a close look at the HTML that was being imported and did a more thorough clean of the HTML to make it work.
The first module we looked at was the one that went to a white screen if you tried to type in the editor panel. It had a script tag in the code which was affecting the whole page. Once this was deleted, that module worked fine. The other elements we had to clean from the code were similar, mostly single or double quotes that caused the editor to think it was a string or other javascript elements (like “on-click”). We all went through and methodically cleaned the code from all the elements and tested each one thoroughly to ensure that it would load, be edited, re-validated, saved, and that the saved module would populate on the ‘My restorations’ page. This was quite a long and tedious task but thankfully we got them all and tested that each modules was able to be saved.
