Browse Source

Approach consistent filmstrip naming

We seemed to be using the names "film strip" and "filmstrip" (and,
consequently, their source code-conscious forms such as film-strip,
FilmStrip, etc.) In order to comply with our coding style which requires
a consistent one name for a given abstraction, choose one name and
rename the uses of the other name.

Wikipedia has a definition of a "filmstrip", I couldn't find a "film
strip". I guess our abstraction can be seen as what's described there.
When I google "film strip", I get results about "filmstrip" at the top.
That's why I chose "filmstrip".

Certain uses of "film strip" such as interfaceConfig.filmStripOnly and
in the external API I left untouched in an attempt to preserve
compatibility.

I wasn't sure whether CSS was tangled in compatibility so I made a
choice and renamed there was well.
master
Lyubo Marinov 7 years ago
parent
commit
a9bdde193d
33 changed files with 192 additions and 187 deletions
  1. 2
    2
      css/overlay/_overlay.scss
  2. 1
    1
      css/themes/_light.scss
  3. 2
    2
      doc/api.md
  4. 1
    1
      modules/API/API.js
  5. 2
    2
      modules/API/external/external_api.js
  6. 27
    27
      modules/FollowMe.js
  7. 15
    15
      modules/UI/UI.js
  8. 2
    2
      modules/UI/etherpad/Etherpad.js
  9. 2
    2
      modules/UI/shared_video/SharedVideo.js
  10. 51
    51
      modules/UI/videolayout/Filmstrip.js
  11. 2
    2
      modules/UI/videolayout/VideoContainer.js
  12. 5
    5
      modules/UI/videolayout/VideoLayout.js
  13. 3
    3
      react/features/conference/components/Conference.native.js
  14. 0
    1
      react/features/film-strip/components/index.js
  15. 10
    10
      react/features/filmstrip/components/Filmstrip.js
  16. 1
    1
      react/features/filmstrip/components/Thumbnail.js
  17. 0
    0
      react/features/filmstrip/components/_.native.js
  18. 1
    0
      react/features/filmstrip/components/index.js
  19. 0
    0
      react/features/filmstrip/components/native/AudioMutedIndicator.js
  20. 0
    0
      react/features/filmstrip/components/native/DominantSpeakerIndicator.js
  21. 0
    0
      react/features/filmstrip/components/native/ModeratorIndicator.js
  22. 0
    0
      react/features/filmstrip/components/native/VideoMutedIndicator.js
  23. 0
    0
      react/features/filmstrip/components/native/index.js
  24. 1
    1
      react/features/filmstrip/components/native/styles.js
  25. 5
    5
      react/features/filmstrip/components/styles.js
  26. 0
    0
      react/features/filmstrip/index.js
  27. 4
    4
      react/features/overlay/components/FilmstripOnlyOverlayFrame.js
  28. 23
    18
      react/features/overlay/components/OverlayContainer.js
  29. 3
    3
      react/features/overlay/components/OverlayFrame.js
  30. 6
    6
      react/features/overlay/components/PageReloadFilmstripOnlyOverlay.js
  31. 6
    6
      react/features/overlay/components/SuspendedFilmstripOnlyOverlay.js
  32. 6
    6
      react/features/overlay/components/UserMediaPermissionsFilmstripOnlyOverlay.js
  33. 11
    11
      service/UI/UIEvents.js

+ 2
- 2
css/overlay/_overlay.scss View File

@@ -9,14 +9,14 @@
9 9
         z-index: $overlayZ;
10 10
         background: $defaultBackground;
11 11
         &.filmstrip-only {
12
-            @include transparentBg($filmStripOnlyOverlayBg, 0.8);
12
+            @include transparentBg($filmstripOnlyOverlayBg, 0.8);
13 13
         }
14 14
     }
15 15
 
16 16
     &__container-light {
17 17
         @include transparentBg($defaultBackground, 0.7);
18 18
         &.filmstrip-only {
19
-            @include transparentBg($filmStripOnlyOverlayBg, 0.2);
19
+            @include transparentBg($filmstripOnlyOverlayBg, 0.2);
20 20
         }
21 21
     }
22 22
 

+ 1
- 1
css/themes/_light.scss View File

@@ -41,7 +41,7 @@ $overlayButtonBg: #0074E0;
41 41
 * Color variables
42 42
 **/
43 43
 $defaultBackground: #474747;
44
-$filmStripOnlyOverlayBg: #000;
44
+$filmstripOnlyOverlayBg: #000;
45 45
 $reloadProgressBarBg: #0074E0;
46 46
 
47 47
 /**

+ 2
- 2
doc/api.md View File

@@ -44,7 +44,7 @@ var api = new JitsiMeetExternalAPI(domain, room, width, height, htmlElement);
44 44
 ```
45 45
 
46 46
 You can overwrite options set in [config.js] and [interface_config.js].
47
-For example, to enable the film-strip-only interface mode, you can use:
47
+For example, to enable the filmstrip-only interface mode, you can use:
48 48
 
49 49
 ```javascript
50 50
 var interfaceConfigOverwrite = {filmStripOnly: true};
@@ -84,7 +84,7 @@ api.executeCommand('toggleAudio')
84 84
 api.executeCommand('toggleVideo')
85 85
 ```
86 86
 
87
-* **toggleFilmStrip** - Hides / shows the film strip. No arguments are required.
87
+* **toggleFilmStrip** - Hides / shows the filmstrip. No arguments are required.
88 88
 ```javascript
89 89
 api.executeCommand('toggleFilmStrip')
90 90
 ```

+ 1
- 1
modules/API/API.js View File

@@ -49,7 +49,7 @@ function initCommands() {
49 49
             APP.conference.changeLocalDisplayName.bind(APP.conference),
50 50
         "toggle-audio": APP.conference.toggleAudioMuted.bind(APP.conference),
51 51
         "toggle-video": APP.conference.toggleVideoMuted.bind(APP.conference),
52
-        "toggle-film-strip": APP.UI.toggleFilmStrip,
52
+        "toggle-film-strip": APP.UI.toggleFilmstrip,
53 53
         "toggle-chat": APP.UI.toggleChat,
54 54
         "toggle-contact-list": APP.UI.toggleContactList,
55 55
         "toggle-share-screen":

+ 2
- 2
modules/API/external/external_api.js View File

@@ -337,7 +337,7 @@ class JitsiMeetExternalAPI extends EventEmitter {
337 337
      * passed in the arguments array.
338 338
      * toggleAudio - mutes / unmutes audio with no arguments.
339 339
      * toggleVideo - mutes / unmutes video with no arguments.
340
-     * filmStrip - hides / shows the film strip with no arguments.
340
+     * toggleFilmStrip - hides / shows the filmstrip with no arguments.
341 341
      * If the command doesn't require any arguments the parameter should be set
342 342
      * to empty array or it may be omitted.
343 343
      *
@@ -362,7 +362,7 @@ class JitsiMeetExternalAPI extends EventEmitter {
362 362
      * passed in the arguments array.
363 363
      * toggleAudio - mutes / unmutes audio. no arguments
364 364
      * toggleVideo - mutes / unmutes video. no arguments
365
-     * filmStrip - hides / shows the film strip. no arguments
365
+     * toggleFilmStrip - hides / shows the filmstrip. no arguments
366 366
      * toggleChat - hides / shows chat. no arguments.
367 367
      * toggleContactList - hides / shows contact list. no arguments.
368 368
      * toggleShareScreen - starts / stops screen sharing. no arguments.

+ 27
- 27
modules/FollowMe.js View File

@@ -54,13 +54,13 @@ class State {
54 54
         this._propertyChangeCallback = propertyChangeCallback;
55 55
     }
56 56
 
57
-    get filmStripVisible () { return this._filmStripVisible; }
57
+    get filmstripVisible () { return this._filmstripVisible; }
58 58
 
59
-    set filmStripVisible (b) {
60
-        var oldValue = this._filmStripVisible;
59
+    set filmstripVisible (b) {
60
+        var oldValue = this._filmstripVisible;
61 61
         if (oldValue !== b) {
62
-            this._filmStripVisible = b;
63
-            this._firePropertyChange('filmStripVisible', oldValue, b);
62
+            this._filmstripVisible = b;
63
+            this._firePropertyChange('filmstripVisible', oldValue, b);
64 64
         }
65 65
     }
66 66
 
@@ -102,7 +102,7 @@ class State {
102 102
 
103 103
 /**
104 104
  * Represents the "Follow Me" feature which enables a moderator to
105
- * (partially) control the user experience/interface (e.g. film strip
105
+ * (partially) control the user experience/interface (e.g. filmstrip
106 106
  * visibility) of (other) non-moderator particiapnts.
107 107
  *
108 108
  * @author Lyubomir Marinov
@@ -143,7 +143,7 @@ class FollowMe {
143 143
      * @private
144 144
      */
145 145
     _setFollowMeInitialState() {
146
-        this._filmStripToggled.bind(this, this._UI.isFilmStripVisible());
146
+        this._filmstripToggled.bind(this, this._UI.isFilmstripVisible());
147 147
 
148 148
         var pinnedId = VideoLayout.getPinnedId();
149 149
         var isPinned = false;
@@ -169,9 +169,9 @@ class FollowMe {
169 169
      * @private
170 170
      */
171 171
     _addFollowMeListeners () {
172
-        this.filmStripEventHandler = this._filmStripToggled.bind(this);
173
-        this._UI.addListener(UIEvents.TOGGLED_FILM_STRIP,
174
-                            this.filmStripEventHandler);
172
+        this.filmstripEventHandler = this._filmstripToggled.bind(this);
173
+        this._UI.addListener(UIEvents.TOGGLED_FILMSTRIP,
174
+                            this.filmstripEventHandler);
175 175
 
176 176
         var self = this;
177 177
         this.pinnedEndpointEventHandler = function (smallVideo, isPinned) {
@@ -190,8 +190,8 @@ class FollowMe {
190 190
      * @private
191 191
      */
192 192
     _removeFollowMeListeners () {
193
-        this._UI.removeListener(UIEvents.TOGGLED_FILM_STRIP,
194
-                                this.filmStripEventHandler);
193
+        this._UI.removeListener(UIEvents.TOGGLED_FILMSTRIP,
194
+                                this.filmstripEventHandler);
195 195
         this._UI.removeListener(UIEvents.TOGGLED_SHARED_DOCUMENT,
196 196
                                 this.sharedDocEventHandler);
197 197
         this._UI.removeListener(UIEvents.PINNED_ENDPOINT,
@@ -214,14 +214,14 @@ class FollowMe {
214 214
     }
215 215
 
216 216
     /**
217
-     * Notifies this instance that the (visibility of the) film strip was
217
+     * Notifies this instance that the (visibility of the) filmstrip was
218 218
      * toggled (in the user interface of the local participant).
219 219
      *
220
-     * @param filmStripVisible {Boolean} {true} if the film strip was shown (as
221
-     * a result of the toggle) or {false} if the film strip was hidden
220
+     * @param filmstripVisible {Boolean} {true} if the filmstrip was shown (as a
221
+     * result of the toggle) or {false} if the filmstrip was hidden
222 222
      */
223
-    _filmStripToggled (filmStripVisible) {
224
-        this._local.filmStripVisible = filmStripVisible;
223
+    _filmstripToggled (filmstripVisible) {
224
+        this._local.filmstripVisible = filmstripVisible;
225 225
     }
226 226
 
227 227
     /**
@@ -279,7 +279,7 @@ class FollowMe {
279 279
                 _COMMAND,
280 280
                 {
281 281
                     attributes: {
282
-                        filmStripVisible: local.filmStripVisible,
282
+                        filmstripVisible: local.filmstripVisible,
283 283
                         nextOnStage: local.nextOnStage,
284 284
                         sharedDocumentVisible: local.sharedDocumentVisible
285 285
                     }
@@ -316,32 +316,32 @@ class FollowMe {
316 316
 
317 317
         // Applies the received/remote command to the user experience/interface
318 318
         // of the local participant.
319
-        this._onFilmStripVisible(attributes.filmStripVisible);
319
+        this._onFilmstripVisible(attributes.filmstripVisible);
320 320
         this._onNextOnStage(attributes.nextOnStage);
321 321
         this._onSharedDocumentVisible(attributes.sharedDocumentVisible);
322 322
     }
323 323
 
324 324
     /**
325
-     * Process a film strip open / close event received from FOLLOW-ME
325
+     * Process a filmstrip open / close event received from FOLLOW-ME
326 326
      * command.
327
-     * @param filmStripVisible indicates if the film strip has been shown or
327
+     * @param filmstripVisible indicates if the filmstrip has been shown or
328 328
      * hidden
329 329
      * @private
330 330
      */
331
-    _onFilmStripVisible(filmStripVisible) {
332
-        if (typeof filmStripVisible !== 'undefined') {
331
+    _onFilmstripVisible(filmstripVisible) {
332
+        if (typeof filmstripVisible !== 'undefined') {
333 333
             // XXX The Command(s) API doesn't preserve the types (of
334 334
             // attributes, at least) at the time of this writing so take into
335 335
             // account that what originated as a Boolean may be a String on
336 336
             // receipt.
337
-            filmStripVisible = (filmStripVisible == 'true');
337
+            filmstripVisible = (filmstripVisible == 'true');
338 338
 
339 339
             // FIXME The UI (module) very likely doesn't (want to) expose its
340 340
             // eventEmitter as a public field. I'm not sure at the time of this
341
-            // writing whether calling UI.toggleFilmStrip() is acceptable (from
341
+            // writing whether calling UI.toggleFilmstrip() is acceptable (from
342 342
             // a design standpoint) either.
343
-            if (filmStripVisible !== this._UI.isFilmStripVisible())
344
-                this._UI.eventEmitter.emit(UIEvents.TOGGLE_FILM_STRIP);
343
+            if (filmstripVisible !== this._UI.isFilmstripVisible())
344
+                this._UI.eventEmitter.emit(UIEvents.TOGGLE_FILMSTRIP);
345 345
         }
346 346
     }
347 347
 

+ 15
- 15
modules/UI/UI.js View File

@@ -15,7 +15,7 @@ import SharedVideoManager from './shared_video/SharedVideo';
15 15
 import Recording from "./recording/Recording";
16 16
 
17 17
 import VideoLayout from "./videolayout/VideoLayout";
18
-import FilmStrip from "./videolayout/FilmStrip";
18
+import Filmstrip from "./videolayout/Filmstrip";
19 19
 import SettingsMenu from "./side_pannels/settings/SettingsMenu";
20 20
 import Profile from "./side_pannels/profile/Profile";
21 21
 import Settings from "./../settings/Settings";
@@ -258,7 +258,7 @@ UI.mucJoined = function () {
258 258
 /***
259 259
  * Handler for toggling filmstrip
260 260
  */
261
-UI.handleToggleFilmStrip = () => UI.toggleFilmStrip();
261
+UI.handleToggleFilmstrip = () => UI.toggleFilmstrip();
262 262
 
263 263
 /**
264 264
  * Sets tooltip defaults.
@@ -300,7 +300,7 @@ UI.start = function () {
300 300
     _setTooltipDefaults();
301 301
 
302 302
     SideContainerToggler.init(eventEmitter);
303
-    FilmStrip.init(eventEmitter);
303
+    Filmstrip.init(eventEmitter);
304 304
 
305 305
     VideoLayout.init(eventEmitter);
306 306
     if (!interfaceConfig.filmStripOnly) {
@@ -323,7 +323,7 @@ UI.start = function () {
323 323
     } else {
324 324
         $("body").addClass("filmstrip-only");
325 325
         UI.showToolbar();
326
-        FilmStrip.setFilmStripOnly();
326
+        Filmstrip.setFilmstripOnly();
327 327
         messageHandler.enableNotifications(false);
328 328
         JitsiPopover.enabled = false;
329 329
     }
@@ -575,19 +575,19 @@ UI.updateUserRole = user => {
575 575
 UI.toggleSmileys = () => Chat.toggleSmileys();
576 576
 
577 577
 /**
578
- * Toggles film strip.
578
+ * Toggles filmstrip.
579 579
  */
580
-UI.toggleFilmStrip = function () {
581
-    var self = FilmStrip;
582
-    self.toggleFilmStrip.apply(self, arguments);
580
+UI.toggleFilmstrip = function () {
581
+    var self = Filmstrip;
582
+    self.toggleFilmstrip.apply(self, arguments);
583 583
     VideoLayout.resizeVideoArea(true, false);
584 584
 };
585 585
 
586 586
 /**
587
- * Indicates if the film strip is currently visible or not.
588
- * @returns {true} if the film strip is currently visible, otherwise
587
+ * Indicates if the filmstrip is currently visible or not.
588
+ * @returns {true} if the filmstrip is currently visible, otherwise
589 589
  */
590
-UI.isFilmStripVisible = () => FilmStrip.isFilmStripVisible();
590
+UI.isFilmstripVisible = () => Filmstrip.isFilmstripVisible();
591 591
 
592 592
 /**
593 593
  * Toggles chat panel.
@@ -1336,13 +1336,13 @@ UI.setMicrophoneButtonEnabled
1336 1336
 
1337 1337
 UI.showRingOverlay = function () {
1338 1338
     RingOverlay.show(APP.tokenData.callee, interfaceConfig.DISABLE_RINGING);
1339
-    FilmStrip.toggleFilmStrip(false, false);
1339
+    Filmstrip.toggleFilmstrip(false, false);
1340 1340
 };
1341 1341
 
1342 1342
 UI.hideRingOverLay = function () {
1343 1343
     if (!RingOverlay.hide())
1344 1344
         return;
1345
-    FilmStrip.toggleFilmStrip(true, false);
1345
+    Filmstrip.toggleFilmstrip(true, false);
1346 1346
 };
1347 1347
 
1348 1348
 /**
@@ -1391,8 +1391,8 @@ const UIListeners = new Map([
1391 1391
         UIEvents.TOGGLE_PROFILE,
1392 1392
         () => APP.tokenData.isGuest && UI.toggleSidePanel("profile_container")
1393 1393
     ], [
1394
-        UIEvents.TOGGLE_FILM_STRIP,
1395
-        UI.handleToggleFilmStrip
1394
+        UIEvents.TOGGLE_FILMSTRIP,
1395
+        UI.handleToggleFilmstrip
1396 1396
     ], [
1397 1397
         UIEvents.FOLLOW_ME_ENABLED,
1398 1398
         enabled => (followMeHandler && followMeHandler.enableFollowMe(enabled))

+ 2
- 2
modules/UI/etherpad/Etherpad.js View File

@@ -3,7 +3,7 @@
3 3
 import VideoLayout from "../videolayout/VideoLayout";
4 4
 import LargeContainer from '../videolayout/LargeContainer';
5 5
 import UIEvents from "../../../service/UI/UIEvents";
6
-import FilmStrip from '../videolayout/FilmStrip';
6
+import Filmstrip from '../videolayout/Filmstrip';
7 7
 
8 8
 /**
9 9
  * Etherpad options.
@@ -103,7 +103,7 @@ class Etherpad extends LargeContainer {
103 103
 
104 104
     // eslint-disable-next-line no-unused-vars
105 105
     resize (containerWidth, containerHeight, animate) {
106
-        let height = containerHeight - FilmStrip.getFilmStripHeight();
106
+        let height = containerHeight - Filmstrip.getFilmstripHeight();
107 107
         let width = containerWidth;
108 108
 
109 109
         $(this.iframe).width(width).height(height);

+ 2
- 2
modules/UI/shared_video/SharedVideo.js View File

@@ -8,7 +8,7 @@ import UIEvents from '../../../service/UI/UIEvents';
8 8
 import VideoLayout from "../videolayout/VideoLayout";
9 9
 import LargeContainer from '../videolayout/LargeContainer';
10 10
 import SmallVideo from '../videolayout/SmallVideo';
11
-import FilmStrip from '../videolayout/FilmStrip';
11
+import Filmstrip from '../videolayout/Filmstrip';
12 12
 
13 13
 import { dockToolbox, showToolbox } from '../../../react/features/toolbox';
14 14
 
@@ -606,7 +606,7 @@ class SharedVideoContainer extends LargeContainer {
606 606
     }
607 607
 
608 608
     resize (containerWidth, containerHeight) {
609
-        let height = containerHeight - FilmStrip.getFilmStripHeight();
609
+        let height = containerHeight - Filmstrip.getFilmstripHeight();
610 610
 
611 611
         let width = containerWidth;
612 612
 

modules/UI/videolayout/FilmStrip.js → modules/UI/videolayout/Filmstrip.js View File

@@ -3,38 +3,38 @@
3 3
 import UIEvents from "../../../service/UI/UIEvents";
4 4
 import UIUtil from "../util/UIUtil";
5 5
 
6
-const FilmStrip = {
6
+const Filmstrip = {
7 7
     /**
8 8
      *
9
-     * @param eventEmitter the {EventEmitter} through which {FilmStrip} is to
10
-     * emit/fire {UIEvents} (such as {UIEvents.TOGGLED_FILM_STRIP}).
9
+     * @param eventEmitter the {EventEmitter} through which {Filmstrip} is to
10
+     * emit/fire {UIEvents} (such as {UIEvents.TOGGLED_FILMSTRIP}).
11 11
      */
12 12
     init (eventEmitter) {
13 13
         this.iconMenuDownClassName = 'icon-menu-down';
14 14
         this.iconMenuUpClassName = 'icon-menu-up';
15
-        this.filmStripContainerClassName = 'filmstrip';
16
-        this.filmStrip = $('#remoteVideos');
15
+        this.filmstripContainerClassName = 'filmstrip';
16
+        this.filmstrip = $('#remoteVideos');
17 17
         this.eventEmitter = eventEmitter;
18
-        this._initFilmStripToolbar();
18
+        this._initFilmstripToolbar();
19 19
         this.registerListeners();
20 20
     },
21 21
 
22 22
     /**
23 23
      * Initializes the filmstrip toolbar.
24 24
      */
25
-    _initFilmStripToolbar() {
26
-        // Do not show the toggle button in film strip only mode.
25
+    _initFilmstripToolbar() {
26
+        // Do not show the toggle button in filmstrip only mode.
27 27
         if (interfaceConfig.filmStripOnly)
28 28
             return;
29 29
 
30 30
         let toolbarContainerHTML = this._generateToolbarHTML();
31
-        let className = this.filmStripContainerClassName;
31
+        let className = this.filmstripContainerClassName;
32 32
         let container = document.querySelector(`.${className}`);
33 33
 
34 34
         UIUtil.prependChild(container, toolbarContainerHTML);
35 35
 
36
-        let iconSelector = '#toggleFilmStripButton i';
37
-        this.toggleFilmStripIcon = document.querySelector(iconSelector);
36
+        let iconSelector = '#toggleFilmstripButton i';
37
+        this.toggleFilmstripIcon = document.querySelector(iconSelector);
38 38
     },
39 39
 
40 40
     /**
@@ -44,10 +44,10 @@ const FilmStrip = {
44 44
      */
45 45
     _generateToolbarHTML() {
46 46
         let container = document.createElement('div');
47
-        let isVisible = this.isFilmStripVisible();
47
+        let isVisible = this.isFilmstripVisible();
48 48
         container.className = 'filmstrip__toolbar';
49 49
         container.innerHTML = `
50
-            <button id="toggleFilmStripButton">
50
+            <button id="toggleFilmstripButton">
51 51
                 <i class="icon-menu-${isVisible ? 'down' : 'up'}">
52 52
                 </i>
53 53
             </button>
@@ -64,8 +64,8 @@ const FilmStrip = {
64 64
         // Firing the event instead of executing toggleFilmstrip method because
65 65
         // it's important to hide the filmstrip by UI.toggleFilmstrip in order
66 66
         // to correctly resize the video area.
67
-        $('#toggleFilmStripButton').on('click',
68
-            () => this.eventEmitter.emit(UIEvents.TOGGLE_FILM_STRIP));
67
+        $('#toggleFilmstripButton').on('click',
68
+            () => this.eventEmitter.emit(UIEvents.TOGGLE_FILMSTRIP));
69 69
 
70 70
         this._registerToggleFilmstripShortcut();
71 71
     },
@@ -82,7 +82,7 @@ const FilmStrip = {
82 82
         // Firing the event instead of executing toggleFilmstrip method because
83 83
         // it's important to hide the filmstrip by UI.toggleFilmstrip in order
84 84
         // to correctly resize the video area.
85
-        let handler = () => this.eventEmitter.emit(UIEvents.TOGGLE_FILM_STRIP);
85
+        let handler = () => this.eventEmitter.emit(UIEvents.TOGGLE_FILMSTRIP);
86 86
 
87 87
         APP.keyboardshortcut.registerShortcut(
88 88
             shortcut,
@@ -96,7 +96,7 @@ const FilmStrip = {
96 96
      * Changes classes of icon for showing down state
97 97
      */
98 98
     showMenuDownIcon() {
99
-        let icon = this.toggleFilmStripIcon;
99
+        let icon = this.toggleFilmstripIcon;
100 100
         if(icon) {
101 101
             icon.classList.add(this.iconMenuDownClassName);
102 102
             icon.classList.remove(this.iconMenuUpClassName);
@@ -107,7 +107,7 @@ const FilmStrip = {
107 107
      * Changes classes of icon for showing up state
108 108
      */
109 109
     showMenuUpIcon() {
110
-        let icon = this.toggleFilmStripIcon;
110
+        let icon = this.toggleFilmstripIcon;
111 111
         if(icon) {
112 112
             icon.classList.add(this.iconMenuUpClassName);
113 113
             icon.classList.remove(this.iconMenuDownClassName);
@@ -115,10 +115,10 @@ const FilmStrip = {
115 115
     },
116 116
 
117 117
     /**
118
-     * Toggles the visibility of the film strip.
118
+     * Toggles the visibility of the filmstrip.
119 119
      *
120 120
      * @param visible optional {Boolean} which specifies the desired visibility
121
-     * of the film strip. If not specified, the visibility will be flipped
121
+     * of the filmstrip. If not specified, the visibility will be flipped
122 122
      * (i.e. toggled); otherwise, the visibility will be set to the specified
123 123
      * value.
124 124
      * @param {Boolean} sendAnalytics - True to send an analytics event. The
@@ -129,17 +129,17 @@ const FilmStrip = {
129 129
      * It's important to hide the filmstrip with UI.toggleFilmstrip in order
130 130
      * to correctly resize the video area.
131 131
      */
132
-    toggleFilmStrip(visible, sendAnalytics = true) {
132
+    toggleFilmstrip(visible, sendAnalytics = true) {
133 133
         const isVisibleDefined = typeof visible === 'boolean';
134 134
         if (!isVisibleDefined) {
135
-            visible = this.isFilmStripVisible();
136
-        } else if (this.isFilmStripVisible() === visible) {
135
+            visible = this.isFilmstripVisible();
136
+        } else if (this.isFilmstripVisible() === visible) {
137 137
             return;
138 138
         }
139 139
         if (sendAnalytics) {
140 140
             JitsiMeetJS.analytics.sendEvent('toolbar.filmstrip.toggled');
141 141
         }
142
-        this.filmStrip.toggleClass("hidden");
142
+        this.filmstrip.toggleClass("hidden");
143 143
 
144 144
         if (visible) {
145 145
             this.showMenuUpIcon();
@@ -147,12 +147,12 @@ const FilmStrip = {
147 147
             this.showMenuDownIcon();
148 148
         }
149 149
 
150
-        // Emit/fire UIEvents.TOGGLED_FILM_STRIP.
150
+        // Emit/fire UIEvents.TOGGLED_FILMSTRIP.
151 151
         const eventEmitter = this.eventEmitter;
152 152
         if (eventEmitter) {
153 153
             eventEmitter.emit(
154
-                UIEvents.TOGGLED_FILM_STRIP,
155
-                this.isFilmStripVisible());
154
+                UIEvents.TOGGLED_FILMSTRIP,
155
+                this.isFilmstripVisible());
156 156
         }
157 157
     },
158 158
 
@@ -160,24 +160,24 @@ const FilmStrip = {
160 160
      * Shows if filmstrip is visible
161 161
      * @returns {boolean}
162 162
      */
163
-    isFilmStripVisible() {
164
-        return !this.filmStrip.hasClass('hidden');
163
+    isFilmstripVisible() {
164
+        return !this.filmstrip.hasClass('hidden');
165 165
     },
166 166
 
167 167
     /**
168
-     * Adjusts styles for film-strip only mode.
168
+     * Adjusts styles for filmstrip-only mode.
169 169
      */
170
-    setFilmStripOnly() {
171
-        this.filmStrip.addClass('filmstrip__videos-filmstripOnly');
170
+    setFilmstripOnly() {
171
+        this.filmstrip.addClass('filmstrip__videos-filmstripOnly');
172 172
     },
173 173
 
174 174
     /**
175 175
      * Returns the height of filmstrip
176 176
      * @returns {number} height
177 177
      */
178
-    getFilmStripHeight() {
179
-        if (this.isFilmStripVisible()) {
180
-            return $(`.${this.filmStripContainerClassName}`).outerHeight();
178
+    getFilmstripHeight() {
179
+        if (this.isFilmstripVisible()) {
180
+            return $(`.${this.filmstripContainerClassName}`).outerHeight();
181 181
         } else {
182 182
             return 0;
183 183
         }
@@ -187,10 +187,10 @@ const FilmStrip = {
187 187
      * Returns the width of filmstip
188 188
      * @returns {number} width
189 189
      */
190
-    getFilmStripWidth() {
191
-        return this.filmStrip.innerWidth()
192
-            - parseInt(this.filmStrip.css('paddingLeft'), 10)
193
-            - parseInt(this.filmStrip.css('paddingRight'), 10);
190
+    getFilmstripWidth() {
191
+        return this.filmstrip.innerWidth()
192
+            - parseInt(this.filmstrip.css('paddingLeft'), 10)
193
+            - parseInt(this.filmstrip.css('paddingRight'), 10);
194 194
     },
195 195
 
196 196
     /**
@@ -220,17 +220,17 @@ const FilmStrip = {
220 220
 
221 221
         /**
222 222
          * If the videoAreaAvailableWidth is set we use this one to calculate
223
-         * the filmStrip width, because we're probably in a state where the
224
-         * film strip size hasn't been updated yet, but it will be.
223
+         * the filmstrip width, because we're probably in a state where the
224
+         * filmstrip size hasn't been updated yet, but it will be.
225 225
          */
226 226
         let videoAreaAvailableWidth
227 227
             = UIUtil.getAvailableVideoWidth()
228 228
             - this._getFilmstripExtraPanelsWidth()
229
-            - UIUtil.parseCssInt(this.filmStrip.css('right'), 10)
230
-            - UIUtil.parseCssInt(this.filmStrip.css('paddingLeft'), 10)
231
-            - UIUtil.parseCssInt(this.filmStrip.css('paddingRight'), 10)
232
-            - UIUtil.parseCssInt(this.filmStrip.css('borderLeftWidth'), 10)
233
-            - UIUtil.parseCssInt(this.filmStrip.css('borderRightWidth'), 10)
229
+            - UIUtil.parseCssInt(this.filmstrip.css('right'), 10)
230
+            - UIUtil.parseCssInt(this.filmstrip.css('paddingLeft'), 10)
231
+            - UIUtil.parseCssInt(this.filmstrip.css('paddingRight'), 10)
232
+            - UIUtil.parseCssInt(this.filmstrip.css('borderLeftWidth'), 10)
233
+            - UIUtil.parseCssInt(this.filmstrip.css('borderRightWidth'), 10)
234 234
             - 5;
235 235
 
236 236
         let availableWidth = videoAreaAvailableWidth;
@@ -297,7 +297,7 @@ const FilmStrip = {
297 297
      * @private
298 298
      */
299 299
     _getFilmstripExtraPanelsWidth() {
300
-        let className = this.filmStripContainerClassName;
300
+        let className = this.filmstripContainerClassName;
301 301
         let width = 0;
302 302
         $(`.${className}`)
303 303
             .children()
@@ -405,7 +405,7 @@ const FilmStrip = {
405 405
                 }));
406 406
             }
407 407
             promises.push(new Promise((resolve) => {
408
-                this.filmStrip.animate({
408
+                this.filmstrip.animate({
409 409
                     // adds 2 px because of small video 1px border
410 410
                     height: remote.thumbHeight + 2
411 411
                 }, this._getAnimateOptions(animate, resolve));
@@ -415,7 +415,7 @@ const FilmStrip = {
415 415
                 let { localThumb } = this.getThumbs();
416 416
                 let height = localThumb.height();
417 417
                 let fontSize = UIUtil.getIndicatorFontSize(height);
418
-                this.filmStrip.find('.indicator').animate({
418
+                this.filmstrip.find('.indicator').animate({
419 419
                     fontSize
420 420
                 }, this._getAnimateOptions(animate, resolve));
421 421
             }));
@@ -455,7 +455,7 @@ const FilmStrip = {
455 455
         }
456 456
 
457 457
         let localThumb = $("#localVideoContainer");
458
-        let remoteThumbs = this.filmStrip.children(selector)
458
+        let remoteThumbs = this.filmstrip.children(selector)
459 459
             .not("#localVideoContainer");
460 460
 
461 461
         // Exclude the local video container if it has been hidden.
@@ -467,4 +467,4 @@ const FilmStrip = {
467 467
     }
468 468
 };
469 469
 
470
-export default FilmStrip;
470
+export default Filmstrip;

+ 2
- 2
modules/UI/videolayout/VideoContainer.js View File

@@ -1,7 +1,7 @@
1 1
 /* global $, APP, interfaceConfig */
2 2
 /* jshint -W101 */
3 3
 
4
-import FilmStrip from './FilmStrip';
4
+import Filmstrip from './Filmstrip';
5 5
 import LargeContainer from './LargeContainer';
6 6
 import UIEvents from "../../../service/UI/UIEvents";
7 7
 import UIUtil from "../util/UIUtil";
@@ -48,7 +48,7 @@ function getDesktopVideoSize(videoWidth,
48 48
     let availableWidth = Math.max(videoWidth, videoSpaceWidth);
49 49
     let availableHeight = Math.max(videoHeight, videoSpaceHeight);
50 50
 
51
-    videoSpaceHeight -= FilmStrip.getFilmStripHeight();
51
+    videoSpaceHeight -= Filmstrip.getFilmstripHeight();
52 52
 
53 53
     if (availableWidth / aspectRatio >= videoSpaceHeight) {
54 54
         availableHeight = videoSpaceHeight;

+ 5
- 5
modules/UI/videolayout/VideoLayout.js View File

@@ -1,7 +1,7 @@
1 1
 /* global APP, $, interfaceConfig */
2 2
 const logger = require("jitsi-meet-logger").getLogger(__filename);
3 3
 
4
-import FilmStrip from "./FilmStrip";
4
+import Filmstrip from "./Filmstrip";
5 5
 import UIEvents from "../../../service/UI/UIEvents";
6 6
 import UIUtil from "../util/UIUtil";
7 7
 
@@ -270,7 +270,7 @@ var VideoLayout = {
270 270
     electLastVisibleVideo () {
271 271
         // pick the last visible video in the row
272 272
         // if nobody else is left, this picks the local video
273
-        let remoteThumbs = FilmStrip.getThumbs(true).remoteThumbs;
273
+        let remoteThumbs = Filmstrip.getThumbs(true).remoteThumbs;
274 274
         let thumbs = remoteThumbs.filter('[id!="mixedstream"]');
275 275
 
276 276
         let lastVisible = thumbs.filter(':visible:last');
@@ -285,7 +285,7 @@ var VideoLayout = {
285 285
         }
286 286
 
287 287
         logger.info("Last visible video no longer exists");
288
-        thumbs = FilmStrip.getThumbs().remoteThumbs;
288
+        thumbs = Filmstrip.getThumbs().remoteThumbs;
289 289
         if (thumbs.length) {
290 290
             let id = getPeerContainerResourceId(thumbs[0]);
291 291
             if (remoteVideos[id]) {
@@ -530,9 +530,9 @@ var VideoLayout = {
530 530
                         forceUpdate = false,
531 531
                         onComplete = null) {
532 532
         const { localVideo, remoteVideo }
533
-            = FilmStrip.calculateThumbnailSize();
533
+            = Filmstrip.calculateThumbnailSize();
534 534
 
535
-        FilmStrip.resizeThumbnails(localVideo, remoteVideo,
535
+        Filmstrip.resizeThumbnails(localVideo, remoteVideo,
536 536
             animate, forceUpdate)
537 537
             .then(function () {
538 538
                 if (onComplete && typeof onComplete === "function")

+ 3
- 3
react/features/conference/components/Conference.native.js View File

@@ -4,7 +4,7 @@ import { connect as reactReduxConnect } from 'react-redux';
4 4
 import { connect, disconnect } from '../../base/connection';
5 5
 import { DialogContainer } from '../../base/dialog';
6 6
 import { Container } from '../../base/react';
7
-import { FilmStrip } from '../../film-strip';
7
+import { Filmstrip } from '../../filmstrip';
8 8
 import { LargeVideo } from '../../large-video';
9 9
 import { setToolboxVisible, Toolbox } from '../../toolbox';
10 10
 
@@ -133,7 +133,7 @@ class Conference extends Component {
133 133
                 <LargeVideo />
134 134
 
135 135
                 <Toolbox />
136
-                <FilmStrip />
136
+                <Filmstrip />
137 137
 
138 138
                 <DialogContainer />
139 139
             </Container>
@@ -155,7 +155,7 @@ class Conference extends Component {
155 155
 
156 156
     /**
157 157
      * Changes the value of the toolboxVisible state, thus allowing us to switch
158
-     * between Toolbox and FilmStrip and change their visibility.
158
+     * between Toolbox and Filmstrip and change their visibility.
159 159
      *
160 160
      * @private
161 161
      * @returns {void}

+ 0
- 1
react/features/film-strip/components/index.js View File

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

react/features/film-strip/components/FilmStrip.js → react/features/filmstrip/components/Filmstrip.js View File

@@ -8,13 +8,13 @@ import Thumbnail from './Thumbnail';
8 8
 import { styles } from './_';
9 9
 
10 10
 /**
11
- * React component for film strip.
11
+ * React component for filmstrip.
12 12
  *
13 13
  * @extends Component
14 14
  */
15
-class FilmStrip extends Component {
15
+class Filmstrip extends Component {
16 16
     /**
17
-     * FilmStrip component's property types.
17
+     * Filmstrip component's property types.
18 18
      *
19 19
      * @static
20 20
      */
@@ -28,7 +28,7 @@ class FilmStrip extends Component {
28 28
         _participants: React.PropTypes.array,
29 29
 
30 30
         /**
31
-         * The indicator which determines whether the film strip is visible.
31
+         * The indicator which determines whether the filmstrip is visible.
32 32
          *
33 33
          * @private
34 34
          * @type {boolean}
@@ -44,13 +44,13 @@ class FilmStrip extends Component {
44 44
     render() {
45 45
         return (
46 46
             <Container
47
-                style = { styles.filmStrip }
47
+                style = { styles.filmstrip }
48 48
                 visible = { this.props._visible }>
49 49
                 <ScrollView
50 50
 
51 51
                     // eslint-disable-next-line react/jsx-curly-spacing
52 52
                     contentContainerStyle = {
53
-                        styles.filmStripScrollViewContentContainer
53
+                        styles.filmstripScrollViewContentContainer
54 54
                     } // eslint-disable-line react/jsx-curly-spacing
55 55
                     horizontal = { true }
56 56
                     showsHorizontalScrollIndicator = { false }
@@ -123,10 +123,10 @@ function _mapStateToProps(state) {
123 123
         _participants: state['features/base/participants'],
124 124
 
125 125
         /**
126
-         * The indicator which determines whether the film strip is visible.
126
+         * The indicator which determines whether the filmstrip is visible.
127 127
          *
128
-         * XXX The React Component FilmStrip is used on mobile only at the time
129
-         * of this writing and on mobile the film strip is visible when the
128
+         * XXX The React Component Filmstrip is used on mobile only at the time
129
+         * of this writing and on mobile the filmstrip is visible when the
130 130
          * toolbar is not.
131 131
          *
132 132
          * @private
@@ -136,4 +136,4 @@ function _mapStateToProps(state) {
136 136
     };
137 137
 }
138 138
 
139
-export default connect(_mapStateToProps)(FilmStrip);
139
+export default connect(_mapStateToProps)(Filmstrip);

react/features/film-strip/components/Thumbnail.js → react/features/filmstrip/components/Thumbnail.js View File

@@ -145,7 +145,7 @@ class Thumbnail extends Component {
145 145
  */
146 146
 function _mapStateToProps(state, ownProps) {
147 147
     // We need read-only access to the state of features/large-video so that the
148
-    // film strip doesn't render the video of the participant who is rendered on
148
+    // filmstrip doesn't render the video of the participant who is rendered on
149 149
     // the stage i.e. as a large video.
150 150
     const largeVideo = state['features/large-video'];
151 151
     const tracks = state['features/base/tracks'];

react/features/film-strip/components/_.native.js → react/features/filmstrip/components/_.native.js View File


+ 1
- 0
react/features/filmstrip/components/index.js View File

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

react/features/film-strip/components/native/AudioMutedIndicator.js → react/features/filmstrip/components/native/AudioMutedIndicator.js View File


react/features/film-strip/components/native/DominantSpeakerIndicator.js → react/features/filmstrip/components/native/DominantSpeakerIndicator.js View File


react/features/film-strip/components/native/ModeratorIndicator.js → react/features/filmstrip/components/native/ModeratorIndicator.js View File


react/features/film-strip/components/native/VideoMutedIndicator.js → react/features/filmstrip/components/native/VideoMutedIndicator.js View File


react/features/film-strip/components/native/index.js → react/features/filmstrip/components/native/index.js View File


react/features/film-strip/components/native/styles.js → react/features/filmstrip/components/native/styles.js View File

@@ -15,7 +15,7 @@ const indicator = {
15 15
 };
16 16
 
17 17
 /**
18
- * Native-specific styles for the film strip.
18
+ * Native-specific styles for the filmstrip.
19 19
  */
20 20
 export const styles = createStyleSheet(platformIndependentStyles, {
21 21
 

react/features/film-strip/components/styles.js → react/features/filmstrip/components/styles.js View File

@@ -1,7 +1,7 @@
1 1
 import { BoxModel, ColorPalette } from '../../base/styles';
2 2
 
3 3
 /**
4
- * Film strip related styles common to both Web and native.
4
+ * Filmstrip related styles common to both Web and native.
5 5
  */
6 6
 export const styles = {
7 7
     /**
@@ -25,9 +25,9 @@ export const styles = {
25 25
     },
26 26
 
27 27
     /**
28
-     * The style of the Container which represents the very film strip.
28
+     * The style of the Container which represents the very filmstrip.
29 29
      */
30
-    filmStrip: {
30
+    filmstrip: {
31 31
         alignItems: 'flex-end',
32 32
         alignSelf: 'stretch',
33 33
         bottom: BoxModel.margin,
@@ -40,10 +40,10 @@ export const styles = {
40 40
 
41 41
     /**
42 42
      * The style of the content container of the ScrollView which is placed
43
-     * inside filmStrip and which contains the participants' thumbnails in order
43
+     * inside filmstrip and which contains the participants' thumbnails in order
44 44
      * to allow scrolling through them if they do not fit within the display.
45 45
      */
46
-    filmStripScrollViewContentContainer: {
46
+    filmstripScrollViewContentContainer: {
47 47
         paddingHorizontal: BoxModel.padding
48 48
     },
49 49
 

react/features/film-strip/index.js → react/features/filmstrip/index.js View File


react/features/overlay/components/FilmStripOnlyOverlayFrame.js → react/features/overlay/components/FilmstripOnlyOverlayFrame.js View File

@@ -13,9 +13,9 @@ import OverlayFrame from './OverlayFrame';
13 13
  * Implements a React Component for the frame of the overlays in filmstrip only
14 14
  * mode.
15 15
  */
16
-class FilmStripOnlyOverlayFrame extends Component {
16
+class FilmstripOnlyOverlayFrame extends Component {
17 17
     /**
18
-     * FilmStripOnlyOverlayFrame component's property types.
18
+     * FilmstripOnlyOverlayFrame component's property types.
19 19
      *
20 20
      * @static
21 21
      */
@@ -105,7 +105,7 @@ class FilmStripOnlyOverlayFrame extends Component {
105 105
 }
106 106
 
107 107
 /**
108
- * Maps (parts of) the Redux state to the associated FilmStripOnlyOverlayFrame
108
+ * Maps (parts of) the Redux state to the associated FilmstripOnlyOverlayFrame
109 109
  * props.
110 110
  *
111 111
  * @param {Object} state - The Redux state.
@@ -130,4 +130,4 @@ function _mapStateToProps(state) {
130 130
     };
131 131
 }
132 132
 
133
-export default connect(_mapStateToProps)(FilmStripOnlyOverlayFrame);
133
+export default connect(_mapStateToProps)(FilmstripOnlyOverlayFrame);

+ 23
- 18
react/features/overlay/components/OverlayContainer.js View File

@@ -1,12 +1,12 @@
1 1
 import React, { Component } from 'react';
2 2
 import { connect } from 'react-redux';
3 3
 
4
-import PageReloadFilmStripOnlyOverlay from './PageReloadFilmStripOnlyOverlay';
4
+import PageReloadFilmstripOnlyOverlay from './PageReloadFilmstripOnlyOverlay';
5 5
 import PageReloadOverlay from './PageReloadOverlay';
6
-import SuspendedFilmStripOnlyOverlay from './SuspendedFilmStripOnlyOverlay';
6
+import SuspendedFilmstripOnlyOverlay from './SuspendedFilmstripOnlyOverlay';
7 7
 import SuspendedOverlay from './SuspendedOverlay';
8
-import UserMediaPermissionsFilmStripOnlyOverlay
9
-    from './UserMediaPermissionsFilmStripOnlyOverlay';
8
+import UserMediaPermissionsFilmstripOnlyOverlay
9
+    from './UserMediaPermissionsFilmstripOnlyOverlay';
10 10
 import UserMediaPermissionsOverlay from './UserMediaPermissionsOverlay';
11 11
 
12 12
 declare var APP: Object;
@@ -108,13 +108,14 @@ class OverlayContainer extends Component {
108 108
      */
109 109
     constructor(props) {
110 110
         super(props);
111
+
111 112
         this.state = {
112 113
             /**
113
-             * Indicates whether the film strip only mode is enabled or not.
114
+             * Indicates whether the filmstrip only mode is enabled or not.
114 115
              *
115 116
              * @type {boolean}
116 117
              */
117
-            filmStripOnly: interfaceConfig.filmStripOnly
118
+            filmstripOnly: interfaceConfig.filmStripOnly
118 119
         };
119 120
     }
120 121
 
@@ -141,31 +142,35 @@ class OverlayContainer extends Component {
141 142
      * @public
142 143
      */
143 144
     render() {
144
-        const filmStripOnlyMode = this.state.filmStripOnly;
145
+        const { filmstripOnly } = this.state;
145 146
         let overlayComponent, props;
146 147
 
147 148
         if (this.props._connectionEstablished && this.props._haveToReload) {
148
-            overlayComponent = filmStripOnlyMode
149
-                ? PageReloadFilmStripOnlyOverlay : PageReloadOverlay;
149
+            overlayComponent
150
+                = filmstripOnly
151
+                    ? PageReloadFilmstripOnlyOverlay
152
+                    : PageReloadOverlay;
150 153
             props = {
151 154
                 isNetworkFailure: this.props._isNetworkFailure,
152 155
                 reason: this.props._reason
153 156
             };
154 157
         } else if (this.props._suspendDetected) {
155
-            overlayComponent = filmStripOnlyMode
156
-                ? SuspendedFilmStripOnlyOverlay : SuspendedOverlay;
158
+            overlayComponent
159
+                = filmstripOnly
160
+                    ? SuspendedFilmstripOnlyOverlay
161
+                    : SuspendedOverlay;
157 162
         } else if (this.props._isMediaPermissionPromptVisible) {
158
-            overlayComponent = filmStripOnlyMode
159
-                ? UserMediaPermissionsFilmStripOnlyOverlay
163
+            overlayComponent
164
+                = filmstripOnly
165
+                    ? UserMediaPermissionsFilmstripOnlyOverlay
160 166
                     : UserMediaPermissionsOverlay;
161 167
             props = { browser: this.props._browser };
162 168
         }
163 169
 
164
-        if (overlayComponent) {
165
-            return React.createElement(overlayComponent, props);
166
-        }
167
-
168
-        return null;
170
+        return (
171
+            overlayComponent
172
+                ? React.createElement(overlayComponent, props)
173
+                : null);
169 174
     }
170 175
 }
171 176
 

+ 3
- 3
react/features/overlay/components/OverlayFrame.js View File

@@ -38,11 +38,11 @@ export default class OverlayFrame extends Component {
38 38
 
39 39
         this.state = {
40 40
             /**
41
-             * Indicates whether the film strip only mode is enabled or not.
41
+             * Indicates whether the filmstrip only mode is enabled or not.
42 42
              *
43 43
              * @type {boolean}
44 44
              */
45
-            filmStripOnly: interfaceConfig.filmStripOnly
45
+            filmstripOnly: interfaceConfig.filmStripOnly
46 46
         };
47 47
     }
48 48
 
@@ -57,7 +57,7 @@ export default class OverlayFrame extends Component {
57 57
             ? 'overlay__container-light' : 'overlay__container';
58 58
         let contentClass = 'overlay__content';
59 59
 
60
-        if (this.state.filmStripOnly) {
60
+        if (this.state.filmstripOnly) {
61 61
             containerClass += ' filmstrip-only';
62 62
             contentClass += ' filmstrip-only';
63 63
         }

react/features/overlay/components/PageReloadFilmStripOnlyOverlay.js → react/features/overlay/components/PageReloadFilmstripOnlyOverlay.js View File

@@ -3,16 +3,16 @@ import React from 'react';
3 3
 import { translate } from '../../base/i18n';
4 4
 
5 5
 import AbstractPageReloadOverlay from './AbstractPageReloadOverlay';
6
-import FilmStripOnlyOverlayFrame from './FilmStripOnlyOverlayFrame';
6
+import FilmstripOnlyOverlayFrame from './FilmstripOnlyOverlayFrame';
7 7
 
8 8
 /**
9 9
  * Implements a React Component for page reload overlay for filmstrip only
10 10
  * mode. Shown before the conference is reloaded. Shows a warning message and
11 11
  * counts down towards the reload.
12 12
  */
13
-class PageReloadFilmStripOnlyOverlay extends AbstractPageReloadOverlay {
13
+class PageReloadFilmstripOnlyOverlay extends AbstractPageReloadOverlay {
14 14
     /**
15
-     * PageReloadFilmStripOnlyOverlay component's property types.
15
+     * PageReloadFilmstripOnlyOverlay component's property types.
16 16
      *
17 17
      * @static
18 18
      */
@@ -39,7 +39,7 @@ class PageReloadFilmStripOnlyOverlay extends AbstractPageReloadOverlay {
39 39
         const { message, timeLeft, title } = this.state;
40 40
 
41 41
         return (
42
-            <FilmStripOnlyOverlayFrame>
42
+            <FilmstripOnlyOverlayFrame>
43 43
                 <div className = 'inlay-filmstrip-only__container'>
44 44
                     <div className = 'inlay-filmstrip-only__title'>
45 45
                         { t(title) }
@@ -54,9 +54,9 @@ class PageReloadFilmStripOnlyOverlay extends AbstractPageReloadOverlay {
54 54
                 {
55 55
                     this._renderProgressBar()
56 56
                 }
57
-            </FilmStripOnlyOverlayFrame>
57
+            </FilmstripOnlyOverlayFrame>
58 58
         );
59 59
     }
60 60
 }
61 61
 
62
-export default translate(PageReloadFilmStripOnlyOverlay);
62
+export default translate(PageReloadFilmstripOnlyOverlay);

react/features/overlay/components/SuspendedFilmStripOnlyOverlay.js → react/features/overlay/components/SuspendedFilmstripOnlyOverlay.js View File

@@ -2,16 +2,16 @@ import React, { Component } from 'react';
2 2
 
3 3
 import { translate, translateToHTML } from '../../base/i18n';
4 4
 
5
-import FilmStripOnlyOverlayFrame from './FilmStripOnlyOverlayFrame';
5
+import FilmstripOnlyOverlayFrame from './FilmstripOnlyOverlayFrame';
6 6
 import ReloadButton from './ReloadButton';
7 7
 
8 8
 /**
9 9
  * Implements a React Component for suspended overlay for filmstrip only mode.
10 10
  * Shown when suspended is detected.
11 11
  */
12
-class SuspendedFilmStripOnlyOverlay extends Component {
12
+class SuspendedFilmstripOnlyOverlay extends Component {
13 13
     /**
14
-     * SuspendedFilmStripOnlyOverlay component's property types.
14
+     * SuspendedFilmstripOnlyOverlay component's property types.
15 15
      *
16 16
      * @static
17 17
      */
@@ -35,7 +35,7 @@ class SuspendedFilmStripOnlyOverlay extends Component {
35 35
         const { t } = this.props;
36 36
 
37 37
         return (
38
-            <FilmStripOnlyOverlayFrame isLightOverlay = { true }>
38
+            <FilmstripOnlyOverlayFrame isLightOverlay = { true }>
39 39
                 <div className = 'inlay-filmstrip-only__container'>
40 40
                     <div className = 'inlay-filmstrip-only__title'>
41 41
                         { t('suspendedoverlay.title') }
@@ -45,9 +45,9 @@ class SuspendedFilmStripOnlyOverlay extends Component {
45 45
                     </div>
46 46
                 </div>
47 47
                 <ReloadButton textKey = 'suspendedoverlay.rejoinKeyTitle' />
48
-            </FilmStripOnlyOverlayFrame>
48
+            </FilmstripOnlyOverlayFrame>
49 49
         );
50 50
     }
51 51
 }
52 52
 
53
-export default translate(SuspendedFilmStripOnlyOverlay);
53
+export default translate(SuspendedFilmstripOnlyOverlay);

react/features/overlay/components/UserMediaPermissionsFilmStripOnlyOverlay.js → react/features/overlay/components/UserMediaPermissionsFilmstripOnlyOverlay.js View File

@@ -2,15 +2,15 @@ import React, { Component } from 'react';
2 2
 
3 3
 import { translate, translateToHTML } from '../../base/i18n';
4 4
 
5
-import FilmStripOnlyOverlayFrame from './FilmStripOnlyOverlayFrame';
5
+import FilmstripOnlyOverlayFrame from './FilmstripOnlyOverlayFrame';
6 6
 
7 7
 /**
8 8
  * Implements a React Component for overlay with guidance how to proceed with
9 9
  * gUM prompt. This component will be displayed only for filmstrip only mode.
10 10
  */
11
-class UserMediaPermissionsFilmStripOnlyOverlay extends Component {
11
+class UserMediaPermissionsFilmstripOnlyOverlay extends Component {
12 12
     /**
13
-     * UserMediaPermissionsFilmStripOnlyOverlay component's property types.
13
+     * UserMediaPermissionsFilmstripOnlyOverlay component's property types.
14 14
      *
15 15
      * @static
16 16
      */
@@ -44,7 +44,7 @@ class UserMediaPermissionsFilmStripOnlyOverlay extends Component {
44 44
         const textKey = `userMedia.${this.props.browser}GrantPermissions`;
45 45
 
46 46
         return (
47
-            <FilmStripOnlyOverlayFrame
47
+            <FilmstripOnlyOverlayFrame
48 48
                 icon = 'icon-mic-camera-combined'
49 49
                 isLightOverlay = { true }>
50 50
                 <div className = 'inlay-filmstrip-only__container'>
@@ -60,9 +60,9 @@ class UserMediaPermissionsFilmStripOnlyOverlay extends Component {
60 60
                         }
61 61
                     </div>
62 62
                 </div>
63
-            </FilmStripOnlyOverlayFrame>
63
+            </FilmstripOnlyOverlayFrame>
64 64
         );
65 65
     }
66 66
 }
67 67
 
68
-export default translate(UserMediaPermissionsFilmStripOnlyOverlay);
68
+export default translate(UserMediaPermissionsFilmstripOnlyOverlay);

+ 11
- 11
service/UI/UIEvents.js View File

@@ -45,25 +45,25 @@ export default {
45 45
      */
46 46
     TOGGLE_PROFILE: "UI.toggle_profile",
47 47
     /**
48
-     * Notifies that a command to toggle the film strip has been issued. The
48
+     * Notifies that a command to toggle the filmstrip has been issued. The
49 49
      * event may optionally specify a {Boolean} (primitive) value to assign to
50
-     * the visibility of the film strip (i.e. the event may act as a setter).
51
-     * The very toggling of the film strip may or may not occurred at the time
50
+     * the visibility of the filmstrip (i.e. the event may act as a setter).
51
+     * The very toggling of the filmstrip may or may not occurred at the time
52 52
      * of the receipt of the event depending on the position of the receiving
53 53
      * event listener in relation to the event listener which carries out the
54
-     * command to toggle the film strip.
54
+     * command to toggle the filmstrip.
55 55
      *
56
-     * @see {TOGGLED_FILM_STRIP}
56
+     * @see {TOGGLED_FILMSTRIP}
57 57
      */
58
-    TOGGLE_FILM_STRIP: "UI.toggle_film_strip",
58
+    TOGGLE_FILMSTRIP: "UI.toggle_filmstrip",
59 59
     /**
60
-     * Notifies that the film strip was (actually) toggled. The event supplies
61
-     * a {Boolean} (primitive) value indicating the visibility of the film
62
-     * strip after the toggling (at the time of the event emission).
60
+     * Notifies that the filmstrip was (actually) toggled. The event supplies a
61
+     * {Boolean} (primitive) value indicating the visibility of the filmstrip
62
+     * after the toggling (at the time of the event emission).
63 63
      *
64
-     * @see {TOGGLE_FILM_STRIP}
64
+     * @see {TOGGLE_FILMSTRIP}
65 65
      */
66
-    TOGGLED_FILM_STRIP: "UI.toggled_film_strip",
66
+    TOGGLED_FILMSTRIP: "UI.toggled_filmstrip",
67 67
     TOGGLE_SCREENSHARING: "UI.toggle_screensharing",
68 68
     TOGGLED_SHARED_DOCUMENT: "UI.toggled_shared_document",
69 69
     CONTACT_CLICKED: "UI.contact_clicked",

Loading…
Cancel
Save