Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: GBC new home page menu  (Read 8116 times)
Alessandro (Efisio) R.
Posts: 42


« on: April 07, 2020, 09:56:44 am »

Hi,

I'm asking here to find out if there's any alternative to traditional ways of rendering the menu (startmenu with tree or menu position and treeview), to give him a new look more suited to today's web standards, maybe through a GBC customization or a web component.
Any hints or advice?

Thanks a lot
Reuben B.
Four Js
Posts: 1047


« Reply #1 on: April 13, 2020, 05:27:29 am »

With regards StartMenu, it was introduced in the first iterations of Genero early 2000's.  The TREE container was added in Genero 2.20 in 2009.  A StartMenu can be coded using the TREE container and there is a demo showing that in FGLDIR/demo/Tree/start-menu.

Why I am telling you this is that StartMenu was fairly limited and constraining and was not always implemented in our various GUI clients, whereas a StartMenu implemented in TREE allows you to add code around it, it fit it in with other dialogs via Multi-Dialog, and is implemented in GBC/UniversalRendering.

I have a Proof of Concept somewhere where in a multi dialog on a single form I had in essence ...

DIALOG
   DISPLAY ARRAY  -- a Start Menu using TREE container
   INPUT (with an EDIT)- search, filter and/or execute an entry from the TREE container
   INPUT (with a RADIOGROUP) - filter and change the items in the TREE container e.g.last entries selected, most frequently selected, a custom personal menu etc
   DISPLAY ARRAY (with ON TIMER) - workflow entries that the ON TIMER refreshes periodically, click on entry starts program related to that workflow
   INPUT (WEB COMPONENT) - charts/graphs with personnel KPI's, click on graph to start program drilling down on that entry
   ON ACTION - various actions e.g. change current user, change current database (test/live etc)
END DIALOG

i.e lots of different ways of starting programs, mixing with the old with the new.

So if you haven't already, use TREE container instead of StartMenu and you will find that opens up some doors and allows you to add functionality and mix your current way of starting programs with some new ways of starting programs.

Other ideas I'll throw into the mixer, if you want user to tap large buttons, a SCROLLGRID with pagedScrollGrid, or clickable images, or a web component similar to wc_touchpad, can be used to get large clickable areas onto the screen.

(perhaps the most used "menu" to start programs is simply an INPUT from a single EDIT field that utilises PLACEHOLDER :-)   )

it also pays to make sure your programs have ways to navigate past certain screen based on command line arguments.  By that I mean as well as ...

fglrun customer_enquiry

... make sure you can also do something like ...

fglrun customer_enquiry --customer 1234

... so that clicking off workflows, charts, graphs etc can go straight to the area the workflow, chart, graph etc is highlighting.

Reuben


 

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Alessandro (Efisio) R.
Posts: 42


« Reply #2 on: May 28, 2020, 11:15:24 am »

Thanks Reuben! I also saw your instagram post yesterday about this topic, great job!
In the end the choice fell back on large buttons (SCROLLGRID with pagedScrollGrid) inspired by webOE2 app from this Neil Martin github repository https://github.com/neilm-fourjs/njms_demos320
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines