Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB0D99EA3 for ; Tue, 21 Feb 2012 12:24:46 +0000 (UTC) Received: (qmail 64300 invoked by uid 500); 21 Feb 2012 12:24:46 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 64279 invoked by uid 500); 21 Feb 2012 12:24:46 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 64271 invoked by uid 99); 21 Feb 2012 12:24:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 12:24:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of itamarost@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 12:24:41 +0000 Received: by wgbdr13 with SMTP id dr13so13040585wgb.0 for ; Tue, 21 Feb 2012 04:24:19 -0800 (PST) Received-SPF: pass (google.com: domain of itamarost@gmail.com designates 10.180.83.97 as permitted sender) client-ip=10.180.83.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of itamarost@gmail.com designates 10.180.83.97 as permitted sender) smtp.mail=itamarost@gmail.com; dkim=pass header.i=itamarost@gmail.com Received: from mr.google.com ([10.180.83.97]) by 10.180.83.97 with SMTP id p1mr25066771wiy.19.1329827059711 (num_hops = 1); Tue, 21 Feb 2012 04:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zHaFN47JgY6uWVNcU5prdtkkH6IuXC3e82v4M7S2enU=; b=Eqne47cJuQkMiSyqV2RqcsFGxCdhfnBiF7sInHWSI08/WR5r2dVEtb5u/5jrwVkkzQ OEojCsbITOTHU0LQDkz4hBie8eigwOji6JCun0SKBQf35Y48VROVENjnsg/ZMdMJ8QiD pWENZqOWsWDHrdu6a+RiuKa5P6uF7cO+bwl+E= MIME-Version: 1.0 Received: by 10.180.83.97 with SMTP id p1mr20851636wiy.19.1329827059635; Tue, 21 Feb 2012 04:24:19 -0800 (PST) Received: by 10.227.55.19 with HTTP; Tue, 21 Feb 2012 04:24:19 -0800 (PST) In-Reply-To: References: Date: Tue, 21 Feb 2012 14:24:19 +0200 Message-ID: Subject: Re: Bloodhound Widgets , WikiMacros , WYSIWYG et al. WAS: Bloodhound thoughts From: Itamar O To: bloodhound-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0442886680963b04b9787d6c --f46d0442886680963b04b9787d6c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Feb 20, 2012 at 11:20 PM, Olemis Lang wrote: > Hi ! > Started another thread . Hope u don't mind > ;) > > On Mon, Feb 20, 2012 at 1:51 PM, Joachim Dreimann > wrote: > > > [...] > >> * I like the dashboard/activity views that have been shared but I'm > >> not clear if these are supposed to be new pages, or new functionality > >> available as wiki macros? I make a lot of dashboards using trac and > >> wiki macro queries, > > ;) > would you be interested in having (at some point in the future ;) > something like Blogger layout editor or iGoogle so as to add widgets > containing useful information ? > > >> it would be nice if these dashboards you're making > >> were customizable using the same mechanism... can they just be wiki > >> pages themselves? > > > > As a starting point these would just be pages without much ability to > > modify them. > > +1 ... nonetheless the current implementation is prepared to support > more flexibility in dashboard . What's needed to make it evolve is to > upgrade some parts hard-coded at present (e.g. replace the =ABfixed=BB > list of widgets with some code that loads the same data from database > or config file saved by some user <=3D and that's just an example ;) . > > > The more feedback we receive and can observe people > > actually using it, the better we'll understand how far towards full > > flexibility we have to go. > > > > /me hoping it'll become another cool & lovely thingy > :) > > > A consistent UI will help users build a clear mental model of how > > things work, > > +1 ... this is very important > > > which will allow them to move towards intermediate skills > > more quickly, which should then allow them to use wiki macros etc. > > > > About wiki macros ... IMO the best way to deal with WikiMacros and > provide enhanced user experience is to move forward and select an > extensible WYSIWYG editor (e.g. CKEditor , TinyMCE , ... of another, please add it to the list> ;) and implement tight > integration with Bloodhound . > > This will allow e.g. to launch dialogs assisting users when they are > about to embed some content rendered by a given WikiMacro . In this > case the added benefit of widgets (... and that's one of the main > goals for building yet another WikiMacro-like stuff rather than using > them directly ;) is that they expose more metadata (e.g. supported > parameters , type , ...) , which is similar to gadgets [1]_ . Hence > it'll be possible e.g. to implement a CKEditor plugin able to read > widget metadata (provided target widget name e.g. `Timeline` for > `bhdashboard.widgets.timeline.TimelineWidget` ) and use it to render > and display a dialog similar to Google Gadget Editor [2]_ . Then user > specifies widget parameters (e.g. max number of events to show in the > timeline ;) ... maybe preview available . Finally , when she/he clicks > on Accept button , WikiMacro code needed to render that widget is > inserted under the hood as part of wiki text . > The idea of dialogs for various operations (inserting wiki- & trac- links, attaching & embedding images, invoking macros, etc.) was the main consideration in choosing CKEditor for the CkEditorPlugin ( https://trac-hacks.org/wiki/CkEditorPlugin). I actually have tickets on t-h.org for these features ( https://trac-hacks.org/ticket/8848, https://trac-hacks.org/ticket/8849, https://trac-hacks.org/ticket/8885). The basics for the integration exists in the plugin, but the more advanced (and useful) functionalities are not even started. I know I will not have any time in the near future to work on this, and I suspect the other two contributors are in similar position. The Bloodhound team is more than welcome to join forces and bring this plugin to the next level, for both Trac & Bloodhound. I don't mind relicensing the plugin so it works for you, as long as it also works with CKEditor itself (see http://ckeditor.com/license). > > PS: In previous messages I provided a link to a playlist illustrating > one such dialog to edit source code [3]_ . Further similar scenarios > will be possible if something like CkEditor , TinyMCE , ... is > integrated with Bloodhound . This is not possible by using Wysiwyg > plugin due to the fact that it does not provide extension points , > plugins ... nothing like that . > > .. [1] iGoogle Gadgets - Wikipedia, the free encyclopedia > (http://en.wikipedia.org/wiki/IGoogle_Gadgets) > > .. [2] Google Gadget Editor - Add to your homepage > ( > http://www.google.com/ig/directory?type=3Dgadgets&url=3Dwww.google.com/ig= /modules/gge.xml > ) > > .. [3] CKEditor plugins (source code editor) > ( > http://www.youtube.com/playlist?list=3DPLABED7BA09947CA55&feature=3Dplcp) > > -- > Regards, > > Olemis. > --f46d0442886680963b04b9787d6c--