🚸(frontend) add loading spinner for recording save process

Display loading spinner in side panel during transcript and screen recording
save operations. Provides visual feedback about ongoing processing that was
previously only indicated by title text, making the save status more explicit
to users.
This commit is contained in:
lebaudantoine
2025-04-16 18:06:07 +02:00
committed by aleb_the_flash
parent 7278061a80
commit 0b6869a4dc
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ import {
} from '@/features/notifications'
import posthog from 'posthog-js'
import { useSnapshot } from 'valtio/index'
import { Spinner } from '@/primitives/Spinner'
export const ScreenRecordingSidePanel = () => {
const [isLoading, setIsLoading] = useState(false)
@@ -160,6 +161,7 @@ export const ScreenRecordingSidePanel = () => {
>
{t('stopping.body')}
</Text>
<Spinner />
</>
) : (
<>

View File

@@ -26,6 +26,7 @@ import {
} from '@/features/notifications'
import posthog from 'posthog-js'
import { useSnapshot } from 'valtio/index'
import { Spinner } from '@/primitives/Spinner'
export const TranscriptSidePanel = () => {
const [isLoading, setIsLoading] = useState(false)
@@ -193,6 +194,7 @@ export const TranscriptSidePanel = () => {
>
{t('stopping.body')}
</Text>
<Spinner />
</>
) : (
<>