enableUserExport property

bool get enableUserExport
inherited

Whether to surface an "Export chat" item in the chat header's more-options menu. When true (default) the user can download their own transcript as a .zip and hand it to the platform share sheet. When false, the menu item is hidden — useful for hosts whose privacy posture or app-store category requires suppressing data-export affordances.

This is also surfaced via the server's /api/project/config/ payload (enable_user_export) so a host can toggle it from the dashboard without a widget redeploy. The host-supplied value here wins per the standard host-overrides-server precedence; see ChatViewModel.initialize.

Implementation

bool get hideBarsOnScroll;/// Whether to surface an "Export chat" item in the chat header's
/// more-options menu. When `true` (default) the user can download
/// their own transcript as a `.zip` and hand it to the platform
/// share sheet. When `false`, the menu item is hidden — useful for
/// hosts whose privacy posture or app-store category requires
/// suppressing data-export affordances.
///
/// This is also surfaced via the server's `/api/project/config/`
/// payload (`enable_user_export`) so a host can toggle it from
/// the dashboard without a widget redeploy. The host-supplied
/// value here wins per the standard host-overrides-server
/// precedence; see [ChatViewModel.initialize].
bool get enableUserExport;