Skip to content
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

docs: warn that directives don't support namespaces #25855

Closed
wants to merge 1 commit into from

Conversation

s-gbz
Copy link
Contributor

@s-gbz s-gbz commented Sep 7, 2018

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?
Augments current documentation.

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

The issue has not been documented.

Issue Number: #24971

What is the new behavior?

Explicitly states that namespace are not supported in directives
and gives an example of how it's not done.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

Is this there anything to add @jenniferfell?

@s-gbz s-gbz changed the title docs: Warn that directives don't support namespaces [WIP] docs: Warn that directives don't support namespaces Sep 7, 2018
@s-gbz s-gbz changed the title [WIP] docs: Warn that directives don't support namespaces docs: Warn that directives don't support namespaces Sep 7, 2018
@brandonroberts brandonroberts self-assigned this Sep 12, 2018
@brandonroberts brandonroberts added comp: docs action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime aio: preview target: patch This PR is targeted for the next patch release state: community Someone from the Angular community is working on this issue or submitted this PR labels Sep 12, 2018
@mary-poppins
Copy link

You can preview c6c546b at https://pr25855-c6c546b.ngbuilds.io/.
You can preview df829da at https://pr25855-df829da.ngbuilds.io/.

Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update git commit message to docs: warn that directives don't support namespaces

<!-- #enddocregion applied, -->
<!-- #enddocregion applied -->

<!-- #docregion unsupported -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed even though you have this in a separate file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, what do you mean? I just followed the given examples 😄

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s-gbz He means that you can remove lines 7-9 since you have this already in app.component.avoid.html. Does that help?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if im supposed to just delete lines 7-9 and push again 😀

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think that's it. 🙂

Copy link
Contributor

@kapunahelewong kapunahelewong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, @s-gbz! :) I have only one small comment.

aio/content/guide/attribute-directives.md Outdated Show resolved Hide resolved
@mary-poppins
Copy link

You can preview f7eedb9 at https://pr25855-f7eedb9.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 22182a0 at https://pr25855-22182a0.ngbuilds.io/.

Copy link
Contributor

@kapunahelewong kapunahelewong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though we generally try to avoid don't-do-this examples, this one seems reasonable.

@brandonroberts brandonroberts added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Jan 14, 2019
@ngbot ngbot bot added this to the needsTriage milestone Jan 14, 2019
@brandonroberts brandonroberts removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 14, 2019
@brandonroberts brandonroberts added target: major This PR is targeted for the next major release target: patch This PR is targeted for the next patch release and removed target: patch This PR is targeted for the next patch release target: major This PR is targeted for the next major release labels Jan 22, 2019
@brandonroberts
Copy link
Contributor

@s-gbz will you remove the extra lines? Everything else LGTM.

@brandonroberts brandonroberts added the feature Issue that requests a new feature label Jan 29, 2019
Copy link
Contributor

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

title must be changed to header

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@mary-poppins
Copy link

You can preview 1d053e0 at https://pr25855-1d053e0.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 9dbce69 at https://pr25855-9dbce69.ngbuilds.io/.

@s-gbz
Copy link
Contributor Author

s-gbz commented Feb 5, 2019

Hello @brandonroberts, could we wrap this up real'quick? 😄

@brandonroberts
Copy link
Contributor

@s-gbz sure. Something has changed with your CLA status. Will you rebase on master and squash down to a single commit?

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Feb 6, 2019
@mary-poppins
Copy link

You can preview 426f147 at https://pr25855-426f147.ngbuilds.io/.

@s-gbz
Copy link
Contributor Author

s-gbz commented Feb 6, 2019

@brandonroberts guess we did it then 🎉

@s-gbz
Copy link
Contributor Author

s-gbz commented Feb 19, 2019

@brandonroberts I just rebased the PR on current master *again. LGTM?

@mary-poppins
Copy link

You can preview 2c0e5cc at https://pr25855-2c0e5cc.ngbuilds.io/.

@brandonroberts brandonroberts added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Feb 19, 2019
@brandonroberts
Copy link
Contributor

Thanks for your work on this @s-gbz! Hopefully next time it won't take as long.

@IgorMinar IgorMinar closed this in 980bb52 Feb 19, 2019
@s-gbz s-gbz deleted the doc-selector-no-namespace branch February 27, 2019 12:52
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker aio: preview area: core Issues related to the framework runtime cla: yes effort1: hours feature Issue that requests a new feature risk: low state: community Someone from the Angular community is working on this issue or submitted this PR target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants