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

Skip to content

[VarDumper] Dynamic HTML dumper#12125

Merged
fabpot merged 1 commit into
symfony:masterfrom
nicolas-grekas:dhtml-dumper
Oct 5, 2014
Merged

[VarDumper] Dynamic HTML dumper#12125
fabpot merged 1 commit into
symfony:masterfrom
nicolas-grekas:dhtml-dumper

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Member

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

This PR partially reverts #12109 because it didn't take into account that many dumps can share a single style tag.
More importantly, this PR enhance dump rendering with some cute JS navigation effects:

  • references highlighting on hovering
  • moving references toggling

Here is a screenshot (note the yellow background and the fact that #2 appears after the first @2):
capture du 2014-10-04 09 45 44

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this does not work well if you have multiple classes on the element

@fabpot
Copy link
Copy Markdown
Member

fabpot commented Oct 5, 2014

Thank you @nicolas-grekas.

@fabpot fabpot merged commit b799844 into symfony:master Oct 5, 2014
fabpot added a commit that referenced this pull request Oct 5, 2014
This PR was merged into the 2.6-dev branch.

Discussion
----------

[VarDumper] Dynamic HTML dumper

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

This PR partially reverts #12109 because it didn't take into account that many dumps can share a single style tag.
More importantly, this PR enhance dump rendering with some cute JS navigation effects:
- references highlighting on hovering
- moving references toggling

Here is a screenshot (note the yellow background and the fact that `#2` appears after the first `@2`):
![capture du 2014-10-04 09 45 44](https://cloud.githubusercontent.com/assets/243674/4514936/4431c67e-4b9b-11e4-9809-8d06836be824.png)

Commits
-------

b799844 [VarDumper] Dynamic HTML dumper
xabbuh added a commit to xabbuh/symfony that referenced this pull request Oct 5, 2014
Make test compatible with the changes from symfony#12125.
nicolas-grekas pushed a commit to nicolas-grekas/symfony that referenced this pull request Oct 6, 2014
Make test compatible with the changes from symfony#12125.
nicolas-grekas pushed a commit to nicolas-grekas/symfony that referenced this pull request Oct 6, 2014
Make test compatible with the changes from symfony#12125.
nicolas-grekas pushed a commit to nicolas-grekas/symfony that referenced this pull request Oct 6, 2014
Make test compatible with the changes from symfony#12125.
fabpot added a commit that referenced this pull request Oct 6, 2014
This PR was squashed before being merged into the 2.6-dev branch (closes #12142).

Discussion
----------

[TwigBridge] fix `DumpExtension` tests

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

Make test compatible with the changes from #12125.

Commits
-------

e3332ad [TwigBridge] fix  tests
@nicolas-grekas nicolas-grekas deleted the dhtml-dumper branch October 22, 2014 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants