Create sample dashboard built on dashboard framework

Issue #420 resolved
Brian Lewis repo owner created an issue

To serve as the basis for a live component, and as examples of using the facilities described in #400

Comments (13)

  1. Brian Lewis reporter

    @ghachey @jeremy_kells

    So I have made two commits today pushing up the dashboard framework as described in issue #400, and an implementation of this based on enrolment data (sourced from warehouse.tableEnrol).

    You can see this new dashboard from the url

    /enroldashboard

  2. Brian Lewis reporter

    @ghachey In subsequent issues assigned to you I will propose some work items for @jeremy_kells for you to review

  3. Jeremy Kells

    /enroldashboard displays a blank page - I suspect the new component / module / route is not being registered or something like this.

  4. Brian Lewis reporter

    @jeremy_kells @ghachey what do you see in the browser console window? Is there an error?

    Also, you can navigate to

    /stateaudit

    to see a list of all the registered (ui-router) states.

    Is enroldashboard in there?

    You've done a _build_deploy in task runner explorer?

    Also, while you're there, take note of the typescript compiler version you are using . You should now be up to 2.4.2

  5. Brian Lewis reporter

    @jeremy_kells @ghachey

    Also worth checking fiddler to see if there are any errors reported.

    fyi When I'm working in development I have fiddler on all the time, because it fakes the https: interface. I imagine you need to do the same?

  6. Brian Lewis reporter

    @jeremy_kells @ghachey

    could even be a database error.... do you have the warehouse generated in your local db? It is reading from the table warehouse.tableEnrol

  7. Jeremy Kells

    OK, so 'npm i' from console updated packages, and _build_deploy reports that it's now "Using tsc v2.4.2"

    Any reason you are not storing package-lock.json in the repo?
    This is recommended best practice to make builds repeatable.

  8. Jeremy Kells

    But, /enroldashboard is not listed in /stateaudit

    No errors in console, just the two log lines:

    $locationChangeStart: https://localhost:44301/#!/stateaudit=>https://localhost:44301/#!/enroldashboard
    $locationChangeSuccess: https://localhost:44301/#!/stateaudit=>https://localhost:44301/#!/enroldashboard
    
  9. Brian Lewis reporter

    OK got it, after the above I had to clear browser cache

    @jeremy_kells goodo, that would have been my next suggestion :) Having the console window open in chrome then reloading generally does the job because the developer tools disable the cache by default.

    please raise an issue on your package management suggestion.

  10. Log in to comment