Skip to content

[DX][WebProfilerBundle] Provide quick links to redirect responses in the toolbar #17501

Closed
@dkisselev

Description

@dkisselev

On pages where an application silently redirects a user away, it may be confusing or difficult to debug because the toolbar may no errors, the result is not what the developer expected, and may not think to check redirects.

As an example, a developer tries to login from /login, it fails, but they don't know why because the current page load (for /login) shows all green and has no log messages. They would have to know to go through the profiler to find the login_check request and look at the log there.

Further, even if they know that the got looped around, it would be much more convenient if the toolbar provided a link to those profiler pages instead of needing to go look it up.

My proposal is a toolbar tab similar to (or perhaps an expansion of) the AJAX tab which lists the result, execution time, and profiler link to pages that were loaded between the last page I was on, and the one I'm currently on.

I'm not familiar with the internals of the toolbar so am unsure about how this might be implemented, but perhaps by looking at the Referrer and matching that to recent profiler logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)WebProfilerBundle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions