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
Name folders consistently
Lyubomir Marinoveaed9db1e7db
diff --git a/react/features/base/fontIcons/Icon.js b/react/features/base/font-icons/Icon.jssimilarity index 100%rename from react/features/base/fontIcons/Icon.jsrename to react/features/base/font-icons/Icon.jsdiff --git a/react/features/base/fontIcons/index.js b/react/features/base/font-icons/index.jssimilarity index 100%rename from react/features/base/fontIcons/index.jsrename to react/features/base/font-icons/index.jsdiff --git a/react/features/base/fontIcons/jitsi.json b/react/features/base/font-icons/jitsi.jsonsimilarity index 100%rename from react/features/base/fontIcons/jitsi.jsonrename to react/features/base/font-icons/jitsi.jsondiff --git a/react/features/base/media/reducer.js b/react/features/base/media/reducer.jsindex 4b381ff06d..5d0f8dd120 100644--- a/react/features/base/media/reducer.js+++ b/react/features/base/media/reducer.js@@ -9,21 +9,6 @@ import {} from './actionTypes';import { CAMERA_FACING_MODE } from './constants';-/**- * Listen for various actions related to media devices.- *- * @param {Object} state - State of media devices.- * @param {Object} action - Action object.- * @param {string} action.type - Type of action.- * @param {Object} action.media - Information about media devices to be- * modified.- * @returns {Object}- */-ReducerRegistry.register('features/base/media', combineReducers({- audio,- video-}));-/*** Media state object for local audio.*@@ -105,3 +90,18 @@ function video(state = VIDEO_INITIAL_MEDIA_STATE, action) {return state;}}++/**+ * Listen for various actions related to media devices.+ *+ * @param {Object} state - State of media devices.+ * @param {Object} action - Action object.+ * @param {string} action.type - Type of action.+ * @param {Object} action.media - Information about media devices to be+ * modified.+ * @returns {Object}+ */+ReducerRegistry.register('features/base/media', combineReducers({+ audio,+ video+}));diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/Conference.native.jsindex ddf5401a80..b8cf519a2c 100644--- a/react/features/conference/components/Conference.native.js+++ b/react/features/conference/components/Conference.native.js@@ -3,8 +3,8 @@ import { connect as reactReduxConnect } from 'react-redux';import { connect, disconnect } from '../../base/connection';import { Container } from '../../base/react';-import { FilmStrip } from '../../filmStrip';-import { LargeVideo } from '../../largeVideo';+import { FilmStrip } from '../../film-strip';+import { LargeVideo } from '../../large-video';import { RoomLockPrompt } from '../../room-lock';import { Toolbar } from '../../toolbar';diff --git a/react/features/filmStrip/components/FilmStrip.js b/react/features/film-strip/components/FilmStrip.jssimilarity index 100%rename from react/features/filmStrip/components/FilmStrip.jsrename to react/features/film-strip/components/FilmStrip.jsdiff --git a/react/features/filmStrip/components/Thumbnail.js b/react/features/film-strip/components/Thumbnail.jssimilarity index 94%rename from react/features/filmStrip/components/Thumbnail.jsrename to react/features/film-strip/components/Thumbnail.jsindex 76880d7dce..641ae43968 100644--- a/react/features/filmStrip/components/Thumbnail.js+++ b/react/features/film-strip/components/Thumbnail.js@@ -1,14 +1,8 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import {- Audio,- MEDIA_TYPE-} from '../../base/media';-import {- PARTICIPANT_ROLE,- pinParticipant-} from '../../base/participants';+import { Audio, MEDIA_TYPE } from '../../base/media';+import { PARTICIPANT_ROLE, pinParticipant } from '../../base/participants';import { Container } from '../../base/react';import { getTrackByMediaTypeAndParticipant } from '../../base/tracks';import { ParticipantView } from '../../conference';@@ -148,10 +142,10 @@ class Thumbnail extends Component {* }}*/function mapStateToProps(state, ownProps) {- // We need read-only access to the state of features/largeVideo so that the+ // We need read-only access to the state of features/large-video so that the// film strip doesn't render the video of the participant who is rendered on// the stage i.e. as a large video.- const largeVideo = state['features/largeVideo'];+ const largeVideo = state['features/large-video'];const tracks = state['features/base/tracks'];const id = ownProps.participant.id;const audioTrackdiff --git a/react/features/filmStrip/components/_.native.js b/react/features/film-strip/components/_.native.jssimilarity index 100%rename from react/features/filmStrip/components/_.native.jsrename to react/features/film-strip/components/_.native.jsdiff --git a/react/features/filmStrip/components/index.js b/react/features/film-strip/components/index.jssimilarity index 100%rename from react/features/filmStrip/components/index.jsrename to react/features/film-strip/components/index.jsdiff --git a/react/features/filmStrip/components/native/AudioMutedIndicator.js b/react/features/film-strip/components/native/AudioMutedIndicator.jssimilarity index 100%rename from react/features/filmStrip/components/native/AudioMutedIndicator.jsrename to react/features/film-strip/components/native/AudioMutedIndicator.jsdiff --git a/react/features/filmStrip/components/native/DominantSpeakerIndicator.js b/react/features/film-strip/components/native/DominantSpeakerIndicator.jssimilarity index 100%rename from react/features/filmStrip/components/native/DominantSpeakerIndicator.jsrename to react/features/film-strip/components/native/DominantSpeakerIndicator.jsdiff --git a/react/features/filmStrip/components/native/ModeratorIndicator.js b/react/features/film-strip/components/native/ModeratorIndicator.jssimilarity index 100%rename from react/features/filmStrip/components/native/ModeratorIndicator.jsrename to react/features/film-strip/components/native/ModeratorIndicator.jsdiff --git a/react/features/filmStrip/components/native/VideoMutedIndicator.js b/react/features/film-strip/components/native/VideoMutedIndicator.jssimilarity index 100%rename from react/features/filmStrip/components/native/VideoMutedIndicator.jsrename to react/features/film-strip/components/native/VideoMutedIndicator.jsdiff --git a/react/features/filmStrip/components/native/index.js b/react/features/film-strip/components/native/index.jssimilarity index 100%rename from react/features/filmStrip/components/native/index.jsrename to react/features/film-strip/components/native/index.jsdiff --git a/react/features/filmStrip/components/native/styles.js b/react/features/film-strip/components/native/styles.jssimilarity index 100%rename from react/features/filmStrip/components/native/styles.jsrename to react/features/film-strip/components/native/styles.jsdiff --git a/react/features/filmStrip/components/styles.js b/react/features/film-strip/components/styles.jssimilarity index 100%rename from react/features/filmStrip/components/styles.jsrename to react/features/film-strip/components/styles.jsdiff --git a/react/features/filmStrip/index.js b/react/features/film-strip/index.jssimilarity index 100%rename from react/features/filmStrip/index.jsrename to react/features/film-strip/index.jsdiff --git a/react/features/largeVideo/actionTypes.js b/react/features/large-video/actionTypes.jssimilarity index 100%rename from react/features/largeVideo/actionTypes.jsrename to react/features/large-video/actionTypes.jsdiff --git a/react/features/largeVideo/actions.js b/react/features/large-video/actions.jssimilarity index 97%rename from react/features/largeVideo/actions.jsrename to react/features/large-video/actions.jsindex d262c5e270..5d3d233c57 100644--- a/react/features/largeVideo/actions.js+++ b/react/features/large-video/actions.js@@ -20,7 +20,7 @@ export function selectParticipant() {const conference = state['features/base/conference'].conference;if (conference) {- const largeVideo = state['features/largeVideo'];+ const largeVideo = state['features/large-video'];const tracks = state['features/base/tracks'];const id = largeVideo.participantId;@@ -53,7 +53,7 @@ export function selectParticipantInLargeVideo() {return (dispatch, getState) => {const state = getState();const participantId = _electParticipantInLargeVideo(state);- const largeVideo = state['features/largeVideo'];+ const largeVideo = state['features/large-video'];if (participantId !== largeVideo.participantId) {dispatch({diff --git a/react/features/largeVideo/components/LargeVideo.js b/react/features/large-video/components/LargeVideo.jssimilarity index 94%rename from react/features/largeVideo/components/LargeVideo.jsrename to react/features/large-video/components/LargeVideo.jsindex 2a3e57c1c5..a3eda7ec39 100644--- a/react/features/largeVideo/components/LargeVideo.js+++ b/react/features/large-video/components/LargeVideo.js@@ -52,7 +52,7 @@ class LargeVideo extends Component {*/function mapStateToProps(state) {return {- _participantId: state['features/largeVideo'].participantId+ _participantId: state['features/large-video'].participantId};}diff --git a/react/features/largeVideo/components/index.js b/react/features/large-video/components/index.jssimilarity index 100%rename from react/features/largeVideo/components/index.jsrename to react/features/large-video/components/index.jsdiff --git a/react/features/largeVideo/components/styles.js b/react/features/large-video/components/styles.jssimilarity index 100%rename from react/features/largeVideo/components/styles.jsrename to react/features/large-video/components/styles.jsdiff --git a/react/features/largeVideo/index.js b/react/features/large-video/index.jssimilarity index 100%rename from react/features/largeVideo/index.jsrename to react/features/large-video/index.jsdiff --git a/react/features/largeVideo/middleware.js b/react/features/large-video/middleware.jssimilarity index 95%rename from react/features/largeVideo/middleware.jsrename to react/features/large-video/middleware.jsindex 374428096b..b30d646396 100644--- a/react/features/largeVideo/middleware.js+++ b/react/features/large-video/middleware.js@@ -47,7 +47,7 @@ MiddlewareRegistry.register(store => next => action => {= getTrackByJitsiTrack(state['features/base/tracks'],action.track.jitsiTrack);- const participantId = state['features/largeVideo'].participantId;+ const participantId = state['features/large-video'].participantId;(track.participantId === participantId)&& store.dispatch(selectParticipant());diff --git a/react/features/largeVideo/reducer.js b/react/features/large-video/reducer.jssimilarity index 92%rename from react/features/largeVideo/reducer.jsrename to react/features/large-video/reducer.jsindex cad07be394..bf81619d3f 100644--- a/react/features/largeVideo/reducer.js+++ b/react/features/large-video/reducer.js@@ -3,7 +3,7 @@ import { ReducerRegistry } from '../base/redux';import { SELECT_LARGE_VIDEO_PARTICIPANT } from './actionTypes';-ReducerRegistry.register('features/largeVideo', (state = {}, action) => {+ReducerRegistry.register('features/large-video', (state = {}, action) => {switch (action.type) {// When conference is joined, we update ID of local participant from defaultdiff --git a/react/features/toolbar/components/ToolbarButton.native.js b/react/features/toolbar/components/ToolbarButton.native.jsindex 370e32b549..8e51cc1bb6 100644--- a/react/features/toolbar/components/ToolbarButton.native.js+++ b/react/features/toolbar/components/ToolbarButton.native.js@@ -1,7 +1,7 @@import React from 'react';import { TouchableHighlight } from 'react-native';-import { Icon } from '../../base/fontIcons';+import { Icon } from '../../base/font-icons';import AbstractToolbarButton from './AbstractToolbarButton';