Open source video conferencing app powered by LiveKit. Built with Django and React.
🔧(frontend) make web app manifest optional
lebaudantoineb33df66158bc
diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.pyindex 572a5621..c6c83c4e 100755--- a/src/backend/meet/settings.py+++ b/src/backend/meet/settings.py@@ -333,6 +333,9 @@ class Base(Configuration):"transcript": values.DictValue({}, environ_name="FRONTEND_TRANSCRIPT", environ_prefix=None),+ "manifest_link": values.Value(+ None, environ_name="FRONTEND_MANIFEST_LINK", environ_prefix=None+ ),}diff --git a/src/frontend/src/api/useConfig.ts b/src/frontend/src/api/useConfig.tsindex 02b6a3cf..2a32097a 100644--- a/src/frontend/src/api/useConfig.ts+++ b/src/frontend/src/api/useConfig.ts@@ -30,6 +30,7 @@ export interface ApiConfig {available_modes?: RecordingMode[]expiration_days?: number}+ manifest_link?: string}const fetchConfig = (): Promise<ApiConfig> => {diff --git a/src/frontend/src/features/home/components/MoreLink.tsx b/src/frontend/src/features/home/components/MoreLink.tsxindex 013f788f..7b5db650 100644--- a/src/frontend/src/features/home/components/MoreLink.tsx+++ b/src/frontend/src/features/home/components/MoreLink.tsx@@ -2,17 +2,16 @@ import { A, Text } from '@/primitives'import { useTranslation } from 'react-i18next'import { useConfig } from '@/api/useConfig'-const MANIFEST_LINK =- 'https://docs.numerique.gouv.fr/docs/1ef86abf-f7e0-46ce-b6c7-8be8b8af4c3d/'-export const MoreLink = () => {const { t } = useTranslation('home')const { data } = useConfig()+ if (!data?.manifest_link) return+return (<Text as={'p'} variant={'sm'} style={{ padding: '1rem 0' }}><A- href={MANIFEST_LINK}+ href={data?.manifest_link}target="_blank"rel="noopener noreferrer"aria-label={t('moreLinkLabel')}diff --git a/src/helm/env.d/dev-keycloak/values.meet.yaml.gotmpl b/src/helm/env.d/dev-keycloak/values.meet.yaml.gotmplindex fd1b75f7..d0bd871e 100644--- a/src/helm/env.d/dev-keycloak/values.meet.yaml.gotmpl+++ b/src/helm/env.d/dev-keycloak/values.meet.yaml.gotmpl@@ -57,6 +57,7 @@ backend:FRONTEND_SUPPORT: "{'id': '58ea6697-8eba-4492-bc59-ad6562585041', 'help_article_transcript': 'https://lasuite.crisp.help/fr/article/visio-transcript-1sjq43x', 'help_article_recording': 'https://lasuite.crisp.help/fr/article/visio-enregistrement-wgc8o0', 'help_article_more_tools': 'https://lasuite.crisp.help/fr/article/visio-tools-bvxj23'}"FRONTEND_TRANSCRIPT: "{'form_beta_users': 'https://grist.numerique.gouv.fr/o/docs/forms/3fFfvJoTBEQ6ZiMi8zsQwX/17'}"FRONTEND_FEEDBACK: "{'url': 'https://grist.numerique.gouv.fr/o/docs/cbMv4G7pLY3Z/USER-RESEARCH-or-LA-SUITE/f/26'}"+ FRONTEND_MANIFEST_LINK: "https://docs.numerique.gouv.fr/docs/1ef86abf-f7e0-46ce-b6c7-8be8b8af4c3d/"AWS_S3_ENDPOINT_URL: http://minio.meet.svc.cluster.local:9000AWS_S3_ACCESS_KEY_ID: meetAWS_S3_SECRET_ACCESS_KEY: password