New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle AngularJS with Piwik #4691
Comments
Just wanted to add some input on user case when the Piwik server doesn't get access to the internet : Please take into consideration that those nice installers/packages managers don't make sense to few of your users if they don't have a master configuration to set a local directory instead of external URLs. Same apply for the Marketplace or GeoIP download. Dali |
@daliDev those tools are meant for development, not production |
Everything is ok then ! |
Increasing priority of tickets in alignment with our vision of a powerful open platform |
Documentation is partly available under https://github.com/piwik/developer-documentation/blob/master/docs/angularjs-getting-started.md File structure is defined as well, see https://github.com/piwik/developer-documentation/blob/master/docs/angularjs-getting-started.md#code-organization--file-structure . It is not ideal yet for sure but we will hopefully fix this medium-term once we have more AngularJS based components. All components should be ideally directly under the plugins directory. |
A great candidate for an AngularJS rewrite would also be the segment editor. |
Read more about how to run and write tests here: https://github.com/piwik/piwik/blob/master/tests/angularjs/README.md |
Removing yoeman for now, not really needed at the moment |
ref #3838 |
I'm closing this ticket for now. We can create tickets for the not yet resolved items once we need/want/decide to use them. |
Great effort Thomas! Letting users and developers modify the interface via JavaScript will be a great achievement, and much needed for our vision to build the best open platform for analytics. |
…arma + mochajs +chai/expect.js
The goal of this ticket is to gather all good ideas on how we could use AngularJS within Piwik and make the most of it.
Introduce AngularJS and define some best practicesGood / bad practicesLinks to some good blog posts / videos, eg. AngularJS RecipesWhat to consider for IE8 compatibilityDefine / change file structure of AngularJS widgets (the earlier the better)Instead of grouping files into javascript, stylesheet, templates, ... folder we could separate them by use case. Meaning under a plugin there is a folder per feature such as "siteselector" which contains all related files. For instance siteselector(-contorller.js), sitecontroller-directive.js, sitecontroller.html, sitecontroller-filter.htmlProvide a karma config and write a howto setupWrite some test examplesSee also:
Documentation
The text was updated successfully, but these errors were encountered: