Commit Graph

258 Commits

Author SHA1 Message Date
Mario Jr
2801848789 chore(audio): update some code checks done by sonarcloud 2021-06-30 18:39:32 -03:00
Mario Jr
f379d35158 Merge branch 'develop' into feat-add-device-button-selector 2021-06-25 18:47:41 -03:00
Ramon Souza
efc15d89ae remove unused code 2021-06-23 16:52:52 -03:00
Mario Jr
ce076ffaad feat(audio): add a new button for selecting audio device
This commit adds a new small button over the "Phone/audio" button. Currently
this button pops up the device audio selector, which contains the "Leave audio"
option. This commit brings back the "Leave audio" behavior to the phone
button, using a new smaller button to switch between audio devices.

This issue address the problem reported by #12320 and complements the work done
for #9723.

Some technical details:
Added a new component : ButtonEmoji. This allow us to add an emoji inside
another button.
Modified dropdown trigger a bit: if the trigger contains a ButtonEmoji,
then we will use the emoji to trigger the dropdown (instead of the button
itself). This commit doens't change the default behavior of dropdown (when
the trigger doesn't have a ButtonEmoji component), to avoid regressions with
current dropdowns; this will only change it's behavior when used with
the new ButtonEmoji component.
2021-06-22 08:58:52 -03:00
Tainan Felipe
baf7afc883 Decrease amount of imports in dropdown 2021-05-31 15:28:27 -03:00
Vitor Mateus De Almeida
ede57507ef Merge remote-tracking branch 'upstream/develop' into layoutManagerNew 2021-05-21 14:56:10 -03:00
Ramon Souza
02057c7057 replace locale-specific code with align-items:center 2021-05-19 16:29:01 -03:00
Vitor Mateus De Almeida
88a1edcc06 Fix userlist item button, Fix polling close button 2021-05-19 11:51:31 -03:00
Ramon Souza
d061294f74 add ui adjustments for large languages 2021-05-13 11:55:33 -03:00
KDSBrowne
784103c8e1 hide secondary panel from SR when tethered dropdown is open 2021-04-18 15:44:02 +00:00
Ramon Souza
9218262e0a all device info moved to helper 2021-03-31 14:13:36 -03:00
Mario Jr
60378e8c63 Merge branch 'develop' into merge-update-pr-10129 2021-03-29 19:07:27 -03:00
Mario Jr
cddca95ad1 Fixes and improvements on pr #10129 - dynamic change audio device
Allow listenonly users to change output devices
Fixed dynamic audio device change for firefox
Fixed shortcuts for audio join/leave
Show (with a bold font) the current selected device
[performance] Prevent calling mediaDevices.enumerateDevices every time we render
the selector. This adds a delay (~200ms, on my chrome setup) to render this component
[performance] Do not call enumerateDevices to search for new devices, instead we listen on mediaDevices.deviceChange event
Small refactoring and fixed a few errors that were being throw in browser's console
Fixed device selection when this is done in audio-settings modal
Fallback to default device when current device is removed
Truncate device name length
Renamed "Input","Output" labels to "Microphone","Speakers", respectively
Update eslint rule for accessKey
2021-03-29 18:55:17 -03:00
Mario Jr
cec88c996d Merge remote-tracking branch 'tainan/issue-9723' into merge-update-pr-10129 2021-03-29 18:52:12 -03:00
Ramon Souza
34dc5ca79f increasing presentation menu width 2021-03-22 11:42:13 -03:00
Ramon Souza
09fef2f139 fix for userlist menu on tablets 2021-02-25 14:18:12 -03:00
Ramon Souza
65ca979e7e fix whiteboard use for ipad and other landscape mobile devices 2021-02-25 08:15:20 -03:00
KDSBrowne
55d91f8616 fix user-list-item dropdowns breaking on mobile screen sizes 2021-02-13 19:06:45 +00:00
Ramon Souza
cde124f237 fix webcam video dropdown collapse 2021-02-09 16:12:33 -03:00
KDSBrowne
bd4a3d2500 fix console errors in safari 2020-11-09 22:40:25 +00:00
Zh4rsiest
096556a74f
Dropdown component.jsx update
On mobile if you clicked on a user or your own user to set their status, the tethered modal would keep it's z-index, which would prevent the user from interacting with anything because the tethered modal would overlap the whole site.
2020-10-22 19:14:50 +02:00
KDSBrowne
a6533111b7 add active state to aria label for selected emoji 2020-10-06 13:58:07 +00:00
Anton Georgiev
d8b185f2b3 Merge branch 'issue-9219' of github.com:Tainan404/bigbluebutton into locales-total 2020-09-09 19:29:18 +00:00
KDSBrowne
b33b5f3f01 Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into 2.3-remove-css-variable-duplicates 2020-09-01 21:17:25 +00:00
KDSBrowne
77b71a4d1f fix duplicate css variables being loaded (improve imports) 2020-09-01 18:46:13 +00:00
Anton Georgiev
22641c0e33
Merge pull request #10219 from Tainan404/unsafe-dropdown-components
Remove unsafe lifecycle from all dropdown related components
2020-08-25 08:54:16 -04:00
Anton Georgiev
b6d71fd66d
Merge branch 'develop' into issue-9219 2020-08-19 16:02:43 -04:00
Tainan Felipe
5bfeab289c Merge remote-tracking branch 'upstream/develop' into issue-9219 2020-08-19 10:41:03 -03:00
KDSBrowne
3042d90bc4 fix user item dropdown menus not closing 2020-08-18 16:17:58 +00:00
Tainan Felipe
cc9662b6b8 Implement speaker change and add device update feature 2020-08-10 16:43:49 -03:00
Tainan Felipe
1fedde7d8f Remove unsafe lifecycle from all dropdown related components 2020-08-07 17:43:33 -03:00
Anton Georgiev
21b6def708
Revert "Replace unsafe react lifecycle methods" 2020-07-15 15:52:34 -04:00
Tainan Felipe
db8e7fcd39 Update react-intl and add fallback to unsupported languages 2020-05-25 17:00:13 -03:00
Tainan Felipe
17a6ee0710 Merge remote-tracking branch 'upstream/develop' into virtualized-userlist 2020-05-11 17:08:12 -03:00
Tainan Felipe
aa1fafdfab Replace legacy react lifecycle on dropdown 2020-05-08 11:23:55 -03:00
Tainan Felipe
d388fb070d Implements react tether in virtualizedlist 2020-03-30 16:41:36 -03:00
Anton Georgiev
0958e422aa
Merge pull request #8485 from KDSBrowne/move-quick-poll
Move quick poll button to presentation tool bar
2020-03-09 18:05:32 -04:00
Anton Georgiev
f1fc72bc01 explicitly import lodash where it is used 2020-02-26 14:48:40 -05:00
KDSBrowne
b815272708 disable quick poll when active poll / make menu item use full width 2020-01-29 18:36:17 +00:00
KDSBrowne
201c46f502 prevent user dropdown close btn remaining visible on mobile 2019-08-29 14:57:40 +00:00
KDSBrowne
161be803be fix dropdown close btn on mobile view 2019-08-19 14:41:31 +00:00
KDSBrowne
b4959c40c5 fix non user-item dropdowns not closing on windown click 2019-08-15 19:08:14 +00:00
KDSBrowne
52085fde59 add checks for potential undefined's 2019-08-15 18:33:12 +00:00
KDSBrowne
9e83bbee3c fix incorrect focused element when using mouse to select users 2019-08-15 16:49:46 +00:00
KDSBrowne
ac284b5ea1 fix user list keyboard accessibility bugs 2019-08-13 21:16:14 +00:00
Ghazi Triki
bd03a39e23 Minor fixes for RTL. 2019-05-16 17:27:43 +01:00
KDSBrowne
1e8aaad61d improve horizontal menu positions for RTL 2019-05-15 17:32:45 +00:00
KDSBrowne
5de53912bf fix gap between menu and caret 2019-05-15 16:10:50 +00:00
KDSBrowne
2b96fb3008 fix dropdown menu horizontal caret 2019-05-15 14:33:29 +00:00
Ghazi Triki
1f6326f7fd Change layout direction for RTL languages.
Update styles for RTL layout.
2019-05-14 14:17:19 +01:00