wicket-dashboard icon indicating copy to clipboard operation
wicket-dashboard copied to clipboard

Update Javascript libraries like Jqplot for more compatibility

Open malaki12003 opened this issue 10 years ago • 6 comments

I am using AppFuss and like to include the Dashboard. I found there is some conflicts regarding JavaScript libraries. For example, In the last release, Jqplot 6.8.0 is used that leads many problems in rendering with new version of jquery. I updated this dependency to 6.16 and resolve some. Please upgrade all JavaScript dependencies.

malaki12003 avatar Sep 04 '14 07:09 malaki12003

Can you supply a Pull Request? Thanks.

decebals avatar Sep 04 '14 08:09 decebals

Your problem is replicable on demo application or can you supply a quick start application that to highlight the bug? Do you use wicket 6 version (master) or wicket 7 version (branch wicket-7)? I will try to investigate this problem but I need more information.

decebals avatar Sep 04 '14 08:09 decebals

At first I used the previous version (6) and encountered that any charts don't work properly in Appfuse (wicket version). So, I got your code and attempted to update some dependencies that resolved some issues but still remain some others. I thought may be If I would employ wicket 7, my dashboard perhaps get better but it didn't. for more information I've setup my app on redhat cloud at http://demo-myportalapp.rhcloud.com/home. please log in by admin/admin and let me know how I can solve thee problem.

malaki12003 avatar Sep 04 '14 11:09 malaki12003

I finally solve the problem as following: Bootstrap adds something like:

  • { box-sizing: border-box; } This causes a bad rendering in dashboard. So, I add in my css the following style: .dragbox > * { box-sizing: content-box !important; }

Dear Decebals, please apply my solution on the binaries in the maven repository.

malaki12003 avatar Sep 04 '14 12:09 malaki12003

I committed on github some modifications on dashboard.css. Can you verify that everything is ok for you? Thanks

decebals avatar Sep 04 '14 12:09 decebals

Sure .... I will test and come back soon ...

malaki12003 avatar Sep 04 '14 13:09 malaki12003