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.
Branding#
Here is an example:
[1]:
from pathlib import Path
import atoti as tt
resources_directory = Path("__resources__") / "customize_the_app"
[2]:
session_config = tt.SessionConfig(
branding=tt.BrandingConfig(
favicon=resources_directory / "favicon.ico",
logo=resources_directory / "logo.svg",
title="Hey hey hey",
),
)
session = tt.Session.start(session_config)
The app of this session looks like this:
App extensions#
App extensions can change the behavior of the app or augment it with new features. App extensions are developed in JavaScript/TypeScript.
Atoti comes with existing app extensions. For instance:
[3]:
session_config = tt.SessionConfig(app_extensions=tt.ADVANCED_APP_EXTENSION)
session = tt.Session.start(session_config)
This extension will add some advanced tools and a Text editor widget:
Take a look at the documentation of app_extensions to learn how to create your own extensions.