You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #59780 [FrameworkBundle] Only show relevant columns in debug:router call and adding colors (mamazu)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[FrameworkBundle] Only show relevant columns in `debug:router` call and adding colors
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | yes
| Deprecations? | yes
| Issues | Fix #59767
| License | MIT
## What I did
* Adding more tests for the descriptor (empty route collection)
* ~Always showing the controllers in the list view (we but not removing the `--show-controllers` so it's not a BC break)~
* Only show the "Host" and "Schema" columns when the values are != "ANY"
* Adding colors to the HTTP methods (it's the same colors Swagger uses)
## Why
* Color coding the HTTP methods gives you more info at a quick glance
* Hiding columns that don't provide values reduces the noise of the table (for more info there is still detail view)
## Screenshots
Before:

After:

Commits
-------
75728d233d3 [FrameworkBundle] Only show relevant columns in `debug:router` call and adding colors
0 commit comments