Skip to content

Removed the "Delete profiles" action from the web profiler sidebar #15939

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
Sep 28, 2015

Conversation

javiereguiluz
Copy link
Member

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

@fabpot
Copy link
Member

fabpot commented Sep 27, 2015

LGTM. Do we add a command for the CLI to purge the profiles? Or is cache:clear enough (which does not purge profiles if one use a non-based filesystem profile storage)? ... which leads to my next question: do we really need several storages for profiles? Looks like keeping only the filesystem one is more than enough. Thoughts?

@javiereguiluz
Copy link
Member Author

My opinion:

  • Don't provide any command (cache:clear is enough)
  • Remove all storages except the filesystem one

@fabpot
Copy link
Member

fabpot commented Sep 27, 2015

@javiereguiluz Let's do it. Can you create a PR that deprecates all storages but the filesystem one? I think we can still keep the interface just in case.

@javiereguiluz
Copy link
Member Author

Done in #15944.

@stof
Copy link
Member

stof commented Sep 28, 2015

👍

@@ -486,32 +486,15 @@ tr.status-warning td {
padding-bottom: 99999px; {# needed for 'same-height columns' trick #}
width: 220px;
}
#sidebar a {
color: #ADD8E6;
}
Copy link
Member

Choose a reason for hiding this comment

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

Don't we still need this for the logout link?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope. In the toolbar we use .sf-toolbar-block .sf-toolbar-info-piece a. I've tried to make the toolbar and the profiler as independent as possible.

@fabpot
Copy link
Member

fabpot commented Sep 28, 2015

Thank you @javiereguiluz.

@fabpot fabpot merged commit 8c47eb9 into symfony:2.8 Sep 28, 2015
fabpot added a commit that referenced this pull request Sep 28, 2015
…iler sidebar (javiereguiluz)

This PR was merged into the 2.8 branch.

Discussion
----------

Removed the "Delete profiles" action from the web profiler sidebar

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

Commits
-------

8c47eb9 Removed the "Delete profiles" action from the web profiler sidebar
@fabpot fabpot mentioned this pull request Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants