-
Notifications
You must be signed in to change notification settings - Fork 4
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
1st Round Feedback Updates #6
Conversation
Thanks a lot @realModusOperandi for the quick respond. I'll go through all the changes and your comments above. Thanks. |
Yeah, we agreed the AngularJS guide did not have some of essential statements in the intro section. That was one of our first few guides; since then the guide’s content and requirements have gradually changed and improved. Take a look at few on our more recent guides below with references:
For the Angular guide, an additional explanation of why user want to use Angular to consume a RESTful web service, ie, what’s the advantage of using Angular, within the following paragraph or on a separate paragraph, would be great:
I think replacing a tag that doesn’t exist should resolve this problem. I’ll test it on the staging site.
I found that there was a port conflict issue on my system that’s why I got the “Context root not found” error. Since I cleaned my system, the application was able to start properly, and I can access the
Environment:
Yes, it’d be helpful to add some explanation of why there are so many files, even if user don’t need to concern about these files, an overall explanation would be very helpful. You could state the advantage as you described here, ie, “ provide a sort of starting point for anyone interested in using Angular with OpenLiberty, so they wouldn't have to stumble through figuring out where to put all the files and how to configure the build--it would just work.”
I'll look further about this as well, and get back to you then. Thank you.
Thank you! |
Thanks for looking this over again. I'll make the changes as you've described. In your steps going through the guide, you mention making changes to the .ts and .html files like the guide instructs and then refreshing the frontend and seeing no changes. This is expected-- Also, the error about node-gyp is noise and, as far as I know, can be ignored. I can add a blockquote note to this effect if you'd like. |
Thank you @realModusOperandi. The changes so far looks good, and the latest commit for adding the recompilation step for the frontend. I'll verify these from end-to-end once the PR is merged. Thanks. |
Note just added couple minor points about the other changes in this PR. |
I saw the changes you added for hte recompilation, it looks good. I'll try the guide again from end-to-end once we have the PR merged. Thank you.
About this error, I'll look further into it, and get back to you if anything. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge this PR to verify the guide on the test site.
Thanks for the review. I have a few responses to some of the points:
Hopefully I captured it succinctly. The AngularJS guide didn't really have any statements to this effect--perhaps whoever wrote it can give me a nudge in the right direction?
I set it to
tags=**
like the other files. Let me know if I should do something more/different here.Unfortunately I'm not able to reproduce this. I did add a reminder/statement to build the frontend before accessing the URL if the service is already running, or to run the
install liberty:start-server
goals which should also build the frontend. If this persists, can you tell me your operating system and what sequence of maven commands you run in the course of following the guide?This is one of Angular's drawbacks, I'm afraid. As far as I know, all of the files are at least expected, and the vast majority are required of any Angular application. I can add some explanation of why there are so many files if that would help, but users following this guide don't need to concern themselves with each one individually.
Part of my motivation for proposing this guide was to provide a sort of starting point for anyone interested in using Angular with OpenLiberty, so they wouldn't have to stumble through figuring out where to put all the files and how to configure the build--it would just work.
These files are the output of the Angular compiler and must be present at the root of the
.war
file in order for them to be served properly. I think these should be placed in thetarget
directory but I am not a maven expert and was unable to find how to copy them to directly to theSNAPSHOT.war
folder withintarget
. I can investigate further if you'd like, but the folder is at least ignored in the.gitignore
file.(I corrected all the other minor changes requested. Good eye!)