Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Reorganize conference feature files
Bettenbuk Zoltand7d9bc4eeba2
diff --git a/react/features/conference/components/DisplayNameLabel.web.js b/react/features/conference/components/DisplayNameLabel.web.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/conference/components/Notice.naive.js b/react/features/conference/components/Notice.naive.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/conference/components/index.native.js b/react/features/conference/components/index.native.jsnew file mode 100644index 0000000000..a32ec60612--- /dev/null+++ b/react/features/conference/components/index.native.js@@ -0,0 +1,3 @@+// @flow++export * from './native';diff --git a/react/features/conference/components/index.web.js b/react/features/conference/components/index.web.jsnew file mode 100644index 0000000000..40d5f46528--- /dev/null+++ b/react/features/conference/components/index.web.js@@ -0,0 +1,3 @@+// @flow++export * from './web';diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/native/Conference.jssimilarity index 94%rename from react/features/conference/components/Conference.native.jsrename to react/features/conference/components/native/Conference.jsindex bc9695d0a0..76df73d0bf 100644--- a/react/features/conference/components/Conference.native.js+++ b/react/features/conference/components/native/Conference.js@@ -5,27 +5,27 @@ import React, { Component } from 'react';import { BackHandler, StatusBar, View } from 'react-native';import { connect as reactReduxConnect } from 'react-redux';-import { appNavigate } from '../../app';-import { connect, disconnect } from '../../base/connection';-import { getParticipantCount } from '../../base/participants';-import { Container, LoadingIndicator, TintedView } from '../../base/react';+import { appNavigate } from '../../../app';+import { connect, disconnect } from '../../../base/connection';+import { getParticipantCount } from '../../../base/participants';+import { Container, LoadingIndicator, TintedView } from '../../../base/react';import {makeAspectRatioAware-} from '../../base/responsive-ui';-import { TestConnectionInfo } from '../../base/testing';-import { createDesiredLocalTracks } from '../../base/tracks';-import { ConferenceNotification } from '../../calendar-sync';-import { Chat } from '../../chat';+} from '../../../base/responsive-ui';+import { TestConnectionInfo } from '../../../base/testing';+import { createDesiredLocalTracks } from '../../../base/tracks';+import { ConferenceNotification } from '../../../calendar-sync';+import { Chat } from '../../../chat';import {Filmstrip,isFilmstripVisible,TileView-} from '../../filmstrip';-import { LargeVideo } from '../../large-video';-import { CalleeInfoContainer } from '../../invite';-import { Captions } from '../../subtitles';-import { setToolboxVisible, Toolbox } from '../../toolbox';-import { shouldDisplayTileView } from '../../video-layout';+} from '../../../filmstrip';+import { LargeVideo } from '../../../large-video';+import { CalleeInfoContainer } from '../../../invite';+import { Captions } from '../../../subtitles';+import { setToolboxVisible, Toolbox } from '../../../toolbox';+import { shouldDisplayTileView } from '../../../video-layout';import DisplayNameLabel from './DisplayNameLabel';import styles from './styles';diff --git a/react/features/conference/components/DisplayNameLabel.native.js b/react/features/conference/components/native/DisplayNameLabel.jssimilarity index 95%rename from react/features/conference/components/DisplayNameLabel.native.jsrename to react/features/conference/components/native/DisplayNameLabel.jsindex bb40328b06..939a337ce8 100644--- a/react/features/conference/components/DisplayNameLabel.native.js+++ b/react/features/conference/components/native/DisplayNameLabel.js@@ -8,9 +8,9 @@ import {getLocalParticipant,getParticipantDisplayName,shouldRenderParticipantVideo-} from '../../base/participants';+} from '../../../base/participants';-import { shouldDisplayTileView } from '../../video-layout';+import { shouldDisplayTileView } from '../../../video-layout';import styles from './styles';diff --git a/react/features/conference/components/index.js b/react/features/conference/components/native/index.jssimilarity index 100%rename from react/features/conference/components/index.jsrename to react/features/conference/components/native/index.jsdiff --git a/react/features/conference/components/styles.js b/react/features/conference/components/native/styles.jssimilarity index 97%rename from react/features/conference/components/styles.jsrename to react/features/conference/components/native/styles.jsindex 2eebaaaaca..1a9da1c0be 100644--- a/react/features/conference/components/styles.js+++ b/react/features/conference/components/native/styles.js@@ -3,7 +3,7 @@ import {ColorPalette,createStyleSheet,fixAndroidViewClipping-} from '../../base/styles';+} from '../../../base/styles';/*** The styles of the feature conference.diff --git a/react/features/conference/components/Conference.web.js b/react/features/conference/components/web/Conference.jssimilarity index 92%rename from react/features/conference/components/Conference.web.jsrename to react/features/conference/components/web/Conference.jsindex b36b838236..8d6d1920dd 100644--- a/react/features/conference/components/Conference.web.js+++ b/react/features/conference/components/web/Conference.js@@ -4,31 +4,32 @@ import _ from 'lodash';import React, { Component } from 'react';import { connect as reactReduxConnect } from 'react-redux';-import VideoLayout from '../../../../modules/UI/videolayout/VideoLayout';--import { obtainConfig } from '../../base/config';-import { connect, disconnect } from '../../base/connection';-import { translate } from '../../base/i18n';-import { Chat } from '../../chat';-import { Filmstrip } from '../../filmstrip';-import { CalleeInfoContainer } from '../../invite';-import { LargeVideo } from '../../large-video';-import { NotificationsContainer } from '../../notifications';+import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';++import { obtainConfig } from '../../../base/config';+import { connect, disconnect } from '../../../base/connection';+import { translate } from '../../../base/i18n';+import { Chat } from '../../../chat';+import { Filmstrip } from '../../../filmstrip';+import { CalleeInfoContainer } from '../../../invite';+import { LargeVideo } from '../../../large-video';+import { NotificationsContainer } from '../../../notifications';import {LAYOUTS,getCurrentLayout,shouldDisplayTileView-} from '../../video-layout';+} from '../../../video-layout';-import { default as Notice } from './Notice';import {Toolbox,fullScreenChanged,setToolboxAlwaysVisible,showToolbox-} from '../../toolbox';+} from '../../../toolbox';++import { maybeShowSuboptimalExperienceNotification } from '../../functions';-import { maybeShowSuboptimalExperienceNotification } from '../functions';+import { default as Notice } from './Notice';declare var APP: Object;declare var config: Object;diff --git a/react/features/conference/components/Notice.web.js b/react/features/conference/components/web/Notice.jssimilarity index 95%rename from react/features/conference/components/Notice.web.jsrename to react/features/conference/components/web/Notice.jsindex acaee877b0..77620e22af 100644--- a/react/features/conference/components/Notice.web.js+++ b/react/features/conference/components/web/Notice.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import { translate } from '../../base/i18n';+import { translate } from '../../../base/i18n';declare var config: Object;diff --git a/react/features/conference/components/web/index.js b/react/features/conference/components/web/index.jsnew file mode 100644index 0000000000..0910dcaff3--- /dev/null+++ b/react/features/conference/components/web/index.js@@ -0,0 +1,3 @@+// @flow++export { default as Conference } from './Conference';