mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-15 07:47:47 +00:00
* feat(face-landmarks): add face landmarks timeline fixes after rebase * fixes after rebase compiling and linting * fix: change keyboard shorcut for participants stats * fix: label for emotions switch * fix: linting issues * code review changes * fix linting issues * code review changes 2 * fix typo
33 lines
976 B
TypeScript
33 lines
976 B
TypeScript
import { createToolbarEvent } from '../../../analytics/AnalyticsEvents';
|
|
import { sendAnalytics } from '../../../analytics/functions';
|
|
import { openDialog } from '../../../base/dialog/actions';
|
|
import { translate } from '../../../base/i18n/functions';
|
|
import { connect } from '../../../base/redux/functions';
|
|
import AbstractSpeakerStatsButton from '../AbstractSpeakerStatsButton';
|
|
|
|
import SpeakerStats from './SpeakerStats';
|
|
|
|
|
|
/**
|
|
* Implementation of a button for opening speaker stats dialog.
|
|
*/
|
|
class SpeakerStatsButton extends AbstractSpeakerStatsButton {
|
|
|
|
/**
|
|
* Handles clicking / pressing the button, and opens the appropriate dialog.
|
|
*
|
|
* @protected
|
|
* @returns {void}
|
|
*/
|
|
_handleClick() {
|
|
// @ts-ignore
|
|
const { dispatch } = this.props;
|
|
|
|
sendAnalytics(createToolbarEvent('speaker.stats'));
|
|
dispatch(openDialog(SpeakerStats));
|
|
}
|
|
}
|
|
|
|
// @ts-ignore
|
|
export default translate(connect()(SpeakerStatsButton));
|