Commit Graph

11 Commits

Author SHA1 Message Date
Arthur B. Grossi
5cc42cf0c5 refactor(layout): chevron button margin
Adds margin to chevron button to increase distinction between buttons
2021-11-26 13:50:13 +00:00
KDSBrowne
39fb8a6baa center chevron in audio controls dropdown 2021-10-21 17:29:44 +00:00
Mario Jr
9664d052c9 chore(audio): small fixes on "Update media selection dropdown" #13015
Removed trailing spaces in audio-controls/component.jsx
Fixed browser warning about required BBBMenu's onClick prop in
input-stream-live-selector/component.jsx
Fixed eslint warning "react/button-has-type" in ButtonEmoji.jsx
Fixed browser warning about not recognized hideLabel prop in ButtonEmoji.jsx
2021-08-30 11:41:58 -03:00
KDSBrowne
8d89b11c58 remove extra character 2021-08-17 12:57:23 +00:00
KDSBrowne
9bdd7ad004 remove duplicate props 2021-08-17 12:48:13 +00:00
KDSBrowne
e195d95494 update media device dropdown to menu | semantic fixes 2021-08-17 03:18:49 +00:00
Mario Jr
2801848789 chore(audio): update some code checks done by sonarcloud 2021-06-30 18:39:32 -03:00
Mario Jr
3510f9a83a chore(audio): remove unused style in ButtonEmoji 2021-06-28 11:37:21 -03:00
Mario Jr
3433348b01 fix(audio): add label to device selector button
Some technical information:

Added the possibility to have a tooltip container inside of an emojibutton
(even if the button already has a container). We handle the hover event in the
parent button by adding a simbling element and binding the tooltip in it.
So the tooltip/hover of the ButtonEmoji won't affect the parent element.

No changes, but additions, making the default behavior of tooltip intact,
avoid regressions on it.
2021-06-25 16:43:48 -03:00
Mario Jr
006cdbf271 chore(audio): removed unused span wrapper in ButtonEmoji component 2021-06-24 16:01:40 -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