- Add search_enabled field to ProductConfig to control omnibox visibility (defaults to false) - Add menu_launcher_enabled field to ProductConfig to control apps menu button visibility (defaults to false) - Update .product file to set both directives to false by default - Update get_product_config_json to include new fields in API response - Parse search_enabled and menu_launcher_enabled from .product file with support for true/false, 1/0, yes/no values This allows disabling the suite search mechanism and hiding the menu launcher when empty, providing a cleaner UI for deployments that don't need these features.
53 lines
1.9 KiB
Text
53 lines
1.9 KiB
Text
# Product Configuration File
|
|
# This file defines white-label settings for the application.
|
|
#
|
|
# All occurrences of "General Bots" will be replaced by the 'name' value.
|
|
# Only apps listed in 'apps' will be active in the suite (and their APIs enabled).
|
|
# The 'theme' value sets the default theme for the UI.
|
|
|
|
# Product name (replaces "General Bots" throughout the application)
|
|
name=General Bots
|
|
|
|
# Active apps (comma-separated list)
|
|
# Available apps: chat, mail, calendar, drive, tasks, docs, paper, sheet, slides,
|
|
# meet, research, sources, analytics, admin, monitoring, settings
|
|
# Only listed apps will be visible in the UI and have their APIs enabled.
|
|
apps=chat,drive,tasks,sources,settings
|
|
|
|
# Search mechanism enabled
|
|
# Controls whether the omnibox/search toolbar is displayed in the suite
|
|
# Set to false to disable the search mechanism
|
|
search_enabled=false
|
|
|
|
# Menu launcher enabled
|
|
# Controls whether the apps menu launcher is displayed in the suite
|
|
# Set to false to hide the menu launcher button
|
|
# When the menu is empty (no apps to show), it will be automatically hidden
|
|
menu_launcher_enabled=false
|
|
|
|
# Default theme
|
|
# Available themes: dark, light, blue, purple, green, orange, sentient, cyberpunk,
|
|
# retrowave, vapordream, y2kglow, arcadeflash, discofever, grungeera,
|
|
# jazzage, mellowgold, midcenturymod, polaroidmemories, saturdaycartoons,
|
|
# seasidepostcard, typewriter, 3dbevel, xeroxui, xtreegold
|
|
theme=sentient
|
|
|
|
# Logo URL (optional - leave empty to use default)
|
|
# Can be a relative path or absolute URL
|
|
logo=
|
|
|
|
# Favicon URL (optional - leave empty to use default)
|
|
favicon=
|
|
|
|
# Primary color override (optional - hex color code)
|
|
# Example: #d4f505
|
|
primary_color=
|
|
|
|
# Support email (optional)
|
|
support_email=
|
|
|
|
# Documentation URL (optional)
|
|
docs_url=https://docs.pragmatismo.com.br
|
|
|
|
# Copyright text (optional - {year} will be replaced with current year)
|
|
copyright=© {year} {name}. All rights reserved.
|