Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added some HTML5 features to the Symfony Profiler #26520

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

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

javiereguiluz
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Some of these changes are invisible to end-users, but others may be nice tweaks:

  1. Times now display full details when you hover them:

log-time

  1. The "profile search" results are now better aligned:

Before

before

After

after

  1. The "profile search" form now validates URLs and HTTP Status numbers:

search-filter

I've decided to not use the new and recommended HTML5 datetime-local input type for "From" and "Until" fields because support is still poor in desktop browsers.

@javiereguiluz javiereguiluz added Feature WebProfilerBundle ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" labels Mar 14, 2018
@nicolas-grekas nicolas-grekas added this to the 4.1 milestone Mar 14, 2018
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(failure unrelated)

@linaori
Copy link
Contributor

linaori commented Mar 14, 2018

I always love these changes to the profiler, because in fact, I am the end-user of this "product" 👍

@fabpot
Copy link
Member

fabpot commented Mar 15, 2018

Thank you @javiereguiluz.

@fabpot fabpot merged commit 547076e into symfony:master Mar 15, 2018
fabpot added a commit that referenced this pull request Mar 15, 2018
…iereguiluz)

This PR was merged into the 4.1-dev branch.

Discussion
----------

Added some HTML5 features to the Symfony Profiler

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Some of these changes are invisible to end-users, but others may be nice tweaks:

1) Times now display full details when you hover them:

![log-time](https://user-images.githubusercontent.com/73419/37395211-ff9acfe6-2775-11e8-9ba5-37470dc0dc38.png)

2) The "profile search" results are now better aligned:

### Before

![before](https://user-images.githubusercontent.com/73419/37395252-177e3ef4-2776-11e8-97d2-d013eb3f22fa.gif)

### After

![after](https://user-images.githubusercontent.com/73419/37395255-1ad02b62-2776-11e8-99af-93e777d0a0d1.gif)

3) The "profile search" form now validates URLs and HTTP Status numbers:

![search-filter](https://user-images.githubusercontent.com/73419/37395295-35799bb0-2776-11e8-96dc-bd979298a7b3.png)

I've decided to not use the new and recommended HTML5 `datetime-local` input type for "From" and "Until" fields because support is still poor in desktop browsers.

Commits
-------

547076e Added some HTML5 features to the Symfony Profiler
javiereguiluz added a commit to EasyCorp/EasyAdminBundle that referenced this pull request Mar 16, 2018
…lated properties (javiereguiluz)

This PR was merged into the 1.x branch.

Discussion
----------

Use the HTML <time> element to display date and time related properties

Similar to what we recently did to Symfony: symfony/symfony#26520

Commits
-------

8677b5b Use the HTML <time> element to display date and time related properties
@fabpot fabpot mentioned this pull request May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" Status: Reviewed WebProfilerBundle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants