tiqi-group / pydase

A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0 stars 1 forks source link

Configurable webserver title element #117

Open FinnHoller opened 3 months ago

FinnHoller commented 3 months ago

When users manage multiple services at once, it would be useful to be able to distinguish them by the webpage title (displayed as text on a tab).

A new configuration option could be created, where the service creator can overwrite the default title ("pydase App").

FinnHoller commented 3 months ago

Possible Implementation

Provide <title> element with an id tag. In React rendering, replace the content of the title element by a user specified one, with a fallback to the default.

The user could specify his desired title in web_settings.json, for example with the key name "web title", because the full access path of a Python object can never contain spaces.