[xwiki-devs] [Brainstorming] Improving the rendered quote syntax
Hi devs, It’s been raised by a user to me that it’s strange that when they use a quote (using the “>” symbol) we don’t show visually that it’s a quote and that it seems to him that it would make sense to show some quote symbols. Right now on XE it looks like: https://www.evernote.com/shard/s119/sh/5eea60a0-8110-438e-a292-47d395c386bc/... On xwiki.org (junco) it looks like this: http://www.xwiki.org/xwiki/bin/view/References/Testimonials It’s true that the XE’s default doesn’t look very much like a quote… It can be confused with a box easily. So WDYT about improving that in our default XE by having something either like junco (is it clear enough that it’s a quote) or adding quotes symbols? Thanks -Vincent
Hi Vincent, There may be different "use-cases", in the samples you provide, having some quote symbols could be nice. In an email thread or forum replies, usually there aren't quote symbols, but it's more like it is currently (vertical bar on the left), because there can easily be several levels of quotes. For example for this kind of stuff:
John said this
mary answered something more more end
... seems not obvious were to put quote symbols to get something readable ... In the old {quote} radeox macro, you had a structured way of providing the "source" for the quote, for this kind you would expect quote symbols. BR, Jeremie 2014-05-27 15:35 GMT+02:00 [email protected] <[email protected]>:
Hi devs,
It’s been raised by a user to me that it’s strange that when they use a quote (using the “>” symbol) we don’t show visually that it’s a quote and that it seems to him that it would make sense to show some quote symbols.
Right now on XE it looks like:
https://www.evernote.com/shard/s119/sh/5eea60a0-8110-438e-a292-47d395c386bc/...
On xwiki.org (junco) it looks like this: http://www.xwiki.org/xwiki/bin/view/References/Testimonials
It’s true that the XE’s default doesn’t look very much like a quote… It can be confused with a box easily.
So WDYT about improving that in our default XE by having something either like junco (is it clear enough that it’s a quote) or adding quotes symbols?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
:-) That's why I wrote our own macro... {{velocity}} #set($name=$xcontext.macro.params.Name) #set($quote=$xcontext.macro.params.Quote) {{html wiki="true"}} <div style=" display: inline-block; width: 50%; max-width: 640px; min-width: 320px; padding-left: 5px; background-color: rgb(255,255,204); border-radius: 5px; border-width: 2px; border-style: solid; "> **$name**<br> {{icon name="quote-left" size="2x" title="Quote"}}{{/icon}}//$quote//<br>{{icon name="quote-right" size="2x" title="Quote"}}{{/icon}} </div><br> {{/html}} {{/velocity}} <http://xwiki.475771.n2.nabble.com/file/n7590676/Quote.jpg> -- View this message in context: http://xwiki.475771.n2.nabble.com/Brainstorming-Improving-the-rendered-quote... Sent from the XWiki- Dev mailing list archive at Nabble.com.
I'm used to quoting on JIRA and GitHub where the result is close to what we have right now. The display is minimalistic but it supports nested quotes very well. Displaying quote symbols is a bit to much and I don't think it fits all the use cases. We could create a special CSS class that adds quotes symbols and document it so that users can write: (% class="quotes" %) > Once upon a time ... Thanks, Marius On Tue, May 27, 2014 at 4:35 PM, [email protected] <[email protected]> wrote:
Hi devs,
It’s been raised by a user to me that it’s strange that when they use a quote (using the “>” symbol) we don’t show visually that it’s a quote and that it seems to him that it would make sense to show some quote symbols.
Right now on XE it looks like: https://www.evernote.com/shard/s119/sh/5eea60a0-8110-438e-a292-47d395c386bc/...
On xwiki.org (junco) it looks like this: http://www.xwiki.org/xwiki/bin/view/References/Testimonials
It’s true that the XE’s default doesn’t look very much like a quote… It can be confused with a box easily.
So WDYT about improving that in our default XE by having something either like junco (is it clear enough that it’s a quote) or adding quotes symbols?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 28 May 2014 at 10:52:45, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
I'm used to quoting on JIRA and GitHub where the result is close to what we have right now.
Actually JIRA and GitHub are close to what we have on xwiki.org but not what we have on XE. My point was to improve XE.
The display is minimalistic but it supports nested quotes very well. Displaying quote symbols is a bit to much and I don't think it fits all the use cases.
Possibly, yes. I’ve seen solutions that have both quotes and vertical lines but I can’t find it again.
We could create a special CSS class that adds quotes symbols and document it so that users can write:
(% class="quotes" %)
Once upon a time …
That’s a good idea. Having a {{quote}} macro is probably better though since you can also have an optional “source” parameter and include it in the display. Now that doesn’t prevent the quote macro from using a “quotes” class ;) So to summarize, I’d agree to: * Changing our style to be more like what we have on xwiki.org * Creating a simple {{quote}} macro to use when the user wishes real quotes symbols with a source WDYT? Thanks -Vincent
Thanks, Marius
On Tue, May 27, 2014 at 4:35 PM, [email protected] wrote:
Hi devs,
It’s been raised by a user to me that it’s strange that when they use a quote (using the “>” symbol) we don’t show visually that it’s a quote and that it seems to him that it would make sense to show some quote symbols.
Right now on XE it looks like: https://www.evernote.com/shard/s119/sh/5eea60a0-8110-438e-a292-47d395c386bc/...
On xwiki.org (junco) it looks like this: http://www.xwiki.org/xwiki/bin/view/References/Testimonials
It’s true that the XE’s default doesn’t look very much like a quote… It can be confused with a box easily.
So WDYT about improving that in our default XE by having something either like junco (is it clear enough that it’s a quote) or adding quotes symbols?
Thanks -Vincent
On Wed, May 28, 2014 at 12:07 PM, [email protected] <[email protected]> wrote:
On 28 May 2014 at 10:52:45, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
I'm used to quoting on JIRA and GitHub where the result is close to what we have right now.
Actually JIRA and GitHub are close to what we have on xwiki.org but not what we have on XE. My point was to improve XE.
The display is minimalistic but it supports nested quotes very well. Displaying quote symbols is a bit to much and I don't think it fits all the use cases.
Possibly, yes. I’ve seen solutions that have both quotes and vertical lines but I can’t find it again.
We could create a special CSS class that adds quotes symbols and document it so that users can write:
(% class="quotes" %)
Once upon a time …
That’s a good idea. Having a {{quote}} macro is probably better though since you can also have an optional “source” parameter and include it in the display. Now that doesn’t prevent the quote macro from using a “quotes” class ;)
So to summarize, I’d agree to: * Changing our style to be more like what we have on xwiki.org * Creating a simple {{quote}} macro to use when the user wishes real quotes symbols with a source
WDYT?
+1 Thanks, Marius
Thanks -Vincent
Thanks, Marius
On Tue, May 27, 2014 at 4:35 PM, [email protected] wrote:
Hi devs,
It’s been raised by a user to me that it’s strange that when they use a quote (using the “>” symbol) we don’t show visually that it’s a quote and that it seems to him that it would make sense to show some quote symbols.
Right now on XE it looks like: https://www.evernote.com/shard/s119/sh/5eea60a0-8110-438e-a292-47d395c386bc/...
On xwiki.org (junco) it looks like this: http://www.xwiki.org/xwiki/bin/view/References/Testimonials
It’s true that the XE’s default doesn’t look very much like a quote… It can be confused with a box easily.
So WDYT about improving that in our default XE by having something either like junco (is it clear enough that it’s a quote) or adding quotes symbols?
Thanks -Vincent
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Hamster -
Jeremie BOUSQUET -
Marius Dumitru Florea -
vincent@massol.net