See also: - #4690 Website selector in AngularJS - #4692 All Websites dashboard using AngularJS - #4877 Add possibility to send feedback to Piwik team (this is using AngularJS) - #3838 Show paging in the screen 'Manage websites' to easily manage thousands of websites
Documentation - 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.
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.
@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
In a5533127b5a42bc2bcd580dadf0b8d26e5843199: refs #4691 moved components temporarily into a folder named angularjs
In cae443f9528ea433061ce3a0f2190fed07826e18: refs #4691 fixing filenames
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.
In 9e9441e65b5cdc816c998291562da6402494e0da: refs #4691 started to add support for unit tests by using karma + mochajs +chai/expect.js
In 25f7c2c20a5b65784fb3c957d09ca5db8bbea017: refs #4691 use chai instead of expect.js, run tests by default only in PhantomJS, added missing node modules
In 70eeaccdb7856b023362888225c7cb825019a777: refs #4691 wondering if we can easily enable travis for angularjs tests
In 11acb3f4cc8833a913ff0bb2875d7996b64400c1: refs #4691 install npm before running tests
In 9164d29b2b2f8e22fb012817dbde9ae58f3447ed: refs #4691 added missing version field
In 1b7e42b45a1e8c1c7f0b1e4cc86ef1cd4e53f78c: refs #4691 should make sure we have latest node version
In 53e4de5d5ade1370d4bbb2493870862668f66cfb: refs #4691 updated doc
In 7c1a73db9d5683ccb074012a1e735124f21a74a4: refs #4691 assume yes to all queries
In 329a293095d7c8a981529c08ec3ba8da90ece12f: refs #4691 added more test cases
In 275b6b0f0a771aa480ec0b5fc7265487263aa464: refs #4691 make sure to install correct package
In ad5de13b37c8c5ef99de1bd6c33eed08a3d4013f: refs #4691 fix file name
In 18a35b36cc1d9255d4214114eb69cebbe7ad2b41: refs #4691 log only errors
In 735c091090f0a49f1900bf8358ef1d1847b52519: refs #4691 added more example tests and fixed a bug found because of the tests
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
In cd043e682d6b4ddf58b44a25ed983e2ee690362d: refs #4691 use spec and mocha reporter, prepared usage of jshint
In 5c326f6171cb1e6c570064b9bfa8b47f4d060140: refs #4691 make sure mocha reporter is there
In c62423bf2029bf71506d672d9558ad9db6bf464b: refs #4691 _test.js => _spec.js
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!