-
Notifications
You must be signed in to change notification settings - Fork 50
Update design on WebProfiler #93
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
Comments
Doesn't it use the builtin VarDumper? To be honest I am not sure if representing eg. headers as a php data structure is the best we can do. |
@csarrazi's Guzzle Bundle show us nice screenshots too. I will start updating the design by introducing Symfony 2.8+ badges count in the toolbar and the menu. As the 2.7 and 2.8 are really different, what do you think about doing first a small refactoring to avoid writing everywhere
The right design would be picked by the DI Extension which would set the WDYT? |
another option would be to bump the minimal symfony version to 2.8. that is no big jump from 2.7 and will simplify the work here... any objections to that? |
Would be even better! But does this require a new major release? |
imho no. composer.json will make sure it does not get accidentally installed. it should be a new minor version though, so that we can still release bugfixes for 2.7 if somebody really needs one. 1.4 is not yet released, so that would be fine. |
If everybody agrees, I can do the cleanup and bump the requirement to 2.8+. |
I agree. Bump it to 2.8 =) |
For the next improvement, what do you think to have one small line per request and having to click to expand this request? It would be something like https://github.com/8p/GuzzleBundle and in later improvements, we will be able to push badges on the right like a curl formater button, stopwatch informations, etc.. Once this done, we could improve the per-request inner display. WDYT? |
Sound good |
this is extremely cool, thanks for your efforts! lets make this happen. |
@Nyholm if you agree with the layout, I will start working on it to build a functional prototype and then apply styles. |
I do really like it. Please, go ahead. Im happy to review you PR |
you should not use the constant to detect the version of the profiler design (btw, the HttpKernel 2.8 is compatible with WebProfilerBundle 2.7 and so with the old design. Too bad when using a separate package for version detection...). You should use the builtin WebProfilerBundle feature to choose the design version (see in doctrineBundle for instance) |
this would mean having a single template though |
We already merged the 2.7 drop. It's easier to style with only one profiler as we can rely on 2.8+ CSS styles. It's also easier to develop as you don't have to switch between 2.7 and 2.8. If someone really need to upgrade the bundle, he could also upgrade Symfony to 2.8! |
Could we close this issue since #146 is merged? |
Yes! Thank you |
Our WebProfiler has just been updated with much more information and new design. But there is room for improvements. If we look at @florianpreusner's Guzzle Bundle we see some nice screenshots of how it could look like.
The text was updated successfully, but these errors were encountered: