linting and clean-up
This commit is contained in:
parent
a1a64a1524
commit
48bf163559
@ -32,54 +32,10 @@ const listTransition = {
|
||||
};
|
||||
|
||||
const intlMessages = defineMessages({
|
||||
usersTitle: {
|
||||
id: 'app.userList.usersTitle',
|
||||
description: 'Title for the Header',
|
||||
},
|
||||
messagesTitle: {
|
||||
id: 'app.userList.messagesTitle',
|
||||
description: 'Title for the messages list',
|
||||
},
|
||||
participantsTitle: {
|
||||
id: 'app.userList.participantsTitle',
|
||||
description: 'Title for the Users list',
|
||||
},
|
||||
toggleCompactView: {
|
||||
id: 'app.userList.toggleCompactView.label',
|
||||
description: 'Toggle user list view mode',
|
||||
},
|
||||
ChatLabel: {
|
||||
id: 'app.userList.menu.chat.label',
|
||||
description: 'Save the changes and close the settings menu',
|
||||
},
|
||||
ClearStatusLabel: {
|
||||
id: 'app.userList.menu.clearStatus.label',
|
||||
description: 'Clear the emoji status of this user',
|
||||
},
|
||||
MakePresenterLabel: {
|
||||
id: 'app.userList.menu.makePresenter.label',
|
||||
description: 'Set this user to be the presenter in this meeting',
|
||||
},
|
||||
KickUserLabel: {
|
||||
id: 'app.userList.menu.kickUser.label',
|
||||
description: 'Forcefully remove this user from the meeting',
|
||||
},
|
||||
MuteUserAudioLabel: {
|
||||
id: 'app.userList.menu.muteUserAudio.label',
|
||||
description: 'Forcefully mute this user',
|
||||
},
|
||||
UnmuteUserAudioLabel: {
|
||||
id: 'app.userList.menu.unmuteUserAudio.label',
|
||||
description: 'Forcefully unmute this user',
|
||||
},
|
||||
PromoteUserLabel: {
|
||||
id: 'app.userList.menu.promoteUser.label',
|
||||
description: 'Forcefully promote this viewer to a moderator',
|
||||
},
|
||||
DemoteUserLabel: {
|
||||
id: 'app.userList.menu.demoteUser.label',
|
||||
description: 'Forcefully demote this moderator to a viewer',
|
||||
},
|
||||
});
|
||||
|
||||
class UserMessages extends Component {
|
||||
|
@ -48,18 +48,6 @@ const intlMessages = defineMessages({
|
||||
id: 'app.userList.usersTitle',
|
||||
description: 'Title for the Header',
|
||||
},
|
||||
messagesTitle: {
|
||||
id: 'app.userList.messagesTitle',
|
||||
description: 'Title for the messages list',
|
||||
},
|
||||
participantsTitle: {
|
||||
id: 'app.userList.participantsTitle',
|
||||
description: 'Title for the Users list',
|
||||
},
|
||||
toggleCompactView: {
|
||||
id: 'app.userList.toggleCompactView.label',
|
||||
description: 'Toggle user list view mode',
|
||||
},
|
||||
ChatLabel: {
|
||||
id: 'app.userList.menu.chat.label',
|
||||
description: 'Save the changes and close the settings menu',
|
||||
|
@ -25,7 +25,7 @@ const propTypes = {
|
||||
}).isRequired,
|
||||
userActions: PropTypes.shape({}).isRequired,
|
||||
router: PropTypes.shape({}).isRequired,
|
||||
isBreakoutRoom: PropTypes.bool.isRequired,
|
||||
isBreakoutRoom: PropTypes.bool,
|
||||
getAvailableActions: PropTypes.func.isRequired,
|
||||
meeting: PropTypes.shape({}).isRequired,
|
||||
isMeetingLocked: PropTypes.func.isRequired,
|
||||
@ -34,12 +34,10 @@ const propTypes = {
|
||||
};
|
||||
|
||||
const defaultProps = {
|
||||
shouldShowActions: false,
|
||||
isBreakoutRoom: false,
|
||||
};
|
||||
|
||||
class UserListItem extends Component {
|
||||
|
||||
static createAction(action, ...options) {
|
||||
return (
|
||||
<UserAction
|
||||
|
@ -201,13 +201,15 @@ class UserListContent extends Component {
|
||||
? intl.formatMessage(messages.presenter)
|
||||
: '';
|
||||
|
||||
const userAriaLabel = intl.formatMessage(messages.userAriaLabel,
|
||||
const userAriaLabel = intl.formatMessage(
|
||||
messages.userAriaLabel,
|
||||
{
|
||||
0: user.name,
|
||||
1: presenter,
|
||||
2: you,
|
||||
3: user.emoji.status,
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
const contents = (
|
||||
<div
|
||||
|
@ -12,3 +12,4 @@ redis:
|
||||
- 'from-akka-apps-wb-redis-channel'
|
||||
ignored:
|
||||
- 'CheckAlivePongSysMsg'
|
||||
- 'DoLatencyTracerMsg'
|
||||
|
Loading…
Reference in New Issue
Block a user