Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update console dialog helper documentation#7572

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
xabbuh merged 2 commits intosymfony:2.7fromatailouloute:patch-console-0001
Jul 21, 2017

Conversation

@atailouloute
Copy link
Contributor

If you reach this max number it will use the default value. is not always true, on the last attempt we can supply an answer and the default one is not used

Actually the default answer is used each time the user is asked the question if the user didn't specify any answer and it's validated using thevalidator callback

be able to proceed if their input is valid.

Each time the user is asked the question, if no answer is supplied, the default one is used
and it's validated using the ``$validator`` callback.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm this change is legit, but not enough explicit, what about:

and it's validated using the ``$validator`` callback, printing the erroron remaining attempts. If the last attempt is reached an exception isthrown and displayed to the user, ending the process.

?

Copy link
Member

Choose a reason for hiding this comment

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

I've reworded as suggested. This is now ready to be merged. Thanks!

be able to proceed if their input is valid.

Each time the user is asked the question, if no answer is supplied, the default one is used
and it's validated using the ``$validator`` callback.
Copy link
Member

Choose a reason for hiding this comment

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

I've reworded as suggested. This is now ready to be merged. Thanks!


Each time the user is asked the question, if no answer is supplied, the default
one is used (and validated with the ``$validator`` callback) and the remaining
number of attempts is displayed. If the last attempt is reached, the application
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, "the remaining number of attempts is displayed" sounds wrong, only an error message is displayed.

@xabbuhxabbuh added this to the2.7 milestoneJul 9, 2017
@xabbuh
Copy link
Member

Thank you@atailouloute.

@xabbuhxabbuh merged commit400f410 intosymfony:2.7Jul 21, 2017
xabbuh added a commit that referenced this pull requestJul 21, 2017
…OUTE, javiereguiluz)This PR was merged into the 2.7 branch.Discussion----------Update console dialog helper documentation`If you reach this max number it will use the default value.` is not always true, on the last attempt we can supply an answer and the default one is not usedActually the default answer is used each time the user is asked the question if the user didn't specify any answer and it's validated using the `validator` callbackCommits-------400f410 Minor rewordfbf40a7 Update console dialog helper documentation
xabbuh added a commit that referenced this pull requestJul 21, 2017
xabbuh added a commit that referenced this pull requestJul 21, 2017
* 2.7:  Reworded the article about form login redirects  Explained the edge-case where the use_referer option doesn't work  [#7572] fix wording  [#7585] remove trailing whitespaces  [#7585] minor rewording  Fixed a typo  Fixed a typo  Update parent_services for tip consistency  [#7685] use the method role  Minor change  Updating doc to specify priority of default normalizer  [#7767] remove trailing space  Minor reword  Moved array validation to the Raw values sub-guide  Fixed some syntax issues  missing constraint example from the old readme  Update console dialog helper documentation  Improved the advantages/drawbacks of "controllers as services"
xabbuh added a commit that referenced this pull requestJul 21, 2017
* 2.8: (37 commits)  [#8192] use path() in PHP templates  Reworded the article about form login redirects  Explained the edge-case where the use_referer option doesn't work  [#7572] fix wording  [#7585] remove trailing whitespaces  [#7585] minor rewording  Fixed a typo  Fixed a typo  Update parent_services for tip consistency  [#7685] use the method role  Minor change  Updating doc to specify priority of default normalizer  [#7767] remove trailing space  [#7767] replace "options" with "entry_options"  [#7767] minor rewording  [#8047] add inline code comment  Fixed the issue in a different way  Jquery datePicker syntax update  [#8104] minor rewording  Add more precision about automatic provider assignation  ...
xabbuh added a commit that referenced this pull requestJul 21, 2017
* 3.2: (38 commits)  [#8192] use path() in PHP templates  Reworded the article about form login redirects  Explained the edge-case where the use_referer option doesn't work  [#7572] fix wording  [#7585] remove trailing whitespaces  [#7585] minor rewording  Fixed a typo  Fixed a typo  Update parent_services for tip consistency  [#7685] use the method role  Minor change  Updating doc to specify priority of default normalizer  [#7767] remove trailing space  [#7767] replace "options" with "entry_options"  [#7767] minor rewording  [#8047] add inline code comment  Fixed the issue in a different way  Jquery datePicker syntax update  Fix framework instantiation in event-dispatcher  [#8104] minor rewording  ...
xabbuh added a commit that referenced this pull requestJul 21, 2017
* 3.3: (46 commits)  [#8192] use path() in PHP templates  Reworded the article about form login redirects  Update Flex documentation with latest structure  Explained the edge-case where the use_referer option doesn't work  [#7572] fix wording  [#7585] remove trailing whitespaces  [#7585] minor rewording  Fixed a typo  Fixed a typo  Update parent_services for tip consistency  [#7685] use the method role  Minor change  Updating doc to specify priority of default normalizer  [#7767] remove trailing space  [#7767] replace "options" with "entry_options"  [#7767] minor rewording  [#8047] add inline code comment  Fixed the issue in a different way  Jquery datePicker syntax update  Fix framework instantiation in event-dispatcher  ...
xabbuh added a commit that referenced this pull requestJul 21, 2017
* 3.4: (48 commits)  [#8192] use path() in PHP templates  Reworded the article about form login redirects  Update Flex documentation with latest structure  Explained the edge-case where the use_referer option doesn't work  [#7572] fix wording  [#7585] remove trailing whitespaces  [#7585] minor rewording  Fixed a typo  Fixed a typo  Update parent_services for tip consistency  [#7685] use the method role  Minor change  Updating doc to specify priority of default normalizer  [#7767] remove trailing space  [#7767] replace "options" with "entry_options"  [#7767] minor rewording  [#8047] add inline code comment  Fixed the issue in a different way  Jquery datePicker syntax update  Fix framework instantiation in event-dispatcher  ...
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

+2 more reviewers

@HeahDudeHeahDudeHeahDude left review comments

@roman-1983roman-1983roman-1983 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

6 participants

@atailouloute@xabbuh@javiereguiluz@roman-1983@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp