mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-28 11:16:58 +00:00
🚚(frontend) move chat-related code into a feature folder
Reorganize all chat-related code elements into a dedicated feature folder, so chat components, hooks and helpers are grouped together and easier to locate.
This commit is contained in:
committed by
aleb_the_flash
parent
97a9735c0b
commit
8dc1bacc38
+3
-3
@@ -16,9 +16,8 @@ import { useTranslation } from 'react-i18next'
|
|||||||
import { useSnapshot } from 'valtio'
|
import { useSnapshot } from 'valtio'
|
||||||
import { chatStore } from '@/stores/chat'
|
import { chatStore } from '@/stores/chat'
|
||||||
import { Div, Text } from '@/primitives'
|
import { Div, Text } from '@/primitives'
|
||||||
import { ChatInput } from '../components/chat/Input'
|
import { ChatInput } from './Input'
|
||||||
import { ChatEntry } from '../components/chat/Entry'
|
import { ChatEntry } from './Entry'
|
||||||
import { useSidePanel } from '../hooks/useSidePanel'
|
|
||||||
import {
|
import {
|
||||||
type LocalParticipant,
|
type LocalParticipant,
|
||||||
type RemoteParticipant,
|
type RemoteParticipant,
|
||||||
@@ -26,6 +25,7 @@ import {
|
|||||||
} from 'livekit-client'
|
} from 'livekit-client'
|
||||||
import { css } from '@/styled-system/css'
|
import { css } from '@/styled-system/css'
|
||||||
import { useRestoreFocus } from '@/hooks/useRestoreFocus'
|
import { useRestoreFocus } from '@/hooks/useRestoreFocus'
|
||||||
|
import { useSidePanel } from '@/features/rooms/livekit/hooks/useSidePanel'
|
||||||
|
|
||||||
export interface ChatProps
|
export interface ChatProps
|
||||||
extends React.HTMLAttributes<HTMLDivElement>, ChatOptions {}
|
extends React.HTMLAttributes<HTMLDivElement>, ChatOptions {}
|
||||||
@@ -8,7 +8,7 @@ import { useTranslation } from 'react-i18next'
|
|||||||
import { ParticipantsList } from './controls/Participants/ParticipantsList'
|
import { ParticipantsList } from './controls/Participants/ParticipantsList'
|
||||||
import { PanelId, useSidePanel } from '../hooks/useSidePanel'
|
import { PanelId, useSidePanel } from '../hooks/useSidePanel'
|
||||||
import React, { ReactNode, useCallback, useRef } from 'react'
|
import React, { ReactNode, useCallback, useRef } from 'react'
|
||||||
import { Chat } from '../prefabs/Chat'
|
import { Chat } from '@/features/chat/components/Chat'
|
||||||
import { Effects } from './effects/Effects'
|
import { Effects } from './effects/Effects'
|
||||||
import { Admin } from './Admin'
|
import { Admin } from './Admin'
|
||||||
import { Tools } from './Tools'
|
import { Tools } from './Tools'
|
||||||
|
|||||||
Reference in New Issue
Block a user