Latest Build | Deployment |
---|---|
A link that you can add to any browser’s bookmarks which adds a summary and some time-keeping helpers to your unanet timesheet page.
We (and our supervisees) sometimes have a lot of time entry categories. It may be difficult to understand a high-level view of these entries at a glance.
The Unanet Summarizer allows you to:
+
hours in a time period where you use PTODrag the link below to your browser’s bookmarks or bookmark toolbar (you can rename it afterward, if you want)
Here’s an animation of how that might work in a Firefox browser:
When you’re on your timesheet (or viewing your supervisees’ timesheet), click the bookmarklet link to see the time summary.
A: Most bookmarks point to a web site (e.g. https://excellalabs.com). A bookmarklet actually contains some script that manipulates a web page in some way. In our case, that script downloads the unanet-summarizer code and runs it, which displays the summary box on the web page.
A: On many browsers, you can display a “bookmarks bar” below the main place where you enter web sites / searches. This lets you click on a bookmark directly, without going through your “bookmarks” or “favorites” folders. It makes things a little more accessible.
A: Ask Sean Killeen or the #unanet-summarizer
channel in Slack.
The contents of the link are:
javascript:(function(){ var onload=function(){ window.summarizeUnanetTime(); }; if(!window.summarizeUnanetTime){var s=document.createElement('script');s.src='https://excellalabs.github.io/unanet-summarizer/unanet-summarizer.js';s.onload=onload;document.body.appendChild(s)} else { onload(); } })();
This bookmarklet adds injects the JavaScript file if it doesn’t exist, and then calls the summarizeUnanetTime()
function that it contains.
cd bookmarklet
npm install
gets the dependenciesnpm run build
builds & outputs to dist
foldernpm start
allows you to view a bookmarklet for debug that you drag to your bookmarks barunanet-summarizer
RG –> unanetsummarizer
storage account –> analytics-powerbi
container –> UnanetSummarizer.pbix
https://summarizeranalytics.table.core.windows.net/analyticsentries
(the table storage within the summarizeranalytics
storage group)