kendo-labs / kendo-bootstrapper

GNU General Public License v3.0
49 stars 20 forks source link

Make file path segments clickable in Create Project dialog #23

Closed toddanglin closed 11 years ago

toddanglin commented 11 years ago

In most places in the Bootstrapper, the file path segments are clickable, making it easier to navigate to different relative directories. In the "Create New Project" dialog, though, the file path is not clickable, forcing you to start browsing from ROOT.

Repo steps: 1) Open Bootstrapper 2) Click on Create New Project button 3) Click the "Browse..." button next to the Project Directory textbox 4) Try to click on the file path segments in the Browse dialog that opens

Result: The file path segments are not clickable

Expected Result: The file path segments should be clickable to quickly navigate to relative directories.

bsatrom commented 11 years ago

can't repro. File path segments are clickable for me, and always have been. Is there a console error on your end?

toddanglin commented 11 years ago

No console errors. And in most places the file path segments are clickable. I've only experienced the static, non-clickable segments in this dialog.

Here is a screenshot showing you what I'm seeing (note the path is static and not hyperlinked): Static file segments

bsatrom commented 11 years ago

can you paste the screenshot directly into GitHub? email screenshots don't usually come through. :/

mishoo commented 11 years ago

By how it looks there was an error reading the directory. I can't repro it here. I made it display a message if that's the case and it should log the error via console.log, please retry and let me know if anything shows up.

Also, can you check if that directory exists and is readable? — /Users/kendoui/Documents/git/kendo-bootstrapper/PROJECTS/.

toddanglin commented 11 years ago

That's the problem!

When I open the "Create Project" dialog, it pre fills the project directory text box with:

/Users/kendoui/Documents/git/kendo-bootstrapper/PROJECTS/

The problem is that the "PROJECTS" folder does not exist. When I remove this segment from the path, then the file segments become hyperlinked in the "Browse" dialog.

Does the Bootstrapper add this "PROJECTS" folder to the path automatically? Whatever the case, it appears that this is the source of the problem. Not sure how best to solve.