[ 
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11990#comment-11990
 ] 

Ivo Ladage - van Doorn edited comment on AMDATUOPENSOCIAL-137 at 1/2/12 10:21 
AM:
----------------------------------------------------------------------------------

I can still reproduce all the issues I described before, I added some more 
information about the errors below:

- Widgets added in a new dashboard cannot be dragged anymore to a new position. 
To reproduce, start clean, open dashboard_multiple.html, add dashboard, add 
some widget and try to move that widget to the right.
> I can reproduce this in both FF 8.0.1 and IE 8. In fact, when I open 
> dashboard_multiple.html in FF 8.0.1, I get a lot of JS errors:

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/templates.html
Line: 2, Column: 11
Source Code:
  <li id="<%= id %>" class="selectcategory"><button><%= title %> (<%= amount 
%>)</button></li>

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/jsonfeed/mywidgets.json
Line: 1, Column: 1
Source Code:
{

Error: junk after document element
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget1.html
Line: 21, Column: 1
Source Code:
<style>

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget3.html
Line: 17, Column: 88
Source Code:
      $('#screenshotdialog').html('<img class="screenshotlarge" src="' + 
$(this).attr("src") + '" />');

Error: syntax error
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget2.html
Line: 1, Column: 1
Source Code:
Different examples for the dashboard plugin:


- The layout cannot be changed in new dashboards. To reproduce, start clean, 
open dashboard_multiple.html, add dashboard, add some widget and try to change 
the layout using the Edit layout option.
> When opening the layout dialog, I get this JS error:

Error: k.layout is undefined
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/js/lib/jquery.dashboard.min.js
Line: 1

Whjen I select a layout, nothing happens.

- Widgets added to a new dashboard are not saved, they disappear when the 
browser is refreshed.
> Can reproduce this both in FF 8 and IE 8

- When maximizing a widget, sometimes a 'Loading...' progressbar appears which 
does not disappear. To reproduce, start clean, open dashboard_multiple.html, 
add dashboard, add some widget and maximize it.
> Can reproduce this both in FF 8 and IE 8


                
      was (Author: ivol):
    I can still reproduce all the issues I described before, I added some more 
information about the errors below:

- Widgets added in a new dashboard cannot be dragged anymore to a new position. 
To reproduce, start clean, open dashboard_multiple.html, add dashboard, add 
some widget and try to move that widget to the right.
> I can reproeuce this in both FF 8.0.1 and IE 8. In fact, when I open 
> dashboard_multiple.html in FF 8.0.1, I get a lot of JS errors:

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/templates.html
Line: 2, Column: 11
Source Code:
  <li id="<%= id %>" class="selectcategory"><button><%= title %> (<%= amount 
%>)</button></li>

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/jsonfeed/mywidgets.json
Line: 1, Column: 1
Source Code:
{

Error: junk after document element
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget1.html
Line: 21, Column: 1
Source Code:
<style>

Error: not well-formed
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget3.html
Line: 17, Column: 88
Source Code:
      $('#screenshotdialog').html('<img class="screenshotlarge" src="' + 
$(this).attr("src") + '" />');

Error: syntax error
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/demo/widgets/widget2.html
Line: 1, Column: 1
Source Code:
Different examples for the dashboard plugin:


- The layout cannot be changed in new dashboards. To reproduce, start clean, 
open dashboard_multiple.html, add dashboard, add some widget and try to change 
the layout using the Edit layout option.
> When opening the layout dialog, I get this JS error:

Error: k.layout is undefined
Source File: 
file:///D:/Amdatu-svn/trunk/amdatu-opensocial/dashboard-plugin/src/main/resources/static/js/lib/jquery.dashboard.min.js
Line: 1

Whjen I select a layout, nothing happens.

- Widgets added to a new dashboard are not saved, they disappear when the 
browser is refreshed.
> Can reproduce this both in FF 8 and IE 8

- When maximizing a widget, sometimes a 'Loading...' progressbar appears which 
does not disappear. To reproduce, start clean, open dashboard_multiple.html, 
add dashboard, add some widget and maximize it.
> Can reproduce this both in FF 8 and IE 8


                  
> Improve multiple dashboard demo
> -------------------------------
>
>                 Key: AMDATUOPENSOCIAL-137
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-137
>             Project: Amdatu OpenSocial
>          Issue Type: Improvement
>            Reporter: Mark Machielsen
>         Attachments: AMDATUOPENSOCIAL-137.patch, 
> AMDATUOPENSOCIAL-137-v2.patch, AMDATUOPENSOCIAL-137-v3.patch, 
> AMDATUOPENSOCIAL-137-v4.patch, AMDATUOPENSOCIAL-137-v5.patch
>
>
> Currently the dashboard_multiple.html is not feature complete. Please add the 
> following features:
> - add possibility to add dashboards
> - select the dashboard which is added
> - make sure the widget are added to the correct dashboard
> - store the dashboards and which widgets are on what tab in a cookie

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to