♻️(frontend) rename RecordingStateBadge to RecordingStateToast
Rename component to match existing LiveKit naming conventions like connectionStateToast. Improves naming consistency.
This commit is contained in:
committed by
aleb_the_flash
parent
695ac47014
commit
9a1384b188
@@ -10,7 +10,7 @@ import { decodeNotificationDataReceived } from '@/features/notifications/utils'
|
|||||||
import { NotificationType } from '@/features/notifications/NotificationType'
|
import { NotificationType } from '@/features/notifications/NotificationType'
|
||||||
import { RecordingStatus, recordingStore } from '@/stores/recording'
|
import { RecordingStatus, recordingStore } from '@/stores/recording'
|
||||||
|
|
||||||
export const RecordingStateBadge = () => {
|
export const RecordingStateToast = () => {
|
||||||
const { t } = useTranslation('rooms', {
|
const { t } = useTranslation('rooms', {
|
||||||
keyPrefix: 'recordingBadge',
|
keyPrefix: 'recordingBadge',
|
||||||
})
|
})
|
||||||
@@ -5,3 +5,4 @@ export {
|
|||||||
} from './hooks/useIsRecordingStarted'
|
} from './hooks/useIsRecordingStarted'
|
||||||
export { useIsRecordingTransitioning } from './hooks/useIsRecordingTransitioning'
|
export { useIsRecordingTransitioning } from './hooks/useIsRecordingTransitioning'
|
||||||
export { useHasRecordingAccess } from './hooks/useHasRecordingAccess'
|
export { useHasRecordingAccess } from './hooks/useHasRecordingAccess'
|
||||||
|
export { RecordingStateToast } from './components/RecordingStateToast'
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import { FocusLayout } from '../components/FocusLayout'
|
|||||||
import { ParticipantTile } from '../components/ParticipantTile'
|
import { ParticipantTile } from '../components/ParticipantTile'
|
||||||
import { SidePanel } from '../components/SidePanel'
|
import { SidePanel } from '../components/SidePanel'
|
||||||
import { useSidePanel } from '../hooks/useSidePanel'
|
import { useSidePanel } from '../hooks/useSidePanel'
|
||||||
import { RecordingStateBadge } from '../components/RecordingStateBadge'
|
import { RecordingStateToast } from '@/features/recording'
|
||||||
import { ScreenShareErrorModal } from '../components/ScreenShareErrorModal'
|
import { ScreenShareErrorModal } from '../components/ScreenShareErrorModal'
|
||||||
|
|
||||||
const LayoutWrapper = styled(
|
const LayoutWrapper = styled(
|
||||||
@@ -231,7 +231,7 @@ export function VideoConference({ ...props }: VideoConferenceProps) {
|
|||||||
)}
|
)}
|
||||||
<RoomAudioRenderer />
|
<RoomAudioRenderer />
|
||||||
<ConnectionStateToast />
|
<ConnectionStateToast />
|
||||||
<RecordingStateBadge />
|
<RecordingStateToast />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user