Rearrange recording feature files
This commit is contained in:
parent
2b1cb75e40
commit
71edea8aac
|
@ -10,8 +10,10 @@ import {
|
|||
|
||||
import { getActiveSession } from '../../functions';
|
||||
|
||||
import StartLiveStreamDialog from './StartLiveStreamDialog';
|
||||
import StopLiveStreamDialog from './StopLiveStreamDialog';
|
||||
import {
|
||||
StartLiveStreamDialog,
|
||||
StopLiveStreamDialog
|
||||
} from './_';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './native';
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './web';
|
|
@ -1,3 +1,3 @@
|
|||
export { default as LiveStreamButton } from './LiveStreamButton';
|
||||
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
|
||||
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
|
||||
// @flow
|
||||
|
||||
export * from './_';
|
||||
|
|
|
@ -4,7 +4,7 @@ import React, { Component } from 'react';
|
|||
import { Platform, Text, View } from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import {
|
||||
GOOGLE_API_STATES,
|
||||
|
@ -12,7 +12,7 @@ import {
|
|||
googleApi,
|
||||
GoogleSignInButton,
|
||||
setGoogleAPIState
|
||||
} from '../../../google-api';
|
||||
} from '../../../../google-api';
|
||||
|
||||
import styles from './styles';
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractLiveStreamButton, {
|
||||
_mapStateToProps,
|
||||
type Props
|
||||
} from './AbstractLiveStreamButton';
|
||||
} from '../AbstractLiveStreamButton';
|
||||
|
||||
/**
|
||||
* An implementation of a button for starting and stopping live streaming.
|
|
@ -4,14 +4,15 @@ import React from 'react';
|
|||
import { View } from 'react-native';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { googleApi } from '../../../google-api';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
import { googleApi } from '../../../../google-api';
|
||||
|
||||
|
||||
import { setLiveStreamKey } from '../../actions';
|
||||
import { setLiveStreamKey } from '../../../actions';
|
||||
|
||||
import AbstractStartLiveStreamDialog,
|
||||
{ _mapStateToProps, type Props } from './AbstractStartLiveStreamDialog';
|
||||
{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';
|
||||
|
||||
import GoogleSigninForm from './GoogleSigninForm';
|
||||
import StreamKeyForm from './StreamKeyForm';
|
||||
import StreamKeyPicker from './StreamKeyPicker';
|
|
@ -3,12 +3,12 @@
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { DialogContent } from '../../../base/dialog';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { DialogContent } from '../../../../base/dialog';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStopLiveStreamDialog, {
|
||||
_mapStateToProps
|
||||
} from './AbstractStopLiveStreamDialog';
|
||||
} from '../AbstractStopLiveStreamDialog';
|
||||
|
||||
/**
|
||||
* A React Component for confirming the participant wishes to stop the currently
|
|
@ -3,11 +3,12 @@
|
|||
import React from 'react';
|
||||
import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStreamKeyForm, {
|
||||
type Props
|
||||
} from './AbstractStreamKeyForm';
|
||||
} from '../AbstractStreamKeyForm';
|
||||
|
||||
import styles from './styles';
|
||||
|
||||
/**
|
|
@ -3,7 +3,7 @@
|
|||
import React, { Component } from 'react';
|
||||
import { Text, TouchableHighlight, View } from 'react-native';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
// @flow
|
||||
|
||||
export { default as LiveStreamButton } from './LiveStreamButton';
|
||||
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
|
||||
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
|
|
@ -1,6 +1,10 @@
|
|||
// @flow
|
||||
|
||||
import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles';
|
||||
import {
|
||||
BoxModel,
|
||||
ColorPalette,
|
||||
createStyleSheet
|
||||
} from '../../../../base/styles';
|
||||
|
||||
/**
|
||||
* Opacity of the TouchableHighlight.
|
|
@ -3,13 +3,13 @@
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { Container, Text } from '../../../base/react';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
import { Container, Text } from '../../../../base/react';
|
||||
|
||||
import AbstractLiveStreamButton, {
|
||||
_mapStateToProps as _abstractMapStateToProps,
|
||||
type Props as AbstractProps
|
||||
} from './AbstractLiveStreamButton';
|
||||
} from '../AbstractLiveStreamButton';
|
||||
|
||||
declare var interfaceConfig: Object;
|
||||
|
|
@ -4,7 +4,7 @@ import Spinner from '@atlaskit/spinner';
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import {
|
||||
GOOGLE_API_STATES,
|
||||
|
@ -15,12 +15,13 @@ import {
|
|||
showAccountSelection,
|
||||
signIn,
|
||||
updateProfile
|
||||
} from '../../../google-api';
|
||||
} from '../../../../google-api';
|
||||
|
||||
import AbstractStartLiveStreamDialog, {
|
||||
_mapStateToProps as _abstractMapStateToProps,
|
||||
type Props as AbstractProps
|
||||
} from './AbstractStartLiveStreamDialog';
|
||||
} from '../AbstractStartLiveStreamDialog';
|
||||
|
||||
import StreamKeyPicker from './StreamKeyPicker';
|
||||
import StreamKeyForm from './StreamKeyForm';
|
||||
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStopLiveStreamDialog, {
|
||||
_mapStateToProps
|
||||
} from './AbstractStopLiveStreamDialog';
|
||||
} from '../AbstractStopLiveStreamDialog';
|
||||
|
||||
/**
|
||||
* A React Component for confirming the participant wishes to stop the currently
|
|
@ -3,11 +3,11 @@
|
|||
import { FieldTextStateless } from '@atlaskit/field-text';
|
||||
import React from 'react';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStreamKeyForm, {
|
||||
type Props
|
||||
} from './AbstractStreamKeyForm';
|
||||
} from '../AbstractStreamKeyForm';
|
||||
|
||||
/**
|
||||
* A React Component for entering a key for starting a YouTube live stream.
|
|
@ -7,7 +7,7 @@ import {
|
|||
} from '@atlaskit/dropdown-menu';
|
||||
import React, { PureComponent } from 'react';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of {@link StreamKeyPicker}.
|
|
@ -0,0 +1,5 @@
|
|||
// @flow
|
||||
|
||||
export { default as LiveStreamButton } from './LiveStreamButton';
|
||||
export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
|
||||
export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
|
|
@ -19,7 +19,7 @@ import {
|
|||
import { getActiveSession } from '../../functions';
|
||||
|
||||
import StartRecordingDialog from './StartRecordingDialog';
|
||||
import StopRecordingDialog from './StopRecordingDialog';
|
||||
import { StopRecordingDialog } from './_';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './native';
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './web';
|
|
@ -1,3 +1,3 @@
|
|||
export { default as RecordButton } from './RecordButton';
|
||||
export { default as StartRecordingDialog } from './StartRecordingDialog';
|
||||
export { default as StopRecordingDialog } from './StopRecordingDialog';
|
||||
// @flow
|
||||
|
||||
export * from './_';
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractRecordButton, {
|
||||
_mapStateToProps,
|
||||
type Props
|
||||
} from './AbstractRecordButton';
|
||||
} from '../AbstractRecordButton';
|
||||
|
||||
/**
|
||||
* An implementation of a button for starting and stopping recording.
|
|
@ -3,13 +3,13 @@
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { DialogContent } from '../../../base/dialog';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { DialogContent } from '../../../../base/dialog';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStopRecordingDialog, {
|
||||
type Props,
|
||||
_mapStateToProps
|
||||
} from './AbstractStopRecordingDialog';
|
||||
} from '../AbstractStopRecordingDialog';
|
||||
|
||||
/**
|
||||
* React Component for getting confirmation to stop a file recording session in
|
|
@ -0,0 +1,4 @@
|
|||
// @flow
|
||||
|
||||
export { default as RecordButton } from './RecordButton';
|
||||
export { default as StopRecordingDialog } from './StopRecordingDialog';
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractRecordButton, {
|
||||
_mapStateToProps as _abstractMapStateToProps,
|
||||
type Props as AbstractProps
|
||||
} from './AbstractRecordButton';
|
||||
} from '../AbstractRecordButton';
|
||||
|
||||
declare var interfaceConfig: Object;
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { translate } from '../../../../base/i18n';
|
||||
|
||||
import AbstractStopRecordingDialog, {
|
||||
type Props,
|
||||
_mapStateToProps
|
||||
} from './AbstractStopRecordingDialog';
|
||||
} from '../AbstractStopRecordingDialog';
|
||||
|
||||
/**
|
||||
* React Component for getting confirmation to stop a file recording session in
|
|
@ -0,0 +1,4 @@
|
|||
// @flow
|
||||
|
||||
export { default as RecordButton } from './RecordButton';
|
||||
export { default as StopRecordingDialog } from './StopRecordingDialog';
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './native';
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export * from './web';
|
|
@ -1,12 +1,5 @@
|
|||
export {
|
||||
LiveStreamButton,
|
||||
StartLiveStreamDialog,
|
||||
StopLiveStreamDialog
|
||||
} from './LiveStream';
|
||||
export {
|
||||
RecordButton,
|
||||
StartRecordingDialog,
|
||||
StopRecordingDialog
|
||||
} from './Recording';
|
||||
export { default as RecordingLabel } from './RecordingLabel';
|
||||
export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
|
||||
// @flow
|
||||
|
||||
export * from './_';
|
||||
export * from './LiveStream';
|
||||
export * from './Recording';
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../base/i18n';
|
||||
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||
import {
|
||||
ExpandedLabel,
|
||||
type Props as AbstractProps
|
||||
} from '../../base/label';
|
||||
} from '../../../base/label';
|
||||
|
||||
import { getSessionStatusToShow } from '../functions';
|
||||
import { getSessionStatusToShow } from '../../functions';
|
||||
|
||||
import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';
|
||||
|
|
@ -3,13 +3,14 @@
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { translate } from '../../base/i18n';
|
||||
import { CircularLabel } from '../../base/label';
|
||||
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { CircularLabel } from '../../../base/label';
|
||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||
|
||||
import AbstractRecordingLabel, {
|
||||
_mapStateToProps
|
||||
} from './AbstractRecordingLabel';
|
||||
} from '../AbstractRecordingLabel';
|
||||
|
||||
import styles from './styles';
|
||||
|
||||
/**
|
|
@ -0,0 +1,4 @@
|
|||
// @flow
|
||||
|
||||
export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
|
||||
export { default as RecordingLabel } from './RecordingLabel';
|
|
@ -1,6 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { ColorPalette, createStyleSheet } from '../../base/styles';
|
||||
import { ColorPalette, createStyleSheet } from '../../../base/styles';
|
||||
|
||||
export const LIVE_LABEL_COLOR = ColorPalette.blue;
|
||||
export const REC_LABEL_COLOR = ColorPalette.red;
|
|
@ -3,13 +3,13 @@
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { CircularLabel } from '../../base/label';
|
||||
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
|
||||
import { translate } from '../../base/i18n';
|
||||
import { CircularLabel } from '../../../base/label';
|
||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||
import { translate } from '../../../base/i18n';
|
||||
|
||||
import AbstractRecordingLabel, {
|
||||
_mapStateToProps
|
||||
} from './AbstractRecordingLabel';
|
||||
} from '../AbstractRecordingLabel';
|
||||
|
||||
/**
|
||||
* Implements a React {@link Component} which displays the current state of
|
|
@ -0,0 +1,3 @@
|
|||
// @flow
|
||||
|
||||
export { default as RecordingLabel } from './RecordingLabel';
|
Loading…
Reference in New Issue