diff --git a/docs/installation/kubernetes.md b/docs/installation/kubernetes.md index b5c3f578..62f4aeb8 100644 --- a/docs/installation/kubernetes.md +++ b/docs/installation/kubernetes.md @@ -277,7 +277,6 @@ These are the environmental options available on meet backend. | FRONTEND_CUSTOM_CSS_URL | URL of an additional CSS file to load in the frontend app. If set, a `` tag with this URL as href is added to the `
` of the frontend app | | | FRONTEND_ANALYTICS | Analytics information | {} | | FRONTEND_SUPPORT | Crisp frontend support configuration, also you can pass help articles, with `help_article_transcript`, `help_article_recording`, `help_article_more_tools` | {} | -| FRONTEND_TRANSCRIPT | Frontend transcription configuration, you can pass a beta form, with `form_beta_users` | {} | | FRONTEND_MANIFEST_LINK | Link to the "Learn more" button on the homepage | {} | | FRONTEND_SILENCE_LIVEKIT_DEBUG | Silence LiveKit debug logs | false | | FRONTEND_IS_SILENT_LOGIN_ENABLED | Enable silent login feature | true | diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py index c680f02d..5f7f6c1b 100755 --- a/src/backend/meet/settings.py +++ b/src/backend/meet/settings.py @@ -342,9 +342,6 @@ class Base(Configuration): "use_proconnect_button": values.BooleanValue( False, environ_name="FRONTEND_USE_PROCONNECT_BUTTON", environ_prefix=None ), - "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.ts index 30ea268e..5c760092 100644 --- a/src/frontend/src/api/useConfig.ts +++ b/src/frontend/src/api/useConfig.ts @@ -17,9 +17,6 @@ export interface ApiConfig { feedback: { url: string } - transcript: { - form_beta_users: string - } silence_livekit_debug_logs?: boolean is_silent_login_enabled?: boolean custom_css_url?: string diff --git a/src/frontend/src/features/home/components/IntroSlider.tsx b/src/frontend/src/features/home/components/IntroSlider.tsx index f9c5efca..10cf7e81 100644 --- a/src/frontend/src/features/home/components/IntroSlider.tsx +++ b/src/frontend/src/features/home/components/IntroSlider.tsx @@ -1,10 +1,9 @@ import { styled } from '@/styled-system/jsx' import { css } from '@/styled-system/css' -import { Button, LinkButton } from '@/primitives' +import { Button } from '@/primitives' import { RiArrowLeftSLine, RiArrowRightSLine } from '@remixicon/react' -import { useMemo, useState } from 'react' +import { useState } from 'react' import { useTranslation } from 'react-i18next' -import { useConfig } from '@/api/useConfig' const Heading = styled('h2', { base: { @@ -165,14 +164,7 @@ export const IntroSlider = () => { const [slideIndex, setSlideIndex] = useState(0) const { t } = useTranslation('home', { keyPrefix: 'introSlider' }) - const { data } = useConfig() - - const filteredSlides = useMemo( - () => (data?.transcript?.form_beta_users ? SLIDES : SLIDES.slice(0, 2)), - [data] - ) - - const NUMBER_SLIDES = filteredSlides.length + const NUMBER_SLIDES = SLIDES.length return (
+
+
+