mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 14:47:49 +00:00
Improve premeeting screens ux (#9726)
* feat(prejoin) move invite to toolbar section * feat(premeeting) redesign prejoin and lobby screens * code review changes * fix prejoin flicker and avatar id * fix password error message and native lobby dialog close position
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import { translate } from '../../../base/i18n';
|
||||
import { Icon, IconCheck, IconExclamation } from '../../../base/icons';
|
||||
import { Icon, IconCheckSolid, IconExclamation } from '../../../base/icons';
|
||||
import { connect } from '../../../base/redux';
|
||||
import {
|
||||
getDeviceStatusType,
|
||||
@@ -38,11 +38,11 @@ export type Props = {
|
||||
const iconMap = {
|
||||
warning: {
|
||||
src: IconExclamation,
|
||||
className: 'prejoin-preview-status--warning'
|
||||
className: 'device-icon--warning'
|
||||
},
|
||||
ok: {
|
||||
src: IconCheck,
|
||||
className: 'prejoin-preview-status--ok'
|
||||
src: IconCheckSolid,
|
||||
className: 'device-icon--ok'
|
||||
}
|
||||
};
|
||||
|
||||
@@ -57,15 +57,14 @@ function DeviceStatus({ deviceStatusType, deviceStatusText, rawError, t }: Props
|
||||
|
||||
return (
|
||||
<div
|
||||
className = { `prejoin-preview-status ${className}` }
|
||||
className = 'device-status'
|
||||
role = 'alert'
|
||||
tabIndex = { -1 }>
|
||||
<Icon
|
||||
className = 'prejoin-preview-icon'
|
||||
className = { `device-icon ${className}` }
|
||||
size = { 16 }
|
||||
src = { src } />
|
||||
<span
|
||||
className = 'prejoin-preview-error-desc'
|
||||
role = 'heading'>
|
||||
{t(deviceStatusText)}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user