Skip to content

Documentation workflow context apply #10751

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

Closed

Conversation

noniagriconomie
Copy link
Contributor

@noniagriconomie noniagriconomie commented Dec 8, 2018

Hi,

While attending to the #SymfonyConHackday2018

I wanted to test @lyrixx implementation (symfony/symfony#29146) of a request of mine (symfony/symfony#27925) on one of my projects.

I also wanted to add/improve the documentation in the same time.

This PR is WIP as the feature is not merged yet (on its way)

thank you

Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

Thanks a lot for working on this feature 👍

@noniagriconomie
Copy link
Contributor Author

@lyrixx review addressed

Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

👍

@noniagriconomie noniagriconomie changed the title [WIP] Documentation workflow context Documentation workflow context Jan 14, 2019
@noniagriconomie noniagriconomie changed the title Documentation workflow context Documentation workflow context apply Jan 14, 2019
@noniagriconomie
Copy link
Contributor Author

hi @lyrixx

I do not know if the comment like that is ok (it is a bit weird), wdyt?

Also, do you have a date for the merge of the related feature ? :)

Thank you!

@javiereguiluz
Copy link
Member

@noniagriconomie I'd like to merge your pull request, but I'm seeing lots of conflicts when doing that. Could you please rebase this to the latest changes of the master branch? Thanks!

@noniagriconomie
Copy link
Contributor Author

@javiereguiluz of course i will do this asap

@noniagriconomie noniagriconomie force-pushed the workflow-documentation branch from 2a92988 to 55fc4b8 Compare March 28, 2019 09:27
@noniagriconomie
Copy link
Contributor Author

@javiereguiluz Done

Just i am not sure about the "versionadded:: 4.1" part when i rebased

thank you

Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@OskarStark OskarStark left a comment

Choose a reason for hiding this comment

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

I left some minor comments!

Great contribution so far 💪 thank you!

@noniagriconomie noniagriconomie force-pushed the workflow-documentation branch from f169ba8 to 8a7f7c5 Compare April 1, 2019 06:59
@noniagriconomie
Copy link
Contributor Author

@OskarStark (@HeahDude) reviews addressed, thank you!

Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

👍 Very cool. Thanks for your work.

@Simperfit
Copy link
Contributor

@xabbuh can we merge this one ?

@xabbuh xabbuh added the ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming label Apr 7, 2019
@xabbuh xabbuh force-pushed the workflow-documentation branch from 8a7f7c5 to af0da29 Compare April 7, 2019 11:26
xabbuh added a commit that referenced this pull request Apr 7, 2019
@xabbuh
Copy link
Member

xabbuh commented Apr 7, 2019

Thank you @noniagriconomie and congratulations on your first contribution to the Symfony documentation. I have merged your PR (I have squased the commits while merging that's why the PR is shown as closed instead of merged) and made some small tweaks in e1e4efc.

@xabbuh xabbuh closed this Apr 7, 2019
// ...
}

Symfony also creates automatically for you a service for each workflow (:class:`Symfony\\Component\\Workflow\\Workflow`) or state machine (:class:`Symfony\\Component\\Workflow\\StateMachine`) you have defined in your configuration.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would reword it:

Symfony creates a service for you automatically....

Copy link
Member

Choose a reason for hiding this comment

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

see e1e4efc :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks

// See all the available transitions for the post in the current state
$transitions = $workflow->getEnabledTransitions($post);
}
}

.. versionadded:: 4.1

The :class:`Symfony\\Component\\Workflow\\Exception\\TransitionException`
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we Need this versionadded ?

@symfony/team-symfony-docs


.. versionadded:: 4.1

The :method:`Symfony\\Component\\Workflow\\Registry::all` method was
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we Need this versionadded ?

@symfony/team-symfony-docs

@noniagriconomie noniagriconomie deleted the workflow-documentation branch May 18, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Status: Reviewed Workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants