Avaiga / taipy-studio-config

Visual Studio Code extension for Taipy: Configuration Builder
Apache License 2.0
5 stars 1 forks source link

Better management of properties #92

Open FlorianJacta opened 8 months ago

FlorianJacta commented 8 months ago

Description This issue aims to simplify the use of Taipy Studio Config.

We should only give the properties available for a storage type and not all the properties. For example, a Pickle Data Node cannot have "has_header", "db_username, "db_port", etc properties. If we only give the possible properties to the user, this will simplify the use of Taipy Studio/ Core, avoid errors and misunderstanding. The documentation on Data Node will also not be needed.

If all the properties of a Data Node are used for a Storage type, the button to add properties should disappear.

Acceptance Criteria

FredLL-Avaiga commented 4 months ago

I thought the user could add its own properties ?

FlorianJacta commented 4 months ago

Taipy Studio Config should not suggest "db_username" for a Pickle Data Node even if they can add more properties to a DataNode Config. I don't see where it is in conflict with this issue

FredLL-Avaiga commented 4 months ago

If all the properties of a Data Node are used for a Storage type, the button to add properties should disappear.

that would conflict with this

FlorianJacta commented 4 months ago

I see. You could still have it, but it shouldn't propose anything then. You just have to write your own property.