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 1B1BDEC4C for ; Thu, 29 Nov 2012 22:17:01 +0000 (UTC) Received: (qmail 93763 invoked by uid 500); 29 Nov 2012 22:17:01 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 93743 invoked by uid 500); 29 Nov 2012 22:17:01 -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 93731 invoked by uid 99); 29 Nov 2012 22:17:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 22:17:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joachim.dreimann@wandisco.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 22:16:54 +0000 Received: by mail-we0-f175.google.com with SMTP id z53so4117196wey.6 for ; Thu, 29 Nov 2012 14:16:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version :x-gm-message-state; bh=KVfMu5FxrOe/KJ7WVQNeIO9+Ik+52CFjHnQt8kPt+t0=; b=VpYO3VxTBLCqGLIgfG1U1Kgk5PnFOnPjuvloJt09LQC1q1VB8SDMYLHfV0n3iIGRrt pckAHj1GlmB7sbWeQFFbkb9kTkyYp3Rmx23Nc4HXYGgYhwZfysIdjoMOGSorqLQiOf27 4RS0KkXULRAOseLhPebmQ4zQXrsBSNqwlsftzzh9/heOTGbOaRXgemVgSpzkXwcF+nIY 2whgrKZbhtZE7glUT/LDqXEJK/LSgurjEmzAC2zr89Ywb1O93ZWjNNncnXHOS9Eo5lbn glfwa61CWxRYJV+SQYyt+Lha1tjY3jQZTaN7uCOzFeuUz2cIyMbLtI92q02CnCHb1yTF 0imw== Received: by 10.216.216.26 with SMTP id f26mr9622335wep.113.1354227393228; Thu, 29 Nov 2012 14:16:33 -0800 (PST) Received: from [10.0.1.6] (jdreimann.plus.com. [212.56.109.56]) by mx.google.com with ESMTPS id w5sm4333048wiz.10.2012.11.29.14.16.31 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 14:16:32 -0800 (PST) Subject: Re: widget macros (ticket #138) References: <50A51EA4.5050501@wandisco.com> <50B75F3C.2050307@wandisco.com> <50B78CEB.8050808@wandisco.com> From: Joe Dreimann Content-Type: text/plain; charset=utf-8 X-Mailer: iPhone Mail (10A523) In-Reply-To: <50B78CEB.8050808@wandisco.com> Message-Id: <4A8E4DC2-0605-4773-952A-0FDB941E2D83@wandisco.com> Date: Thu, 29 Nov 2012 22:16:30 +0000 To: "bloodhound-dev@incubator.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Gm-Message-State: ALoCoQkV/GNCtpnmoXG0i9LZK8iyMEOkSqqzcnK4Ym5vPMhkvDCbAp7lDtk4DdaDm/sJOchUIcOE X-Virus-Checked: Checked by ClamAV on apache.org On 29 Nov 2012, at 16:27, Gary Martin wrote: > On 29/11/12 15:16, Olemis Lang wrote: >> On 11/29/12, Gary Martin wrote: >>> On 19/11/12 15:36, Olemis Lang wrote: >>>> On 11/19/12, Peter Ko=C5=BEelj wrote: >>>>> First I would like to check if I understand this correctly. >>>>> So, this means that a user can embed widgets from dashboard in wiki >>>>> pages >>>>> or ticket descriptions? >>>> anywhere WikiFormatting is supported , yes . Widgets are enhanced >>>> macros in first place. >>>>=20 >>>>> I do not se any problems with this at the moment >>>> cool >>>>=20 >>>>> but, this can not be a >>>>> substitute for user customizable dashboard. >>>>> We still need to provide fully customizable dashboard >>>> +1 >>>> for the moment think of it like the replacement to TicketQuery et al. >>>> as we use it today on i.a.o . It looks weird to me that we were able >>>> to customize those views and we can not embed a similar widget in a >>>> wiki page when we need it . >>> I don't see that it is weird not to be able to do this. >> I could find the right word ... >>=20 >>> The advantage is >>> if we bring enhancements to the existing functionality. At the moment, >>> in terms of TicketQuery vs Widget(TicketQuery, ...) we bring certain >>> improvements but not all the functionality yet. >> what's missing >=20 > Well, I suppose there is a question of whether any discrepancies matter. I= note that columns are linked to queries in the TicketQuery that give the li= st of tickets ordered by the relevant field. It is possible that if we were t= o put links on columns that we would want their primary action to be to orde= r by that field with a bit of ajax. >=20 > Interestingly [[TicketQuery(table, ?status=3D!closed&keywords=3D~starter, m= ax=3D5)]] also seems to include the keywords field as one of the columns. Th= at is almost certainly not the desired output for our dashboard views but I s= uppose it may be a comfort to some that it was the right query. I think it would be better to provide an indicator what the query is and not= show the column, unless requested. That indicator could be a line of text showing the query in a readable way o= r an info/config dialogue. Anyway, we don't need to decide thy just yet. >>=20 >>> At some point, once we get feature parity, we could consider overriding >>> TicketQuery so that it uses Widget(TicketQuery,...) instead. >> fwiw it's possible to have TicketQueryWidget( ... ) rather than >> Widget(TicketQuery, ...) . In general , Widget( ... ) vs >> Widget(, ...) >=20 > Well, not quite what I mean - two macros for effectively the same thing is= not really ideal. >=20 > Cheers, > Gary