Bladeren bron

fix(HelpButton): Improvements.

j8
Hristo Terezov 6 jaren geleden
bovenliggende
commit
ff2626723a
3 gewijzigde bestanden met toevoegingen van 9 en 10 verwijderingen
  1. 7
    8
      config.js
  2. 1
    1
      interface_config.js
  3. 1
    1
      react/features/toolbox/components/HelpButton.js

+ 7
- 8
config.js Bestand weergeven

@@ -419,15 +419,14 @@ var config = {
419 419
     // the menu has option to flip the locally seen video for local presentations
420 420
     // disableLocalVideoFlip: false
421 421
 
422
-    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
423
-    // user documentation.
424
-    // userDocumentationURL: 'https://docs.example.com/video-meetings.html'
425
-
426
-    // URLs meant to be opened in different windows.
422
+    // Deployment specific URLs.
427 423
     // deploymentUrls: {
428
-    //  // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
429
-    //  // to the specified URL for an app download page.
430
-    //  downloadAppsUrl: 'https://docs.example.com/our-apps.html'
424
+    //    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for
425
+    //    // user documentation.
426
+    //    userDocumentationURL: 'https://docs.example.com/video-meetings.html',
427
+    //    // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
428
+    //    // to the specified URL for an app download page.
429
+    //    downloadAppsUrl: 'https://docs.example.com/our-apps.html'
431 430
     // }
432 431
 
433 432
     // List of undocumented settings used in jitsi-meet

+ 1
- 1
interface_config.js Bestand weergeven

@@ -51,7 +51,7 @@ var interfaceConfig = {
51 51
         'fodeviceselection', 'hangup', 'profile', 'info', 'chat', 'recording',
52 52
         'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
53 53
         'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
54
-        'tileview', 'videobackgroundblur', 'download'
54
+        'tileview', 'videobackgroundblur', 'download', 'help'
55 55
     ],
56 56
 
57 57
     SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar' ],

+ 1
- 1
react/features/toolbox/components/HelpButton.js Bestand weergeven

@@ -44,7 +44,7 @@ class HelpButton extends AbstractButton<Props, *> {
44 44
  * @returns {Object}
45 45
  */
46 46
 function _mapStateToProps(state: Object) {
47
-    const { userDocumentationURL } = state['features/base/config'];
47
+    const { userDocumentationURL } = state['features/base/config'].deploymentUrls || {};
48 48
     const visible = typeof userDocumentationURL === 'string';
49 49
 
50 50
     return {

Laden…
Annuleren
Opslaan