Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 15023 invoked from network); 21 Dec 2009 09:08:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 09:08:54 -0000 Received: (qmail 50029 invoked by uid 500); 21 Dec 2009 09:08:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49920 invoked by uid 500); 21 Dec 2009 09:08:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 49912 invoked by uid 99); 21 Dec 2009 09:08:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 09:08:54 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of genspring@gmail.com designates 209.85.160.56 as permitted sender) Received: from [209.85.160.56] (HELO mail-pw0-f56.google.com) (209.85.160.56) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 09:08:47 +0000 Received: by pwi19 with SMTP id 19so3557219pwi.35 for ; Mon, 21 Dec 2009 01:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=A/kjs1scgytnusJLfXabVrmn6L4THtRBdIIIOmkn2sE=; b=hza27uLFyqF5TAeR7aUvnNurfhUDdVrij6kXO1b1sWlgVLx0ahx2JtUMXa9gBzewky kZQHnmAeOFj1c7XxnssQEgNbze67bP/8ni2JAcjekNXiYCZYcWYL/n5uiaJTGqKIMyuR b/Eu7lQlY4uTbbjfupF97bGmPvA/l5BWjDHWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TnRQzJZmkAJJi4XuXInGsbpHEAR3NbGvt2wrPQf2bEDHhMNaXWkC2zbwSTdSLGzmAK 9ffI95SEkhJc+iFQFhbyhAXFphTsXlAsGNzl3l2ELCNW7K61kF0XgWsbnw8RknjVniZw Elx+OLzLRaz0BX5wk9rclsK1cSFcStTVa9CmY= MIME-Version: 1.0 Received: by 10.141.88.5 with SMTP id q5mr4925203rvl.249.1261386507038; Mon, 21 Dec 2009 01:08:27 -0800 (PST) In-Reply-To: References: <5e7fd1eb0912201918o1ab81590o6ea994a065df1814@mail.gmail.com> Date: Mon, 21 Dec 2009 17:08:27 +0800 Message-ID: Subject: Re: [Discussion]Redesign of navigation system of geronimo Web console. From: Shawn Jiang To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=000e0cd1388ead2f65047b396e16 --000e0cd1388ead2f65047b396e16 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Dec 21, 2009 at 1:32 PM, Shawn Jiang wrote: > > > On Mon, Dec 21, 2009 at 11:18 AM, Jack Cai wrote: > >> This is great! Thanks Shawn! >> >> Some minor comments: >> 1. The performance of the tree is not ideal in FireFox. I know DOJO is not >> a performance sweet. Not sure whether we can do anything here. >> > > Because the change to separate navigation from content page, the navigation > tree will be only loaded for one time. So, this might not be a problem. > > >> 2. The color scheme looks a little gray. Shall we make them a little >> brighter? >> > > I agree, we can improve the style after the function design is finalized. > > >> 3. The filter box is cool. As I mention in another topic thread, we can >> put a default text "type filter text" >> > Right, I have not figured out a way to do this for now. But I believe we > can do this. > > >> 4. A small defect: after a function is launched through the filter box, >> the focus on the tree menu does not change right now. >> > Right, we need to improve the focus after the users launch the function > from the filter box. > > >> 5. Can we support page refresh? Currently it usually show the welcome page >> after a page refresh. >> > > Aha, I did not consider this problem. Thanks for pointing this out ! > I figured out a way to support this. : ) 1, Maintain a map in the server side to keep key-->URL entrys. 2, When a tree item is clicked , the address bar will be rewriten with javacript code "window.location.hash=#{key}" without refreshing the whole page. 3, When the users refresh the page manually, the #{key} will be passed to the server to get the correct URL to display. > > >> >> -Jack >> >> >> >> On Mon, Dec 21, 2009 at 9:47 AM, Shawn Jiang wrote: >> >>> I redesigned the navigation system of geronimo Web console because we >>> need to re-org the navigation tree to improve the usability. I uploaded a >>> patch with JIRA: *https://issues.apache.org/jira/browse/GERONIMO-4994*, >>> in the patch: >>> >>> 1, Use number-number-number format in the portal page title to define the >>> menu sequence. For example: >>> >>> *Welcome *(defined as 0/Welcome in plan.xml) >>> *Server* >>> -----*XXXX* >>> ... >>> -----*JMS Server*(defined as 1-8/Server/JMS Server in plan.xml) >>> ... >>> ... >>> >>> 2, Use DOJO Tree as the navigation menu tree. >>> >>> 3, The navigation tree is separated from the portlets content. No tree >>> and banner download are needed when clicking a portal page. >>> >>> 4, Quick launch box, just type menu item name in the box and press enter >>> to quick launch a function. >>> >>> When the UI design above are accepted. I'll followup the path to complete >>> Non Functional Requirements: >>> 1, G11N >>> 2, Selenuim Testsuite update. >>> 3, Finalize the menu items position because the current sequence in the >>> patch is for demo only. >>> 4, The patch is based on Tomcat G server in 22 branch. I will port it to >>> jetty as well as other branches after this UI design is accepted. >>> >>> >>> Any comments will be appreciated, >>> >>> >>> -- >>> Shawn >>> >> >> > > > -- > Shawn > -- Shawn --000e0cd1388ead2f65047b396e16 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Dec 21, 2009 at 1:32 PM, Shawn J= iang <genspring= @gmail.com> wrote:


On Mon, Dec 21, 2009 a= t 11:18 AM, Jack Cai <greensight@gmail.com> wrote:
This is great! Thanks Shawn!

Some minor comments:
1. The performa= nce of the tree is not ideal in FireFox. I know DOJO is not a performance s= weet. Not sure whether we can do anything here.

Because the change to separate navigation from content page, the navigation= tree will be only loaded for one time.=A0 So, this might not be a problem.=
=A0
2. The color scheme looks a little gray. Shall we make them a little bright= er?

I agree, we can improve the style after = the function design is finalized.
=A0
3. The filter box is cool. As I mention in another topic thread, we can put= a default text "type filter text"
Rig= ht, I have not figured out a way to do this for now.=A0 But I believe we ca= n do this.
=A0
4. A small defect: after a function is launched through the f= ilter box, the focus on the tree menu does not change right now.
Right, we need to improve the focus after the users= launch the function from the filter box.
=A0
5. Can we support page refresh? Currently it usually show the welcome page = after a page refresh.

Aha, I did not conside= r this problem.=A0 Thanks for pointing this out !

I figured out a way to support this.=A0 : )

1,=A0 Maintain = a map in the server side to keep key-->URL entrys.=A0

2, When a = tree item is clicked , the address bar will be rewriten with javacript code= "window.location.hash=3D#{key}" without refreshing the whole pag= e.

3, When the users refresh the page manually, the #{key} will be passed = to the server to get the correct URL to display.

=A0
=A0

-Jack



On Mon, Dec 21, 2009 at 9:47 AM, Shawn Jiang <g= enspring@gmail.com> wrote:
I redesigned the = navigation system of geronimo Web console because we need to re-org the nav= igation tree to improve the usability.=A0 I uploaded a patch with JIRA: https://issues.apache.org/jira/browse/GERONIMO-4994, in the= patch:

1, Use number-number-number format in t= he portal page title to define the menu sequence. For example:

Welcome (defined as 0/Welcome in pla= n.xml)
Server
=A0 -----XXXX
=A0 ...
=A0 -----JMS Server(defined as 1-8/Server/JMS Server in plan.xml)
= =A0 ...
=A0 ...

2, Use DOJO Tree as the navigation menu tre= e.

3, The navigation tree is separated f= rom the portlets content. No tree and banner download are needed when clicking a portal page.

4, Quick launch box, just type menu item na= me in the box and press enter to quick launch a function.

When the UI design above are accepted. I'll followup the path to com= plete Non Functional Requirements:

1, G11N
2, Selenuim Testsuite update.
3, Finalize the menu items position because the current sequence in the pat= ch is for demo only.
4, The patch is based on Tomcat G server in 22 branch. I will port it to jetty as well as other branches after this UI design is accepted.
<= br>
Any comments will be appreciated,


--
Shawn




--
Shawn



--
Shawn
--000e0cd1388ead2f65047b396e16--