Skip to content
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

Use PHPCR logo as collector icon #254

Merged
merged 3 commits into from
Mar 25, 2016
Merged

Use PHPCR logo as collector icon #254

merged 3 commits into from
Mar 25, 2016

Conversation

wouterj
Copy link
Contributor

@wouterj wouterj commented Feb 25, 2016

Currently, the same icon is used for the DoctrineBundle and the DoctrinePhpcrBundle. This causes some confusion (especially in the toolbar). A lot of times, after the first request, all items are cached and no DBAL queries are executed anymore, however as both use the same icon, it always seems as if there still is database activity.

Screenshots

screenshots

@dbu
Copy link
Member

dbu commented Feb 25, 2016

i like it! 👍

@dantleech
Copy link
Contributor

+1 looks cool :)

@stof
Copy link
Member

stof commented Feb 25, 2016

Please also update the png-based icon for older versions of Symfony:

<img width="20" height="28" alt="Database" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAYAAABh2p9gAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQRJREFUeNpi/P//PwM1ARMDlcGogZQDlpMnT7pxc3NbA9nhQKxOpL5rQLwJiPeBsI6Ozl+YBOOOHTv+AOllQNwtLS39F2owKYZ/gRq8G4i3ggxEToggWzvc3d2Pk+1lNL4fFAs6ODi8JzdS7mMRVyDVoAMHDsANdAPiOCC+jCQvQKqBQB/BDbwBxK5AHA3E/kB8nKJkA8TMQBwLxaBIKQbi70AvTADSBiSadwFXpCikpKQU8PDwkGTaly9fHFigkaKIJid4584dkiMFFI6jkTJII0WVmpHCAixZQEXWYhDeuXMnyLsVlEQKI45qFBQZ8eRECi4DBaAlDqle/8A48ip6gAADANdQY88Uc0oGAAAAAElFTkSuQmCC" />

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" height="24" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
<path fill="#AAAAAA" d="M5,8h14c1.7,0,3-1.3,3-3s-1.3-3-3-3H5C3.3,2,2,3.3,2,5S3.3,8,5,8z M18,3.6c0.8,0,1.5,0.7,1.5,1.5S18.8,6.6,18,6.6s-1.5-0.7-1.5-1.5S17.2,3.6,18,3.6z M19,9H5c-1.7,0-3,1.3-3,3s1.3,3,3,3h14c1.7,0,3-1.3,3-3S20.7,9,19,9z M18,13.6
c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5s1.5,0.7,1.5,1.5S18.8,13.6,18,13.6z M19,16H5c-1.7,0-3,1.3-3,3s1.3,3,3,3h14c1.7,0,3-1.3,3-3S20.7,16,19,16z M18,20.6c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5s1.5,0.7,1.5,1.5S18.8,20.6,18,20.6z"/>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
Copy link
Member

Choose a reason for hiding this comment

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

xmlns:xlink is even useless, so it could be removed from the SVG.

and the id="Layer_1" must be removed (as the icon might be included several times in the page, giving it an id would make the HTML invalid)

@lsmith77 lsmith77 added review and removed wip/poc labels Mar 1, 2016
@wouterj
Copy link
Contributor Author

wouterj commented Mar 22, 2016

I've fixed the SVG file and updated the PNG icon. Also, I've added a fix to remove the ghost item in the toolbar (similar to doctrine/DoctrineBundle#503)

@dbu dbu merged commit 4db94fa into doctrine:master Mar 25, 2016
@lsmith77 lsmith77 removed the review label Mar 25, 2016
@dbu
Copy link
Member

dbu commented Mar 25, 2016

thanks wouter!

@wouterj wouterj deleted the patch-2 branch March 25, 2016 10:59
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.

5 participants