Proposal for a GUI/Web debug mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Proposal for a GUI/Web debug mode

Brian Cunningham
Hi Dev group,

I'm very new to OFBiz, so I may be covering old ground. If not, I'd like to propose a debug mode for the UI of OFBiz along the lines of that in OLAT.

If you've never seen it, take a look at:

http://demo.olat.org/demo/dmz/

 - click the word "System Administrator" in the dropdown to fill in the username/password form.
 
 - once you are logged in as "System Administrator" click the tiny green bug icon in the upper left corner of the page to turn on debug mode.
 
 - click the word "Debug" in the panel that appears.
 
 - move your mouse around the rest of the screen to see the templates and controllers associated with the various parts of the view.

I find that with this debug mode available I can be productive modifying the front end of OLAT right away, whereas after a few weeks of looking at OFBiz I still struggle to find/remember where things are located.

I'd be willing to work on this, but really at this point I'm just wondering if others think it's a useful (and feasible) feature, and/or if something similar already exists that I just missed.

Brian
Reply | Threaded
Open this post in threaded view
|

Re: Proposal for a GUI/Web debug mode

Sascha Rodekamp-3
Hi Brian,
that looks good indeed. But is there a higher value of this debug mode
compared to browser tools like Firebug?

Have a good day
Sascha



2012/6/25 Brian Cunningham <[hidden email]>:

> Hi Dev group,
>
> I'm very new to OFBiz, so I may be covering old ground. If not, I'd like to
> propose a debug mode for the UI of OFBiz along the lines of that in OLAT.
>
> If you've never seen it, take a look at:
>
> http://demo.olat.org/demo/dmz/
>
>  - click the word "System Administrator" in the dropdown to fill in the
> username/password form.
>
>  - once you are logged in as "System Administrator" click the tiny green bug
> icon in the upper left corner of the page to turn on debug mode.
>
>  - click the word "Debug" in the panel that appears.
>
>  - move your mouse around the rest of the screen to see the templates and
> controllers associated with the various parts of the view.
>
> I find that with this debug mode available I can be productive modifying the
> front end of OLAT right away, whereas after a few weeks of looking at OFBiz
> I still struggle to find/remember where things are located.
>
> I'd be willing to work on this, but really at this point I'm just wondering
> if others think it's a useful (and feasible) feature, and/or if something
> similar already exists that I just missed.
>
> Brian
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Proposal-for-a-GUI-Web-debug-mode-tp4634080.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.



--

Sascha Rodekamp
    Visit the new german OFBiz Blog: http://www.ofbiz.biz
    Lynx-Consulting GmbH
    Johanniskirchplatz 6
    D-33615 Bielefeld
    http://www.lynx.de
Reply | Threaded
Open this post in threaded view
|

Re: Proposal for a GUI/Web debug mode

Jacques Le Roux
Administrator
You may also look at generated HTML source. By default there are info there on which artifacts were used during generation, pretty
uselful in most cases.

Jacques

From: "Sascha Rodekamp" <[hidden email]>

> Hi Brian,
> that looks good indeed. But is there a higher value of this debug mode
> compared to browser tools like Firebug?
>
> Have a good day
> Sascha
>
>
>
> 2012/6/25 Brian Cunningham <[hidden email]>:
>> Hi Dev group,
>>
>> I'm very new to OFBiz, so I may be covering old ground. If not, I'd like to
>> propose a debug mode for the UI of OFBiz along the lines of that in OLAT.
>>
>> If you've never seen it, take a look at:
>>
>> http://demo.olat.org/demo/dmz/
>>
>> - click the word "System Administrator" in the dropdown to fill in the
>> username/password form.
>>
>> - once you are logged in as "System Administrator" click the tiny green bug
>> icon in the upper left corner of the page to turn on debug mode.
>>
>> - click the word "Debug" in the panel that appears.
>>
>> - move your mouse around the rest of the screen to see the templates and
>> controllers associated with the various parts of the view.
>>
>> I find that with this debug mode available I can be productive modifying the
>> front end of OLAT right away, whereas after a few weeks of looking at OFBiz
>> I still struggle to find/remember where things are located.
>>
>> I'd be willing to work on this, but really at this point I'm just wondering
>> if others think it's a useful (and feasible) feature, and/or if something
>> similar already exists that I just missed.
>>
>> Brian
>>
>>
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.com/Proposal-for-a-GUI-Web-debug-mode-tp4634080.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>
>
> --
>
> Sascha Rodekamp
> Visit the new german OFBiz Blog: http://www.ofbiz.biz
> Lynx-Consulting GmbH
> Johanniskirchplatz 6
> D-33615 Bielefeld
> http://www.lynx.de
>
Reply | Threaded
Open this post in threaded view
|

Re: Proposal for a GUI/Web debug mode

Brian Cunningham
"> Hi Brian,
> that looks good indeed. But is there a higher value of this debug mode
> compared to browser tools like Firebug? "

For me there is, but maybe for others there isn't.

"You may also look at generated HTML source. By default there are info there on which artifacts were used during generation, pretty
uselful in most cases. "

That is pretty useful. I'm going to experiment with it a little bit and see what I can add to it. Thanks!