Edit report at https://bugs.php.net/bug.php?id=66861&edit=1

 ID:                 66861
 Updated by:         [email protected]
 Reported by:        eldmannen+php at gmail dot com
 Summary:            Color sidebars <li>s for deprecation/new/...
 Status:             Open
 Type:               Feature/Change Request
 Package:            Website problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Why don't we just append or prepend the word deprecated? I guess that is 
language-specific, though. I vote no on changing color for deprecated functions 
because honestly you are more likely to click on the items that don't match. We 
could make it a bit transparent or something, but that treatment to the 
comments hasn't been well received.


Previous Comments:
------------------------------------------------------------------------
[2014-03-10 12:59:19] eldmannen+php at gmail dot com

Was just a mockup.
Yeah, the deprecated colors could be changed from black to gray to decrease 
their visibility.

New functions could also be highlighted in green as you say to better make 
people aware of them.

------------------------------------------------------------------------
[2014-03-10 01:10:33] [email protected]

Interesting idea.
In your screenshot I feel the different colors actually makes you want to click 
it more, rather then serve as a warning.
Which means.. How about adding alight green color for new functions? :)
For deprecated/removed .. maybe light fadeout transparency? Or will that just 
be confusing and make you wanna check it out? :)

------------------------------------------------------------------------
[2014-03-09 13:23:18] eldmannen+php at gmail dot com

Description:
------------
On the manual there is a sidebar containing a list of functions.
As can be seen on 
http://www.php.net/manual/en/function.session-regenerate-id.php

The sidebar is <aside> element with the 'layout-menu' class.

I think it would be helpful and increase awarity of deprecated functions by 
showing a deprecation indicator (dimmed color, red color, or icon, or 
something) on the <li>/function entries that are deprecated.

Expected result:
----------------
http://i.imgur.com/78PwTak.png



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66861&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to