Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 11, 2014 @ 23:52
    Jeavon Leopold
    0

    Plans for a v7 compatible version?

    Hi Dan,

    Do you have any plans to make Diplo Trace Log Viewer compatible with Umbraco v7?

    Thanks,

    Jeavon

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 12, 2014 @ 18:33
    Jeavon Leopold
    0

    I should have said that the only issues in v7 are layout ones, it actually functions perfectly fine :-)

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 12, 2014 @ 21:42
    Dan Diplo
    0

    Hi Jeavon,

    Yeah, I guess I should, should't I? :)  It's currently a UserControl so is "old skool" but I'm not actually sure if there is any better alternative for dashboard apps? But it's definitely something I will be looking at...

     

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 12, 2014 @ 23:03
    Jeavon Leopold
    0

    Hi Dan,

    Yes you should, all it really needs is the styling issues fixing.

    There is a new method for creating angular JS dashboards but I can't find any references for it currently :-(

    Jeavon

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 13, 2014 @ 16:09
    Dan Diplo
    0

    Now you've done it! :) I started to look at doing this "properly" in Angular and using the new methodology, as it would be good to learn. So this will propably involve a custom tree (as I think I know how to build one in 7.x) and then re-do everything using WebApi and JSON. So it will be more effort, and take longer, but hopefully it should be even better if fully native :) That's my plan, anyway.... If it all goes wrong I'll just boostrap up the current version :p

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 13, 2014 @ 22:26
    Jeavon Leopold
    1

    Ah cool! As there was no example of a Angular based dashboard I had a experiment and found it was very very very easy, here is the code:

    package.manifest

    {
      "javascript": [
        "~/App_Plugins/CrumpledDog/js/dashboard.welcome.js"
      ]
    }
    

    dashboard.welcome.html

    <div ng-controller="CrumpledDog.Dashboards.Welcome" class="myDash">
        <h1>{{welcome}}</h1>
    </div>
    

    dashboard.welcome.js

    angular.module("umbraco").controller("CrumpledDog.Dashboards.Welcome", function ($scope, dialogService, entityResource) {
    
        $scope.welcome = "hello world";
    
    });
    

    dashboard.config

    <control showOnce="true" addPanel="true" panelCaption="">
            /app_plugins/crumpleddog/views/dashboard.welcome.html
     </control> 
    
  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 13, 2014 @ 23:19
    Dan Diplo
    0

    Wow, that's really handy - and nice and simple. Great example! I'm currently going down the custom tree route, but if that proves fruitless I now have an alternative. Thanks :)

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 22, 2014 @ 23:30
    Dan Diplo
    100

    You can be the first to know - the rewritten from scratch v7 version has just been released - http://our.umbraco.org/projects/developer-tools/diplo-trace-log-viewer

    Enjoy and any feedback welcome :) 

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    May 22, 2014 @ 23:50
    Jeavon Leopold
    0

    That's totally awesome!

Please Sign in or register to post replies

Write your reply to:

Draft