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.

Bug 248303 - Add NodeJS Web Application category to New Project wizard
Summary: Add NodeJS Web Application category to New Project wizard
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-31 10:32 UTC by Vladimir Riha
Modified: 2014-11-06 17:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-10-31 10:32:54 UTC
For someone not familiar with HTML5/JS project structure, it could be difficult to find out how to run NodeJS project and open browser at the same time - it requires to have Site Root but NodeJS project by default has only Sources.

It could be useful to have a new "project type" in HTML5/JavaScript category in New Project wizard named (for instance) "Node.js Web Application" . It would be almost the same as "Node.js Application" except of there would be Site Root with index.html. Therefor if user checks Run configuration, he would see option to run browser on project run
Comment 1 Tomas Mysik 2014-10-31 13:43:01 UTC
Makes sense, OTOH it "complicates" new project wizards a bit so no strong opinion.

Tondo, please decide :) Thanks.
Comment 2 Antonin Nebuzelsky 2014-10-31 15:11:02 UTC
Agreed it makes sense for discoverability for some users.

We have "Node.js Application", so for the new project template, including the already suggested name above, we could pick some name from:

(1) "Node.js Web Application" - nice and short, but "Web" is not used in any of the other project template names in this category and so we might also want to have "HTML5/JS Web Application" instead of "HTML5/JS Application"

(2) "Node.js Application with HTML5" - descriptive but confusing?

(3) "Node.js Application with Site Root" - too long and looks weird?

(4) "HTML5/JS Application with Node.js code"

Opinions?

I personally like (4), or (1) with adding "Web" also to the "HTML5/JS Application" template name.
Comment 3 Vladimir Riha 2014-10-31 15:32:20 UTC
Maybe shorter "HTML5/JS Application with Node.js" would be good.
Comment 4 Tomas Mysik 2014-11-03 06:49:26 UTC
(In reply to Vladimir Riha from comment #3)
> Maybe shorter "HTML5/JS Application with Node.js" would be good.

Sounds good to me as well, will do it.

Thanks,
Comment 5 Tomas Mysik 2014-11-03 08:06:32 UTC
Done. Two comments:

1. please, check the desciption and let me know if you have a better idea;
2. Run configuration is currently set to Web Application (if we use Node.js Application, then we will have an error since we need an external URL for the browser).

Thanks.

http://hg.netbeans.org/web-main/rev/7dd96c35247a
Comment 6 Quality Engineering 2014-11-03 16:45:07 UTC
Integrated into 'main-silver', will be available in build *201411031403* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7dd96c35247a
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248303 - Add NodeJS Web Application category to New Project wizard
Comment 7 Vladimir Riha 2014-11-06 17:12:49 UTC
Verified, thank you.

Product Version: NetBeans IDE Dev (Build 201411060002)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)