taipy icon indicating copy to clipboard operation
taipy copied to clipboard

Clarify parameters in Gui constructor, in run(), and in the CLI

Open FabienLelaquais opened this issue 2 years ago • 5 comments

Description

As of today, the Gui constructor and run() method have a bunch of parameters and it's not really clear why those parameters are used in one, or the other.

I suspect we should have a clear rule such as: any parameter that might make sense when the server is stopped then run again (such as in the Notebook situation) definitively should be in the run() method. Otherwise, the constructor sounds like the right place (like the server to be used).

Acceptance Criteria

  • [ ] Come up with a

FabienLelaquais avatar Feb 25 '23 17:02 FabienLelaquais

will be better having a Config section for GUI parameters so it is easier to configure it dynamic. And better consistent.

rohan011001 avatar Apr 29 '24 14:04 rohan011001

@rohan011001 Is this what you are referring to? configure_gui

FlorianJacta avatar May 02 '24 09:05 FlorianJacta

@FlorianJacta Yes exactly. Why not pushing this method in the doc. It is easier to configure dynamicly and consistent.

rohan011001 avatar Jun 25 '24 07:06 rohan011001

Clarifying all the attributes and parameters of the GUI service, the run method, the GUI application, and the GuiSection should improve the user manual documentation. The "Configuration" pages could be more use-case driven. https://github.com/Avaiga/taipy-doc/pull/940/#discussion_r1680560794

jrobinAV avatar Jul 18 '24 10:07 jrobinAV

I am increasing the priority of the ticket because I believe it would be good to discuss the issue (at least) before the release of 4.0.

jrobinAV avatar Jul 18 '24 10:07 jrobinAV