소스 검색

Rearrange recording feature files

factor2
Bettenbuk Zoltan 7 년 전
부모
커밋
71edea8aac
40개의 변경된 파일115개의 추가작업 그리고 69개의 파일을 삭제
  1. 4
    2
      react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
  2. 0
    0
      react/features/recording/components/LiveStream/GoogleSigninForm.web.js
  3. 3
    0
      react/features/recording/components/LiveStream/_.native.js
  4. 3
    0
      react/features/recording/components/LiveStream/_.web.js
  5. 3
    3
      react/features/recording/components/LiveStream/index.js
  6. 2
    2
      react/features/recording/components/LiveStream/native/GoogleSigninForm.js
  7. 2
    2
      react/features/recording/components/LiveStream/native/LiveStreamButton.js
  8. 5
    4
      react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
  9. 3
    3
      react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js
  10. 3
    2
      react/features/recording/components/LiveStream/native/StreamKeyForm.js
  11. 1
    1
      react/features/recording/components/LiveStream/native/StreamKeyPicker.js
  12. 5
    0
      react/features/recording/components/LiveStream/native/index.js
  13. 5
    1
      react/features/recording/components/LiveStream/native/styles.js
  14. 0
    0
      react/features/recording/components/LiveStream/styles.web.js
  15. 3
    3
      react/features/recording/components/LiveStream/web/LiveStreamButton.js
  16. 4
    3
      react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js
  17. 2
    2
      react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
  18. 2
    2
      react/features/recording/components/LiveStream/web/StreamKeyForm.js
  19. 1
    1
      react/features/recording/components/LiveStream/web/StreamKeyPicker.js
  20. 5
    0
      react/features/recording/components/LiveStream/web/index.js
  21. 1
    1
      react/features/recording/components/Recording/AbstractRecordButton.js
  22. 3
    0
      react/features/recording/components/Recording/_.native.js
  23. 3
    0
      react/features/recording/components/Recording/_.web.js
  24. 3
    3
      react/features/recording/components/Recording/index.js
  25. 2
    2
      react/features/recording/components/Recording/native/RecordButton.js
  26. 3
    3
      react/features/recording/components/Recording/native/StopRecordingDialog.js
  27. 4
    0
      react/features/recording/components/Recording/native/index.js
  28. 2
    2
      react/features/recording/components/Recording/web/RecordButton.js
  29. 2
    2
      react/features/recording/components/Recording/web/StopRecordingDialog.js
  30. 4
    0
      react/features/recording/components/Recording/web/index.js
  31. 0
    0
      react/features/recording/components/RecordingExpandedLabel.web.js
  32. 3
    0
      react/features/recording/components/_.native.js
  33. 3
    0
      react/features/recording/components/_.web.js
  34. 5
    12
      react/features/recording/components/index.js
  35. 4
    4
      react/features/recording/components/native/RecordingExpandedLabel.js
  36. 5
    4
      react/features/recording/components/native/RecordingLabel.js
  37. 4
    0
      react/features/recording/components/native/index.js
  38. 1
    1
      react/features/recording/components/native/styles.js
  39. 4
    4
      react/features/recording/components/web/RecordingLabel.js
  40. 3
    0
      react/features/recording/components/web/index.js

+ 4
- 2
react/features/recording/components/LiveStream/AbstractLiveStreamButton.js 파일 보기

@@ -10,8 +10,10 @@ import {
10 10
 
11 11
 import { getActiveSession } from '../../functions';
12 12
 
13
-import StartLiveStreamDialog from './StartLiveStreamDialog';
14
-import StopLiveStreamDialog from './StopLiveStreamDialog';
13
+import {
14
+    StartLiveStreamDialog,
15
+    StopLiveStreamDialog
16
+} from './_';
15 17
 
16 18
 /**
17 19
  * The type of the React {@code Component} props of

+ 0
- 0
react/features/recording/components/LiveStream/GoogleSigninForm.web.js 파일 보기


+ 3
- 0
react/features/recording/components/LiveStream/_.native.js 파일 보기

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

+ 3
- 0
react/features/recording/components/LiveStream/_.web.js 파일 보기

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

+ 3
- 3
react/features/recording/components/LiveStream/index.js 파일 보기

@@ -1,3 +1,3 @@
1
-export { default as LiveStreamButton } from './LiveStreamButton';
2
-export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
3
-export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
1
+// @flow
2
+
3
+export * from './_';

react/features/recording/components/LiveStream/GoogleSigninForm.native.js → react/features/recording/components/LiveStream/native/GoogleSigninForm.js 파일 보기

@@ -4,7 +4,7 @@ import React, { Component } from 'react';
4 4
 import { Platform, Text, View } from 'react-native';
5 5
 import { connect } from 'react-redux';
6 6
 
7
-import { translate } from '../../../base/i18n';
7
+import { translate } from '../../../../base/i18n';
8 8
 
9 9
 import {
10 10
     GOOGLE_API_STATES,
@@ -12,7 +12,7 @@ import {
12 12
     googleApi,
13 13
     GoogleSignInButton,
14 14
     setGoogleAPIState
15
-} from '../../../google-api';
15
+} from '../../../../google-api';
16 16
 
17 17
 import styles from './styles';
18 18
 

react/features/recording/components/LiveStream/LiveStreamButton.native.js → react/features/recording/components/LiveStream/native/LiveStreamButton.js 파일 보기

@@ -2,12 +2,12 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6 6
 
7 7
 import AbstractLiveStreamButton, {
8 8
     _mapStateToProps,
9 9
     type Props
10
-} from './AbstractLiveStreamButton';
10
+} from '../AbstractLiveStreamButton';
11 11
 
12 12
 /**
13 13
  * An implementation of a button for starting and stopping live streaming.

react/features/recording/components/LiveStream/StartLiveStreamDialog.native.js → react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js 파일 보기

@@ -4,14 +4,15 @@ import React from 'react';
4 4
 import { View } from 'react-native';
5 5
 import { connect } from 'react-redux';
6 6
 
7
-import { translate } from '../../../base/i18n';
8
-import { googleApi } from '../../../google-api';
7
+import { translate } from '../../../../base/i18n';
8
+import { googleApi } from '../../../../google-api';
9 9
 
10 10
 
11
-import { setLiveStreamKey } from '../../actions';
11
+import { setLiveStreamKey } from '../../../actions';
12 12
 
13 13
 import AbstractStartLiveStreamDialog,
14
-{ _mapStateToProps, type Props } from './AbstractStartLiveStreamDialog';
14
+{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';
15
+
15 16
 import GoogleSigninForm from './GoogleSigninForm';
16 17
 import StreamKeyForm from './StreamKeyForm';
17 18
 import StreamKeyPicker from './StreamKeyPicker';

react/features/recording/components/LiveStream/StopLiveStreamDialog.native.js → react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js 파일 보기

@@ -3,12 +3,12 @@
3 3
 import React from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { DialogContent } from '../../../base/dialog';
7
-import { translate } from '../../../base/i18n';
6
+import { DialogContent } from '../../../../base/dialog';
7
+import { translate } from '../../../../base/i18n';
8 8
 
9 9
 import AbstractStopLiveStreamDialog, {
10 10
     _mapStateToProps
11
-} from './AbstractStopLiveStreamDialog';
11
+} from '../AbstractStopLiveStreamDialog';
12 12
 
13 13
 /**
14 14
  * A React Component for confirming the participant wishes to stop the currently

react/features/recording/components/LiveStream/StreamKeyForm.native.js → react/features/recording/components/LiveStream/native/StreamKeyForm.js 파일 보기

@@ -3,11 +3,12 @@
3 3
 import React from 'react';
4 4
 import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';
5 5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7 7
 
8 8
 import AbstractStreamKeyForm, {
9 9
     type Props
10
-} from './AbstractStreamKeyForm';
10
+} from '../AbstractStreamKeyForm';
11
+
11 12
 import styles from './styles';
12 13
 
13 14
 /**

react/features/recording/components/LiveStream/StreamKeyPicker.native.js → react/features/recording/components/LiveStream/native/StreamKeyPicker.js 파일 보기

@@ -3,7 +3,7 @@
3 3
 import React, { Component } from 'react';
4 4
 import { Text, TouchableHighlight, View } from 'react-native';
5 5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7 7
 
8 8
 import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';
9 9
 

+ 5
- 0
react/features/recording/components/LiveStream/native/index.js 파일 보기

@@ -0,0 +1,5 @@
1
+// @flow
2
+
3
+export { default as LiveStreamButton } from './LiveStreamButton';
4
+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
5
+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';

react/features/recording/components/LiveStream/styles.native.js → react/features/recording/components/LiveStream/native/styles.js 파일 보기

@@ -1,6 +1,10 @@
1 1
 // @flow
2 2
 
3
-import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles';
3
+import {
4
+    BoxModel,
5
+    ColorPalette,
6
+    createStyleSheet
7
+} from '../../../../base/styles';
4 8
 
5 9
 /**
6 10
  * Opacity of the TouchableHighlight.

+ 0
- 0
react/features/recording/components/LiveStream/styles.web.js 파일 보기


react/features/recording/components/LiveStream/LiveStreamButton.web.js → react/features/recording/components/LiveStream/web/LiveStreamButton.js 파일 보기

@@ -3,13 +3,13 @@
3 3
 import React from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { translate } from '../../../base/i18n';
7
-import { Container, Text } from '../../../base/react';
6
+import { translate } from '../../../../base/i18n';
7
+import { Container, Text } from '../../../../base/react';
8 8
 
9 9
 import AbstractLiveStreamButton, {
10 10
     _mapStateToProps as _abstractMapStateToProps,
11 11
     type Props as AbstractProps
12
-} from './AbstractLiveStreamButton';
12
+} from '../AbstractLiveStreamButton';
13 13
 
14 14
 declare var interfaceConfig: Object;
15 15
 

react/features/recording/components/LiveStream/StartLiveStreamDialog.web.js → react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js 파일 보기

@@ -4,7 +4,7 @@ import Spinner from '@atlaskit/spinner';
4 4
 import React from 'react';
5 5
 import { connect } from 'react-redux';
6 6
 
7
-import { translate } from '../../../base/i18n';
7
+import { translate } from '../../../../base/i18n';
8 8
 
9 9
 import {
10 10
     GOOGLE_API_STATES,
@@ -15,12 +15,13 @@ import {
15 15
     showAccountSelection,
16 16
     signIn,
17 17
     updateProfile
18
-} from '../../../google-api';
18
+} from '../../../../google-api';
19 19
 
20 20
 import AbstractStartLiveStreamDialog, {
21 21
     _mapStateToProps as _abstractMapStateToProps,
22 22
     type Props as AbstractProps
23
-} from './AbstractStartLiveStreamDialog';
23
+} from '../AbstractStartLiveStreamDialog';
24
+
24 25
 import StreamKeyPicker from './StreamKeyPicker';
25 26
 import StreamKeyForm from './StreamKeyForm';
26 27
 

react/features/recording/components/LiveStream/StopLiveStreamDialog.web.js → react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js 파일 보기

@@ -2,11 +2,11 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6 6
 
7 7
 import AbstractStopLiveStreamDialog, {
8 8
     _mapStateToProps
9
-} from './AbstractStopLiveStreamDialog';
9
+} from '../AbstractStopLiveStreamDialog';
10 10
 
11 11
 /**
12 12
  * A React Component for confirming the participant wishes to stop the currently

react/features/recording/components/LiveStream/StreamKeyForm.web.js → react/features/recording/components/LiveStream/web/StreamKeyForm.js 파일 보기

@@ -3,11 +3,11 @@
3 3
 import { FieldTextStateless } from '@atlaskit/field-text';
4 4
 import React from 'react';
5 5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7 7
 
8 8
 import AbstractStreamKeyForm, {
9 9
     type Props
10
-} from './AbstractStreamKeyForm';
10
+} from '../AbstractStreamKeyForm';
11 11
 
12 12
 /**
13 13
  * A React Component for entering a key for starting a YouTube live stream.

react/features/recording/components/LiveStream/StreamKeyPicker.web.js → react/features/recording/components/LiveStream/web/StreamKeyPicker.js 파일 보기

@@ -7,7 +7,7 @@ import {
7 7
 } from '@atlaskit/dropdown-menu';
8 8
 import React, { PureComponent } from 'react';
9 9
 
10
-import { translate } from '../../../base/i18n';
10
+import { translate } from '../../../../base/i18n';
11 11
 
12 12
 /**
13 13
  * The type of the React {@code Component} props of {@link StreamKeyPicker}.

+ 5
- 0
react/features/recording/components/LiveStream/web/index.js 파일 보기

@@ -0,0 +1,5 @@
1
+// @flow
2
+
3
+export { default as LiveStreamButton } from './LiveStreamButton';
4
+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
5
+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';

+ 1
- 1
react/features/recording/components/Recording/AbstractRecordButton.js 파일 보기

@@ -19,7 +19,7 @@ import {
19 19
 import { getActiveSession } from '../../functions';
20 20
 
21 21
 import StartRecordingDialog from './StartRecordingDialog';
22
-import StopRecordingDialog from './StopRecordingDialog';
22
+import { StopRecordingDialog } from './_';
23 23
 
24 24
 /**
25 25
  * The type of the React {@code Component} props of

+ 3
- 0
react/features/recording/components/Recording/_.native.js 파일 보기

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

+ 3
- 0
react/features/recording/components/Recording/_.web.js 파일 보기

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

+ 3
- 3
react/features/recording/components/Recording/index.js 파일 보기

@@ -1,3 +1,3 @@
1
-export { default as RecordButton } from './RecordButton';
2
-export { default as StartRecordingDialog } from './StartRecordingDialog';
3
-export { default as StopRecordingDialog } from './StopRecordingDialog';
1
+// @flow
2
+
3
+export * from './_';

react/features/recording/components/Recording/RecordButton.native.js → react/features/recording/components/Recording/native/RecordButton.js 파일 보기

@@ -2,12 +2,12 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6 6
 
7 7
 import AbstractRecordButton, {
8 8
     _mapStateToProps,
9 9
     type Props
10
-} from './AbstractRecordButton';
10
+} from '../AbstractRecordButton';
11 11
 
12 12
 /**
13 13
  * An implementation of a button for starting and stopping recording.

react/features/recording/components/Recording/StopRecordingDialog.native.js → react/features/recording/components/Recording/native/StopRecordingDialog.js 파일 보기

@@ -3,13 +3,13 @@
3 3
 import React from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { DialogContent } from '../../../base/dialog';
7
-import { translate } from '../../../base/i18n';
6
+import { DialogContent } from '../../../../base/dialog';
7
+import { translate } from '../../../../base/i18n';
8 8
 
9 9
 import AbstractStopRecordingDialog, {
10 10
     type Props,
11 11
     _mapStateToProps
12
-} from './AbstractStopRecordingDialog';
12
+} from '../AbstractStopRecordingDialog';
13 13
 
14 14
 /**
15 15
  * React Component for getting confirmation to stop a file recording session in

+ 4
- 0
react/features/recording/components/Recording/native/index.js 파일 보기

@@ -0,0 +1,4 @@
1
+// @flow
2
+
3
+export { default as RecordButton } from './RecordButton';
4
+export { default as StopRecordingDialog } from './StopRecordingDialog';

react/features/recording/components/Recording/RecordButton.web.js → react/features/recording/components/Recording/web/RecordButton.js 파일 보기

@@ -2,12 +2,12 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6 6
 
7 7
 import AbstractRecordButton, {
8 8
     _mapStateToProps as _abstractMapStateToProps,
9 9
     type Props as AbstractProps
10
-} from './AbstractRecordButton';
10
+} from '../AbstractRecordButton';
11 11
 
12 12
 declare var interfaceConfig: Object;
13 13
 

react/features/recording/components/Recording/StopRecordingDialog.web.js → react/features/recording/components/Recording/web/StopRecordingDialog.js 파일 보기

@@ -2,12 +2,12 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6 6
 
7 7
 import AbstractStopRecordingDialog, {
8 8
     type Props,
9 9
     _mapStateToProps
10
-} from './AbstractStopRecordingDialog';
10
+} from '../AbstractStopRecordingDialog';
11 11
 
12 12
 /**
13 13
  * React Component for getting confirmation to stop a file recording session in

+ 4
- 0
react/features/recording/components/Recording/web/index.js 파일 보기

@@ -0,0 +1,4 @@
1
+// @flow
2
+
3
+export { default as RecordButton } from './RecordButton';
4
+export { default as StopRecordingDialog } from './StopRecordingDialog';

+ 0
- 0
react/features/recording/components/RecordingExpandedLabel.web.js 파일 보기


+ 3
- 0
react/features/recording/components/_.native.js 파일 보기

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

+ 3
- 0
react/features/recording/components/_.web.js 파일 보기

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

+ 5
- 12
react/features/recording/components/index.js 파일 보기

@@ -1,12 +1,5 @@
1
-export {
2
-    LiveStreamButton,
3
-    StartLiveStreamDialog,
4
-    StopLiveStreamDialog
5
-} from './LiveStream';
6
-export {
7
-    RecordButton,
8
-    StartRecordingDialog,
9
-    StopRecordingDialog
10
-} from './Recording';
11
-export { default as RecordingLabel } from './RecordingLabel';
12
-export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
1
+// @flow
2
+
3
+export * from './_';
4
+export * from './LiveStream';
5
+export * from './Recording';

react/features/recording/components/RecordingExpandedLabel.native.js → react/features/recording/components/native/RecordingExpandedLabel.js 파일 보기

@@ -2,14 +2,14 @@
2 2
 
3 3
 import { connect } from 'react-redux';
4 4
 
5
-import { translate } from '../../base/i18n';
6
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
5
+import { translate } from '../../../base/i18n';
6
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
7 7
 import {
8 8
     ExpandedLabel,
9 9
     type Props as AbstractProps
10
-} from '../../base/label';
10
+} from '../../../base/label';
11 11
 
12
-import { getSessionStatusToShow } from '../functions';
12
+import { getSessionStatusToShow } from '../../functions';
13 13
 
14 14
 import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';
15 15
 

react/features/recording/components/RecordingLabel.native.js → react/features/recording/components/native/RecordingLabel.js 파일 보기

@@ -3,13 +3,14 @@
3 3
 import React from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { translate } from '../../base/i18n';
7
-import { CircularLabel } from '../../base/label';
8
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
6
+import { translate } from '../../../base/i18n';
7
+import { CircularLabel } from '../../../base/label';
8
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
9 9
 
10 10
 import AbstractRecordingLabel, {
11 11
     _mapStateToProps
12
-} from './AbstractRecordingLabel';
12
+} from '../AbstractRecordingLabel';
13
+
13 14
 import styles from './styles';
14 15
 
15 16
 /**

+ 4
- 0
react/features/recording/components/native/index.js 파일 보기

@@ -0,0 +1,4 @@
1
+// @flow
2
+
3
+export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
4
+export { default as RecordingLabel } from './RecordingLabel';

react/features/recording/components/styles.js → react/features/recording/components/native/styles.js 파일 보기

@@ -1,6 +1,6 @@
1 1
 // @flow
2 2
 
3
-import { ColorPalette, createStyleSheet } from '../../base/styles';
3
+import { ColorPalette, createStyleSheet } from '../../../base/styles';
4 4
 
5 5
 export const LIVE_LABEL_COLOR = ColorPalette.blue;
6 6
 export const REC_LABEL_COLOR = ColorPalette.red;

react/features/recording/components/RecordingLabel.web.js → react/features/recording/components/web/RecordingLabel.js 파일 보기

@@ -3,13 +3,13 @@
3 3
 import React from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { CircularLabel } from '../../base/label';
7
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
8
-import { translate } from '../../base/i18n';
6
+import { CircularLabel } from '../../../base/label';
7
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
8
+import { translate } from '../../../base/i18n';
9 9
 
10 10
 import AbstractRecordingLabel, {
11 11
     _mapStateToProps
12
-} from './AbstractRecordingLabel';
12
+} from '../AbstractRecordingLabel';
13 13
 
14 14
 /**
15 15
  * Implements a React {@link Component} which displays the current state of

+ 3
- 0
react/features/recording/components/web/index.js 파일 보기

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

Loading…
취소
저장