Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Documented the workflow metadata [redux]#11209
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
HeahDude left a comment
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.
This a great contribution, thanks a lot!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Whensymfony#9465 is finished, link to details on Transition Blockers.
HeahDude left a comment
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.
I've left some minor comments, but that looks great. Thank you again for your work on this.
Note that we can do some minor changes when merging if you don't want to bother with specific formatting.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
pbowyer commentedMar 23, 2019
@HeahDude re "specific formatting" I've noticed the file uses a mix of When I took Javier's commits the branch ended up being created against |
HeahDude commentedMar 23, 2019
Now we use the new short syntax, since the lowest supported version is 3.4 having PHP 5.5 as minimum.
4.1 was master back then, now we need to merge into 4.2 but we can do it on merge thanks to the CLI tool we use to maintain the docs. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
pbowyer commentedMar 27, 2019
Re the code style comment above which is outstanding: Is there a linter for code examples? An automated formatter? I imagine we stick to Symfony's code style, but as Phpstorm's Symfony2 preset seems to differ in small ways from the current Symfony format, it would be good to have a definitive formatter to use. |
OskarStark left a comment
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.
I left a few comments
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
lyrixx left a comment
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.
Except one little comment big 👍
Thanks you a lot for your work on this PR
Uh oh!
There was an error while loading.Please reload this page.
pbowyer commentedApr 7, 2019
@OskarStark Your code review is showing as "Changes requested" - are you satisfied with the changes that were applied? |
lyrixx commentedApr 7, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@pbowyer This PR conflicts. Could you try to rebase it and fix the conflict? Thanks |
pbowyer commentedApr 7, 2019
@lyrixx Of course. 4.2 is the correct one to rebase onto, I believe? |
lyrixx commentedApr 7, 2019
Exactly 👍 You need to rebase on top of 4.2 and update the target branch on github |
Co-Authored-By: pbowyer <peter@mapledesign.co.uk>
e580f3c to6080aa8Comparepbowyer commentedApr 7, 2019
@lyrixx There we go 😁 |
pbowyer commentedApr 7, 2019
There may be one newline missing: I think there should be a blank line between the two? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
OskarStark left a comment
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.
Thank you for your patience ✌🏻
| return; | ||
| } | ||
| $explanation = $event->getMetadata('explanation', $event->getTransition()); |
noniagriconomieApr 9, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
@pbowyer I think you should add anexplanation entry in the metadata of onepublish transition so that a newcomer can directly spot the usage and the link between transition, place, etc
Uh oh!
There was an error while loading.Please reload this page.
noniagriconomie commentedApr 10, 2019
Ref to#9475 |
pbowyer commentedApr 16, 2019
Can we merge this please? There are more PRs for Workflow coming to fruition, and if they all get approved/merged at the same time, there will be a number of conflicts... |
… pbowyer, OskarStark)This PR was merged into the 4.2 branch.Discussion----------Documented the workflow metadata [redux]With@javiereguiluz's permission I have taken#9476 and incorporated the comments and code examples into it.This is the start of a push to improve the Workflow documentation. The focus now is on expanding the documentation by merging pull requests; organizing it will come later.Commits-------7f3a0fd Oskar's feedbacka4c23c1 Add blank line between code block and sentence above. Code block was not rendering.6080aa8 Remove the word 'simple'3765ddb Change code formatting of PHP snippet perhttps://github.com/symfony/symfony-docs/pull/11209/files/d57fa38d903175d58d9cfbf63f20e7ced8d2fd01#r26839165555c9199 Indent PHP block by an additional 4 spaces225c2fe Apply suggestions from code reviewf716e81 Incorporate@OskarStark's feedback94d17de Simplify the English and turn it into a tip40fbaf3 Update arrays to use short syntaxea64992 Incorporate further excellent feedback from@HeahDudeaf71c14 Add an introduction as suggested in#11209 (comment)ca66356 Document how to see all configuration options (see#11209 (comment))c9ef262 Incorporate@OskarStark's feedbackc595c47 First set of tidy-ups for@HeahDude's feedback.663639b Incorporate the code examples in#9476 (comment) into the documentation17eae8c Add missing metadata key, fixing comment by@noniagriconomie on#9476d68cc99 Documented the workflow metadata
javiereguiluz commentedApr 17, 2019
Thanks Peter! This has been merged ... and I'll rebase the Workflow doc reorganization (#11437) with your changes. |
OskarStark commentedApr 17, 2019
Great work Peter, thank you 🙏 |
With@javiereguiluz's permission I have taken#9476 and incorporated the comments and code examples into it.
This is the start of a push to improve the Workflow documentation. The focus now is on expanding the documentation by merging pull requests; organizing it will come later.