On Wed, Mar 31, 2010 at 10:30, Vincent Massol <[email protected]> wrote:
> Hi,
>
> We need a consistent way to handle document references in UIs.
>
> For example, on the rename template, the title is "Renaming <string 
> serialization of a reference here>".
> Thus if the page is named "?." in the space "Main" for example we get: 
> "Renaming Main.?\."
> Same for the wysiwyg editor's insert link dialog box (under the title we have 
> the technical reference printed).
>
> Proposal
> =======
>
> Since references are technical I don't think we should print them in the UI.
>
> Instead we should print its constituents: wiki, space, page (or just space, 
> page when not in multiwiki or when handling a ref not from the current wiki).
>
> This is what Caty has done in the Search UI BTW. Thus I propose to reuse her 
> idea and print this:
>
> wiki >> space >> page
>
> where >> is the HTML &#197; symbol.
>
> You can check visually what I mean here:
> http://playground.myxwiki.org/xwiki/bin/view/Main/WebSearch?text=test&x=0&y=0
>
> Thus applying this to the example above, we would have:
>
> "Renaming Main >> ?."
>
> And thus this removes the technical aspects:
> * no ":" or "." to separate wiki and space
> *no character escaping
>
> WDYT? Any other idea to achieve the same result ?

+1 for no reference syntax in the UI

Now how to show it in the UI is another subject and i don't have
precise idea, search UI looks nice enough to me. What is sure is that
we need a common tool to show a reference in the UI and to use
everywhere as much as possible.

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



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

Reply via email to