Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #54364 [WebProfilerBundle] [WebProfilerPanel] Update the desi…
…gn of the workflow profiler panel (javiereguiluz) This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [WebProfilerBundle] [WebProfilerPanel] Update the design of the workflow profiler panel | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | - | License | MIT The Workflow profiler panel is very nice, but I think it has some design issues, mostly on dark mode. This PR proposes some changes: | Before | After | ------ | ----- | ![workflow-profiler-dark-before](https://github.com/symfony/symfony/assets/73419/6420854f-a120-490b-9bd6-6797fb5e4c51) | ![workflow-profiler-dark-after](https://github.com/symfony/symfony/assets/73419/3cbfafa7-9fee-433e-816f-0bba4b6500ba) | ![workflow-profiler-light-before](https://github.com/symfony/symfony/assets/73419/b374a23e-93a3-45a0-a2eb-edf98781c7de) | ![workflow-profiler-light-after](https://github.com/symfony/symfony/assets/73419/7d651f93-2d34-4676-97d1-bf3e769ef546) I don't have before/after screenshots, but this PR also fixes the design of the dialog that opens when you click on any node. ----- There's other obvious issue which is that the SVG diagram overflows the page. I looked into JS libraries such as https://github.com/anvaka/panzoom and https://github.com/bumbu/svg-pan-zoom to add a "pan + zoom" utility ... but for now I think this would be worse. A full-size overflown diagram is more productive to quickly find issues. Commits ------- 6297faa [WebProfilerBundle] [WebProfilerPanel] Update the design of the workflow profiler panel
- Loading branch information