-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Workflow] Add colors to workflow dumps #29538
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
[Workflow] Add colors to workflow dumps #29538
Conversation
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 did not tested it, but It's a very good start
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/workflows.php
Outdated
Show resolved
Hide resolved
The last two examples on this page shows the dot format, with So the option |
03eb8fe
to
31e9564
Compare
Can someone please remove the |
31e9564
to
0b54bcb
Compare
rebase needed due to short arrays. |
4698c38
to
ebe5385
Compare
Thanks for hint, the PR has been rebased. |
@lyrixx I think we need your help to move forward here. |
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.
👍
Thanks @alexislefebvre . This is very Good. Could you rebase before the merge ? (I think this will conflict with #30468 but I will take care of it). Could someone review English textes (PHP Doc, Changelog)? 🙏 Thanks |
ebe5385
to
e12babf
Compare
Rebase done. ✔️ Thanks for the follow-up. |
84a0553
to
4d313e5
Compare
4d313e5
to
0a59b50
Compare
0a59b50
to
60ad109
Compare
Thank you @alexislefebvre. |
This PR was squashed before being merged into the 4.3-dev branch (closes #29538). Discussion ---------- [Workflow] Add colors to workflow dumps Fixes #28874 | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #28874, replaces #28933 | License | MIT | Doc PR | TODO, requires symfony/symfony-docs#9476 Fetch data with the `MetadataStore` from #26092 in order to add colors to the dumps. Example of configuration: ```yaml transitions: submit: from: start to: travis metadata: title: transition submit title dump_style: label: 'My custom label' arrow_color: '#0088FF' label_color: 'Red' ``` This code was developed as a bundle, examples can be found on its repository: https://github.com/alexislefebvre/SymfonyWorkflowStyleBundle Commits ------- 60ad109 [Workflow] Add colors to workflow dumps
…n (alexislefebvre) This PR was submitted for the 4.4 branch but it was merged into the 4.3 branch instead (closes #32419). Discussion ---------- [Workflow] Add missing test for workflow dump description | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | This PR add a test for a feature added in #29538 but missed a test. Commits ------- 0c326d0 Add missing test for workflow dump description
…alexislefebvre) This PR was merged into the 4.3 branch. Discussion ---------- [Workflow] Explain how to style a workflow dump Fixes symfony#11675 Explain what was added in symfony/symfony#29538 TODO: - [x] Explain keys - [x] Add YAML format - [x] Add XML format - [x] Add PHP format Commits ------- e6c1992 Workflow: explain how to style a workflow dump
Fixes #28874
Fetch data with the
MetadataStore
from #26092 in order to add colors to the dumps.Example of configuration:
This code was developed as a bundle, examples can be found on its repository: https://github.com/alexislefebvre/SymfonyWorkflowStyleBundle