fix(config) add missing buttons to default constants
- Remove button list from interface_config.js since it has been deprecated for a while - Alphabetically sort buttons in config.js and constants.js to make it easier to add / remove items - Add missing invite and toggle-camera buttons to default constants - Remove no longer existing "fodeviceselection" button Fixes: https://github.com/jitsi/jitsi-meet/issues/9605
This commit is contained in:
parent
1c8103c444
commit
bac0a55421
37
config.js
37
config.js
|
@ -462,11 +462,38 @@ var config = {
|
||||||
// - 'desktop' controls the "Share your screen" button
|
// - 'desktop' controls the "Share your screen" button
|
||||||
// - if `toolbarButtons` is undefined, we fallback to enabling all buttons on the UI
|
// - if `toolbarButtons` is undefined, we fallback to enabling all buttons on the UI
|
||||||
// toolbarButtons: [
|
// toolbarButtons: [
|
||||||
// 'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
|
// 'camera',
|
||||||
// 'fodeviceselection', 'hangup', 'profile', 'participants-pane', 'chat', 'recording',
|
// 'chat',
|
||||||
// 'livestreaming', 'etherpad', 'sharedvideo', 'shareaudio', 'settings', 'raisehand',
|
// 'closedcaptions',
|
||||||
// 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
|
// 'desktop',
|
||||||
// 'tileview', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone', 'security'
|
// 'download',
|
||||||
|
// 'embedmeeting',
|
||||||
|
// 'etherpad',
|
||||||
|
// 'feedback',
|
||||||
|
// 'filmstrip',
|
||||||
|
// 'fullscreen',
|
||||||
|
// 'hangup',
|
||||||
|
// 'help',
|
||||||
|
// 'invite',
|
||||||
|
// 'livestreaming',
|
||||||
|
// 'microphone',
|
||||||
|
// 'mute-everyone',
|
||||||
|
// 'mute-video-everyone',
|
||||||
|
// 'participants-pane',
|
||||||
|
// 'profile',
|
||||||
|
// 'raisehand',
|
||||||
|
// 'recording',
|
||||||
|
// 'security',
|
||||||
|
// 'select-background',
|
||||||
|
// 'settings',
|
||||||
|
// 'shareaudio',
|
||||||
|
// 'sharedvideo',
|
||||||
|
// 'shortcuts',
|
||||||
|
// 'stats',
|
||||||
|
// 'tileview',
|
||||||
|
// 'toggle-camera',
|
||||||
|
// 'videoquality',
|
||||||
|
// '__end'
|
||||||
// ],
|
// ],
|
||||||
|
|
||||||
// Stats
|
// Stats
|
||||||
|
|
|
@ -208,13 +208,7 @@ var interfaceConfig = {
|
||||||
* DEPRECATED!
|
* DEPRECATED!
|
||||||
* This config was moved to config.js as `toolbarButtons`.
|
* This config was moved to config.js as `toolbarButtons`.
|
||||||
*/
|
*/
|
||||||
// TOOLBAR_BUTTONS: [
|
// TOOLBAR_BUTTONS: [],
|
||||||
// 'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
|
|
||||||
// 'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
|
|
||||||
// 'livestreaming', 'etherpad', 'sharedvideo', 'settings', 'raisehand',
|
|
||||||
// 'videoquality', 'filmstrip', 'invite', 'feedback', 'stats', 'shortcuts',
|
|
||||||
// 'tileview', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone', 'security'
|
|
||||||
// ],
|
|
||||||
|
|
||||||
TOOLBAR_TIMEOUT: 4000,
|
TOOLBAR_TIMEOUT: 4000,
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,35 @@ export const _CONFIG_STORE_PREFIX = 'config.js';
|
||||||
* @type Array<string>
|
* @type Array<string>
|
||||||
*/
|
*/
|
||||||
export const TOOLBAR_BUTTONS = [
|
export const TOOLBAR_BUTTONS = [
|
||||||
'microphone', 'camera', 'closedcaptions', 'desktop', 'embedmeeting', 'fullscreen',
|
'camera',
|
||||||
'fodeviceselection', 'hangup', 'profile', 'chat', 'recording',
|
'chat',
|
||||||
'livestreaming', 'etherpad', 'sharedvideo', 'shareaudio', 'settings', 'raisehand',
|
'closedcaptions',
|
||||||
'videoquality', 'filmstrip', 'participants-pane', 'feedback', 'stats', 'shortcuts',
|
'desktop',
|
||||||
'tileview', 'toggle-camera', 'select-background', 'download', 'help', 'mute-everyone', 'mute-video-everyone',
|
'download',
|
||||||
'security'
|
'embedmeeting',
|
||||||
|
'etherpad',
|
||||||
|
'feedback',
|
||||||
|
'filmstrip',
|
||||||
|
'fullscreen',
|
||||||
|
'hangup',
|
||||||
|
'help',
|
||||||
|
'invite',
|
||||||
|
'livestreaming',
|
||||||
|
'microphone',
|
||||||
|
'mute-everyone',
|
||||||
|
'mute-video-everyone',
|
||||||
|
'participants-pane',
|
||||||
|
'profile',
|
||||||
|
'raisehand',
|
||||||
|
'recording',
|
||||||
|
'security',
|
||||||
|
'select-background',
|
||||||
|
'settings',
|
||||||
|
'shareaudio',
|
||||||
|
'sharedvideo',
|
||||||
|
'shortcuts',
|
||||||
|
'stats',
|
||||||
|
'tileview',
|
||||||
|
'toggle-camera',
|
||||||
|
'videoquality'
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue