Customize the app#
This feature is not part of the community edition: it needs to be unlocked.
There are two ways to customize the app served by a session:
The branding (e.g. logo, favicon, tab title) can be changed with a BrandingConfig.
The features can be enhanced with app extensions.
Here is an example:
from pathlib import Path
_RESOURCES_DIRECTORY = Path("resources") / "customize_the_app"
import atoti as tt
session = tt.Session( branding=tt.BrandingConfig( favicon=_RESOURCES_DIRECTORY / "favicon.ico", logo=_RESOURCES_DIRECTORY / "logo.svg", title="Hey hey hey", ), name="Rebranded", )
The app of this session looks like this:
Atoti comes with existing app extensions. For instance:
session = tt.Session( app_extensions=tt.ADVANCED_APP_EXTENSION, name="Extended", )
This extension will add some advanced tools and a Text editor widget:
Take a look at the documentation of Session()’s app_extensions parameter to learn how to create your own extensions.