This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
We should add and verify usage logging [1] in these areas: * Cordova * node.js * Grunt * usage * adding libraries using UI * Gulp * usage * adding libraries using UI * npm * usage * adding libraries using UI * JS frameworks (Petře, any ideas?) * JS debugging (Martine, any ideas?) * Web inspection (Honzo, any ideas?) Feel free to add more areas/use cases. Thanks. [1] http://wiki.netbeans.org/UsageLoggingSpecification
* Direct project opening (package.json, bower.json)
Just noticed that Grunt and Gulp has incorrect tasks: * Bower * usage * adding libraries using UI * CDNJS * adding libraries using UI
Regarding the frameworks, I can imagine logging choosing the code completion items. It can be logged every x usage.
Regarding debugging, when HTML5 project is run (debug is on by default), USG_DEBUG_SESSION_START is logged with "JavaScript" and URL parameters. When some debug action is performed during HTML5 project is running, USG_DEBUG_HTML5_JS is logged. When node.js project is debugged, USG_DEBUG_SESSION_START is logged with "JavaScript" and "Node.js at <URL>" parameters.
> * Web inspection (Honzo, any ideas?) I have added logging of the page inspection usage. The message is USG_PAGE_INSPECTION and it has no parameters. It should allow us to see what percentage of users is using the page inspection. The event is logged when the first DOM node is selected (to avoid triggering of the event when the page is run in debug mode but no page inspection features are used).
(In reply to Jan Stola from comment #5) > I have added logging of the page inspection usage. The message is > USG_PAGE_INSPECTION and it has no parameters. It should allow us to see what > percentage of users is using the page inspection. The event is logged when > the first DOM node is selected (to avoid triggering of the event when the > page is run in debug mode but no page inspection features are used). Thanks a lot, I will update the wiki page [1] (we use it to find out what is new for the Usages website). [1] http://wiki.netbeans.org/UsageLoggingSpecification
(In reply to Tomas Mysik from comment #6) > Thanks a lot, I will update the wiki page [1] (we use it to find out what is > new for the Usages website). Done, I have added "Easel Events" section so please use it. Thanks.
(In reply to Tomas Mysik from comment #1) > * Direct project opening (package.json, bower.json) USG_PROJECT_CONVERTOR event added (with file name as a parameter).
(In reply to Tomas Mysik from comment #8) > USG_PROJECT_CONVERTOR event added (with file name as a parameter). Forgot to add a changeset. http://hg.netbeans.org/web-main/rev/7f1cf78f1b63
(In reply to Tomas Mysik from comment #0) > * Cordova Logged its presence on project open - USG_PROJECT_HTML5_OPEN. > * node.js Any idea what we want to log? Currently, we log which JS platforms are present on project open - USG_PROJECT_HTML5_OPEN. > * Grunt > * usage Already logged - USG_GRUNT_BUILD. > * Gulp > * usage Already logged - USG_GULP_BUILD. > * npm > * usage Logging npm usage and run-script - USG_NPM_INSTALL and USG_NPM_RUN_SCRIPT. http://hg.netbeans.org/web-main/rev/b143313f87e8 > * npm > * adding libraries using UI Honza will take care of it. > * Bower > * usage Already logged - USG_BOWER_INSTALL. > * Bower > * adding libraries using UI Honza will take care of it. > * CDNJS > * adding libraries using UI Honza will take care of it. > * JS frameworks (Petře, any ideas?) Petře, let's discuss it face to face in the office, thanks. > * JS debugging (Martine, any ideas?) Thanks Martine! > * Web inspection (Honzo, any ideas?) Thanks Honzo!
Integrated into 'main-silver', will be available in build *201508290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b143313f87e8 User: Tomas Mysik <tmysik@netbeans.org> Log: Part of #254643 - Verify & add usage statistics in all areas Usage logger for 'npm run-script' action.
> * npm > * adding libraries using UI Done (USG_NPM_LIBRARY event): https://hg.netbeans.org/web-main/rev/b8885a1c2fa1 > * Bower > * adding libraries using UI Done (USG_BOWER_LIBRARY event): https://hg.netbeans.org/web-main/rev/3e23efe2c3cd > * CDNJS > * adding libraries using UI Done (USG_CDNJS_LIBRARY event): https://hg.netbeans.org/web-main/rev/5f2d88ddcabd I have also added the description of these events to http://wiki.netbeans.org/UsageLoggingSpecification
After discussion with PetrP closing this issue as fixed, statistics from the editor would not be helpful much. Statistics from Honza's libraries UI should be much more usable. Thanks.
Changeset: ac975a099cb2 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2015-09-02 16:20 Message:
(In reply to Theofanis Oikonomou from comment #14) > Changeset: ac975a099cb2 USG_SELENIUM2 event added also to the wiki
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ac975a099cb2 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #254643 - Verify & add usage statistics in all areas
Láďo, please do not forget to verify this important issue. Thanks.