Perhaps it would be a nice feature to have sortable columns in the tables so it's possible to sort by e.g. visits or page views.
Furthermore, when tracking data from your webshop, e.g. Tea Commerce, via Google Analytics you have some data about e.g. most purchased products.. if there is some data here it would be nice to have an addtional tree node "e-commerce" with those data.
Yeah :) I looked a bit on how the sorting in listview property editor works.. but I think I need to study a bit closer on how it works and learn more about AngularJS :)
I have added some changes to the tables to add sortable columns like in the listview property editor.
As a starting point I have done this with the keywords table. I think the sorting could use the default icons for sorting like icon-sort (which listview property editor also use), icon-caret-down and icon-caret-up. But it seems these icons are missing in Umbraco as the listview doesn't display the sort direction. Issue created here: http://issues.umbraco.org/issue/U4-4688
So I have modified keywords.html and Keyword.Controller.js + added a new folder "/App_Plugins/Analytics/backOffice/AnalyticsTree/icons/" where I have copied the folder /css and /fonts from font-awesome-4.1.0 just to include the sorting icons. Perhaps there is a better way to do this.
Sortable table columns and ecommerce data
Perhaps it would be a nice feature to have sortable columns in the tables so it's possible to sort by e.g. visits or page views.
Furthermore, when tracking data from your webshop, e.g. Tea Commerce, via Google Analytics you have some data about e.g. most purchased products.. if there is some data here it would be nice to have an addtional tree node "e-commerce" with those data.
/Bjarne
A nice suggestion.
However my time is very limited at the moment, so if you have a suggestion happy to take pull requests :)
Yeah :)
I looked a bit on how the sorting in listview property editor works.. but I think I need to study a bit closer on how it works and learn more about AngularJS :)
I have added some changes to the tables to add sortable columns like in the listview property editor.
As a starting point I have done this with the keywords table. I think the sorting could use the default icons for sorting like icon-sort (which listview property editor also use), icon-caret-down and icon-caret-up. But it seems these icons are missing in Umbraco as the listview doesn't display the sort direction. Issue created here: http://issues.umbraco.org/issue/U4-4688
So I have modified keywords.html and Keyword.Controller.js + added a new folder "/App_Plugins/Analytics/backOffice/AnalyticsTree/icons/" where I have copied the folder /css and /fonts from font-awesome-4.1.0 just to include the sorting icons. Perhaps there is a better way to do this.
keywords.html
Keyword.Controller.js
It looks like this:
/Bjarne
is working on a reply...