Hi devs,

I'd like to propose 3 things:

1) Add support for symbols/emoticons using our new system in XWiki Syntax 2.1, 
i.e.

image:symbol:<symbol name>

Another possibility is: image:icon:<icon name>

ex: image:symbol:success (for the success symbol)

2) Use the existing silk icon library and be able to reference all icons using 
their file names as the symbol name.

For ex, image:symbol:thumb_up

3) Modify the Box macro to accept a ResourceReference as its image parameter so 
that all valid image resource references can be specified (including the new 
symbol/icon scheme).

WDYT?

This will solve the emoticon/symbol need + the generic way of adding a box with 
any symbol.

Open questions:
A) Do we need to handle icon size? If so, how? (answer: with an image parameter)
B) Do we want to expose all silk icons? What if we use another library later 
on, will we be able to support all existing silk symbols? Thus, do we need to 
pick a subset and settle on names independent from the underlying library?

For A) IMO we don't need it now and we can always use an image param later on 
if need be.
For B) I'm tempted to think that a set of well-known symbols independent from 
the underlying library is better (but more work since we need to define that 
set and the names).

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to