- changed title to Create sample dashboard built on dashboard framework
- edited description
Create sample dashboard built on dashboard framework
To serve as the basis for a live component, and as examples of using the facilities described in #400
Comments (13)
-
reporter -
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
-
reporter - changed status to resolved
pull request #208 resolves
-
reporter @ghachey In subsequent issues assigned to you I will propose some work items for @jeremy_kells for you to review
-
/enroldashboard displays a blank page - I suspect the new component / module / route is not being registered or something like this.
-
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
-
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?
-
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
-
First issue looks like the ts compiler - "Using tsc v1.8.10" Where is this configured?
-
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. -
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
-
OK got it, after the above I had to clear browser cache
-
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.
- Log in to comment