Reorganize conference feature files

This commit is contained in:
Bettenbuk Zoltan 2019-01-30 14:05:35 +01:00 committed by Saúl Ibarra Corretgé
parent 33db155eb9
commit d7d9bc4eeb
11 changed files with 42 additions and 32 deletions

View File

@ -0,0 +1,3 @@
// @flow
export * from './native';

View File

@ -0,0 +1,3 @@
// @flow
export * from './web';

View File

@ -5,27 +5,27 @@ import React, { Component } from 'react';
import { BackHandler, StatusBar, View } from 'react-native'; import { BackHandler, StatusBar, View } from 'react-native';
import { connect as reactReduxConnect } from 'react-redux'; import { connect as reactReduxConnect } from 'react-redux';
import { appNavigate } from '../../app'; import { appNavigate } from '../../../app';
import { connect, disconnect } from '../../base/connection'; import { connect, disconnect } from '../../../base/connection';
import { getParticipantCount } from '../../base/participants'; import { getParticipantCount } from '../../../base/participants';
import { Container, LoadingIndicator, TintedView } from '../../base/react'; import { Container, LoadingIndicator, TintedView } from '../../../base/react';
import { import {
makeAspectRatioAware makeAspectRatioAware
} from '../../base/responsive-ui'; } from '../../../base/responsive-ui';
import { TestConnectionInfo } from '../../base/testing'; import { TestConnectionInfo } from '../../../base/testing';
import { createDesiredLocalTracks } from '../../base/tracks'; import { createDesiredLocalTracks } from '../../../base/tracks';
import { ConferenceNotification } from '../../calendar-sync'; import { ConferenceNotification } from '../../../calendar-sync';
import { Chat } from '../../chat'; import { Chat } from '../../../chat';
import { import {
Filmstrip, Filmstrip,
isFilmstripVisible, isFilmstripVisible,
TileView TileView
} from '../../filmstrip'; } from '../../../filmstrip';
import { LargeVideo } from '../../large-video'; import { LargeVideo } from '../../../large-video';
import { CalleeInfoContainer } from '../../invite'; import { CalleeInfoContainer } from '../../../invite';
import { Captions } from '../../subtitles'; import { Captions } from '../../../subtitles';
import { setToolboxVisible, Toolbox } from '../../toolbox'; import { setToolboxVisible, Toolbox } from '../../../toolbox';
import { shouldDisplayTileView } from '../../video-layout'; import { shouldDisplayTileView } from '../../../video-layout';
import DisplayNameLabel from './DisplayNameLabel'; import DisplayNameLabel from './DisplayNameLabel';
import styles from './styles'; import styles from './styles';

View File

@ -8,9 +8,9 @@ import {
getLocalParticipant, getLocalParticipant,
getParticipantDisplayName, getParticipantDisplayName,
shouldRenderParticipantVideo shouldRenderParticipantVideo
} from '../../base/participants'; } from '../../../base/participants';
import { shouldDisplayTileView } from '../../video-layout'; import { shouldDisplayTileView } from '../../../video-layout';
import styles from './styles'; import styles from './styles';

View File

@ -3,7 +3,7 @@ import {
ColorPalette, ColorPalette,
createStyleSheet, createStyleSheet,
fixAndroidViewClipping fixAndroidViewClipping
} from '../../base/styles'; } from '../../../base/styles';
/** /**
* The styles of the feature conference. * The styles of the feature conference.

View File

@ -4,31 +4,32 @@ import _ from 'lodash';
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect as reactReduxConnect } from 'react-redux'; import { connect as reactReduxConnect } from 'react-redux';
import VideoLayout from '../../../../modules/UI/videolayout/VideoLayout'; import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';
import { obtainConfig } from '../../base/config'; import { obtainConfig } from '../../../base/config';
import { connect, disconnect } from '../../base/connection'; import { connect, disconnect } from '../../../base/connection';
import { translate } from '../../base/i18n'; import { translate } from '../../../base/i18n';
import { Chat } from '../../chat'; import { Chat } from '../../../chat';
import { Filmstrip } from '../../filmstrip'; import { Filmstrip } from '../../../filmstrip';
import { CalleeInfoContainer } from '../../invite'; import { CalleeInfoContainer } from '../../../invite';
import { LargeVideo } from '../../large-video'; import { LargeVideo } from '../../../large-video';
import { NotificationsContainer } from '../../notifications'; import { NotificationsContainer } from '../../../notifications';
import { import {
LAYOUTS, LAYOUTS,
getCurrentLayout, getCurrentLayout,
shouldDisplayTileView shouldDisplayTileView
} from '../../video-layout'; } from '../../../video-layout';
import { default as Notice } from './Notice';
import { import {
Toolbox, Toolbox,
fullScreenChanged, fullScreenChanged,
setToolboxAlwaysVisible, setToolboxAlwaysVisible,
showToolbox 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 APP: Object;
declare var config: Object; declare var config: Object;

View File

@ -3,7 +3,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { translate } from '../../base/i18n'; import { translate } from '../../../base/i18n';
declare var config: Object; declare var config: Object;

View File

@ -0,0 +1,3 @@
// @flow
export { default as Conference } from './Conference';