Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #54423 [WebProfilerBundle] Update the search links in the pro…
…filer layout (javiereguiluz) This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [WebProfilerBundle] Update the search links in the profiler layout | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | - | License | MIT While working on #54421, I noticed that the page jump is mostly caused by the "profile search form" that we embed in the page via Ajax. This is how it looks expanded: ![image](https://github.com/symfony/symfony/assets/73419/090febc8-65e6-4ede-8c21-8b3fb0d738d2) However, thew workflow is as follows: 1. Click on `Search` link 2. The embedded search form expands 3. Input the search criteria 4. Click on `Search` button 5. You are redirected to the Search page to see the results ----- In this PR, I propose to NOT embed the search form in any pages and change the workflow as follows: 1. Click on `Search` link 2. You are redirected to the Search page to see the results 3. Input the search criteria (in the already expanded search form) 4. Click on `Search` button to see the results This fixes some of the perceived performance slowdown and looks like a better workflow to me. ----- Also, the current sidebar shows these shortcut links: ![image](https://github.com/symfony/symfony/assets/73419/1ef165fe-1ac1-42ff-8d01-1514c2b2320f) * "Last 10" shows the 10 most recent profiles * "Latest" shows the most recent profile available * "Search" expands the search form This PR changes it to only show 2 shortcuts: * "Search profiles" shows the last 10 profiles and also the search form expanded * "Latest" shows the most recent profile aaailable It looks like this: ![search-links](https://github.com/symfony/symfony/assets/73419/8f2ba944-c9a3-4f56-9a12-4818c79bfdcb) Commits ------- 7baa29e [WebProfilerBundle] Update the search links in the profiler layout
- Loading branch information