Browse Source

chore(interface-config) Group deprecated configs

master
hmuresan 3 years ago
parent
commit
0d42f14dfc
1 changed files with 22 additions and 29 deletions
  1. 22
    29
      interface_config.js

+ 22
- 29
interface_config.js View File

@@ -26,11 +26,6 @@ var interfaceConfig = {
26 26
 
27 27
     CLOSE_PAGE_GUEST_HINT: false, // A html text to be shown to guests on the close page, false disables it
28 28
 
29
-    // Connection indicators (
30
-    // CONNECTION_INDICATOR_AUTO_HIDE_ENABLED,
31
-    // CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT,
32
-    // CONNECTION_INDICATOR_DISABLED) got moved to config.js.
33
-
34 29
     DEFAULT_BACKGROUND: '#474747',
35 30
     DEFAULT_LOCAL_DISPLAY_NAME: 'me',
36 31
     DEFAULT_LOGO_URL: 'images/watermark.svg',
@@ -39,9 +34,6 @@ var interfaceConfig = {
39 34
 
40 35
     DISABLE_DOMINANT_SPEAKER_INDICATOR: false,
41 36
 
42
-    // Deprecated. Please use disableModeratorIndicator from config.js
43
-    // DISABLE_FOCUS_INDICATOR: false,
44
-
45 37
     /**
46 38
      * If true, notifications regarding joining/leaving are no longer displayed.
47 39
      */
@@ -97,11 +89,6 @@ var interfaceConfig = {
97 89
      */
98 90
     HIDE_INVITE_MORE_HEADER: false,
99 91
 
100
-    /**
101
-     * DEPRECATED! Moved to config.js as `toolbarConfig.initialTimeout`.
102
-     */
103
-    // INITIAL_TOOLBAR_TIMEOUT: 20000,
104
-
105 92
     JITSI_WATERMARK_LINK: 'https://jitsi.org',
106 93
 
107 94
     LANG_DETECTION: true, // Allow i18n to detect the system language
@@ -187,22 +174,6 @@ var interfaceConfig = {
187 174
      */
188 175
     SUPPORT_URL: 'https://community.jitsi.org/',
189 176
 
190
-    /**
191
-     * DEPRECATED! Moved to config.js as `toolbarConfig.alwaysVisible`.
192
-     */
193
-    // TOOLBAR_ALWAYS_VISIBLE: false,
194
-
195
-    /**
196
-     * DEPRECATED!
197
-     * This config was moved to config.js as `toolbarButtons`.
198
-     */
199
-    // TOOLBAR_BUTTONS: [],
200
-
201
-    /**
202
-     * DEPRECATED! Moved to config.js as `toolbarConfig.timeout`.
203
-     */
204
-    // TOOLBAR_TIMEOUT: 4000,
205
-
206 177
     // Browsers, in addition to those which do not fully support WebRTC, that
207 178
     // are not supported and should show the unsupported browser page.
208 179
     UNSUPPORTED_BROWSERS: [],
@@ -267,6 +238,28 @@ var interfaceConfig = {
267 238
      PHONE_NUMBER_REGEX
268 239
     */
269 240
 
241
+    // -----------------DEPRECATED CONFIGS BELOW THIS LINE-----------------------------
242
+
243
+    // Connection indicators (
244
+    // CONNECTION_INDICATOR_AUTO_HIDE_ENABLED,
245
+    // CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT,
246
+    // CONNECTION_INDICATOR_DISABLED) got moved to config.js.
247
+
248
+    // Please use disableModeratorIndicator from config.js
249
+    // DISABLE_FOCUS_INDICATOR: false,
250
+
251
+    // Moved to config.js as `toolbarConfig.initialTimeout`.
252
+    // INITIAL_TOOLBAR_TIMEOUT: 20000,
253
+
254
+    // Moved to config.js as `toolbarConfig.alwaysVisible`.
255
+    // TOOLBAR_ALWAYS_VISIBLE: false,
256
+
257
+    // This config was moved to config.js as `toolbarButtons`.
258
+    // TOOLBAR_BUTTONS: [],
259
+
260
+    // Moved to config.js as `toolbarConfig.timeout`.
261
+    // TOOLBAR_TIMEOUT: 4000,
262
+
270 263
     // Allow all above example options to include a trailing comma and
271 264
     // prevent fear when commenting out the last value.
272 265
     // eslint-disable-next-line sort-keys

Loading…
Cancel
Save