Skip to content

feat(schematics): add x-prompt messages#2143

Merged
brandonroberts merged 1 commit into
masterfrom
pr/schematic-prompts
Nov 5, 2019
Merged

feat(schematics): add x-prompt messages#2143
brandonroberts merged 1 commit into
masterfrom
pr/schematic-prompts

Conversation

@timdeschryver

Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

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

What is the current behavior?

Devs need to remember the command or look in the docs to know how to use the schematics.

What is the new behavior?

This PR adds an x-prompt for the required fields, or for the fields that I think can benefit from having an x-prompt

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

To be honest, I always forget the flags I have to pass to use the schematics.
I'm open for suggestions, if the message should be modified, or if a message needs to be added or removed.

We could also do the same for the ng-add schematics if we agree this PR adds value.
I have only tested the store schematics locally and I'm assuming since it worked, the rest should also work.

@brandonroberts

Copy link
Copy Markdown
Member

How will you get prompted for the ones with defaults?

@timdeschryver

Copy link
Copy Markdown
Member Author

If it isn't provided, the schematic will ask for it.

schematic

If it's provided, it doesn't ask for it

image

@brandonroberts brandonroberts merged commit fcb01e2 into master Nov 5, 2019
@brandonroberts brandonroberts deleted the pr/schematic-prompts branch November 5, 2019 22:18
jordanpowell88 pushed a commit to jordanpowell88/platform that referenced this pull request Nov 8, 2019
refactor(effects): refactor types in effects, expose metadata key for createEffect

refactor(example): close sidenav when logoutConfirmation is dispatched (ngrx#2189)

Closes ngrx#2186

docs: remove github link from navigation (ngrx#2188)

Closes ngrx#2185

feat(schematics): add message prompts for individual schematics (ngrx#2143)

test(store): fix flaky integration test (ngrx#2209)
jordanpowell88 pushed a commit to jordanpowell88/platform that referenced this pull request Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants