[Phpmyadmin-devel] About image sprites

Hello, I'm reviewing Kasun's pull request for the search and replace functionality and realize I'm not sure what the procedure is for adding new images. The wiki documentation [1] is pretty thorough except for one question; when do we actually run the script? My understanding is that any time a new icon is added, the developer would run the generate-sprites script and commit the resulting sprite file. Is that correct? 1 - http://wiki.phpmyadmin.net/pma/Icons/Sprites_Usage

On 06/27/2013 05:35 AM, Isaac Bennetch wrote:
Hello,
I'm reviewing Kasun's pull request for the search and replace functionality and realize I'm not sure what the procedure is for adding new images.
The wiki documentation [1] is pretty thorough except for one question; when do we actually run the script? My understanding is that any time a new icon is added, the developer would run the generate-sprites script and commit the resulting sprite file. Is that correct?
Yes, your understanding is correct. To be comprehensive, an icon will be picked up even if you don't run the script. More important is to run the script after an icon is modified or deleted. Bye, Rouslan

On Thu, Jun 27, 2013 at 2:44 AM, Rouslan Placella <rouslan@placella.com> wrote:
On 06/27/2013 05:35 AM, Isaac Bennetch wrote:
Hello,
I'm reviewing Kasun's pull request for the search and replace functionality and realize I'm not sure what the procedure is for adding new images.
The wiki documentation [1] is pretty thorough except for one question; when do we actually run the script? My understanding is that any time a new icon is added, the developer would run the generate-sprites script and commit the resulting sprite file. Is that correct?
Yes, your understanding is correct. To be comprehensive, an icon will be picked up even if you don't run the script. More important is to run the script after an icon is modified or deleted.
Bye, Rouslan
Rouslan, thanks for the explanation! Kasun, do you have the appropriate image tools (ImageMagick and pngcrush) to run the generate-sprites script?

On Thu, Jun 27, 2013 at 8:00 PM, Isaac Bennetch <bennetch@gmail.com> wrote:
On Thu, Jun 27, 2013 at 2:44 AM, Rouslan Placella <rouslan@placella.com> wrote:
On 06/27/2013 05:35 AM, Isaac Bennetch wrote:
Hello,
I'm reviewing Kasun's pull request for the search and replace functionality and realize I'm not sure what the procedure is for adding new images.
The wiki documentation [1] is pretty thorough except for one question; when do we actually run the script? My understanding is that any time a new icon is added, the developer would run the generate-sprites script and commit the resulting sprite file. Is that correct?
Yes, your understanding is correct. To be comprehensive, an icon will be picked up even if you don't run the script. More important is to run the script after an icon is modified or deleted.
Bye, Rouslan
Rouslan, thanks for the explanation!
Kasun, do you have the appropriate image tools (ImageMagick and pngcrush) to run the generate-sprites script?
Hi,
Thanks you for pointing this out. I do not have ImageMagick or pngcrush installed right now. But I will install one of them and update sprites. -- Regards Kasun Chathuranga

On 06/28/2013 05:42 AM, Kasun Chathuranga wrote:
On Thu, Jun 27, 2013 at 8:00 PM, Isaac Bennetch <bennetch@gmail.com <mailto:bennetch@gmail.com>> wrote:
On Thu, Jun 27, 2013 at 2:44 AM, Rouslan Placella <rouslan@placella.com <mailto:rouslan@placella.com>> wrote: > On 06/27/2013 05:35 AM, Isaac Bennetch wrote: >> Hello, >> >> I'm reviewing Kasun's pull request for the search and replace >> functionality and realize I'm not sure what the procedure is for >> adding new images. >> >> The wiki documentation [1] is pretty thorough except for one question; >> when do we actually run the script? My understanding is that any time >> a new icon is added, the developer would run the generate-sprites >> script and commit the resulting sprite file. Is that correct? >> >> 1 - http://wiki.phpmyadmin.net/pma/Icons/Sprites_Usage > > Yes, your understanding is correct. To be comprehensive, an icon will be > picked up even if you don't run the script. More important is to run the > script after an icon is modified or deleted. > > Bye, > Rouslan
Rouslan, thanks for the explanation!
Kasun, do you have the appropriate image tools (ImageMagick and pngcrush) to run the generate-sprites script?
Hi,
Thanks you for pointing this out. I do not have ImageMagick or pngcrush installed right now. But I will install one of them and update sprites.
You need both. Bye, Rouslan
participants (3)
-
Isaac Bennetch
-
Kasun Chathuranga
-
Rouslan Placella