Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions webapp/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"FoNl1e": "Check the <troubleShootingLink>troubleshooting section</troubleShootingLink> if the problem persists.",
"FpgQ3M": "Avg Call Duration (minutes)",
"G9EwJD": "Call recording quality",
"GNkXiL": "Switch to speaker view",
"GSZYxc": "Call recordings",
"Ga0yXg": "Call started",
"GcvLBC": "Understood",
Expand Down Expand Up @@ -197,6 +198,7 @@
"aVENjO": "By selecting <b>Try free for 30 days</b>, I agree to the <linkEvaluation>Mattermost Software Evaluation Agreement</linkEvaluation>, <linkPrivacy>Privacy Policy</linkPrivacy>, and receiving product emails.",
"aaYQI7": "Enable IPv6 support (Experimental)",
"aeJJMp": "Calls by Channel Type",
"aft1aI": "Switch to grid view",
"axn5zT": "Here's the call recording. Transcription is processing and will be posted when ready.",
"b2Wfwm": "Open in new window",
"bBIj2W": "Recording has stopped. Processing…",
Expand Down
6 changes: 3 additions & 3 deletions webapp/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ export const DefaultVideoTrackOptions: MediaTrackConstraints = {
frameRate: {
ideal: 30,
},
aspectRatio: {
ideal: 4 / 3,
},
width: {
ideal: 640,
},
height: {
ideal: 360,
},
};

const rtcMonitorInterval = 10000;
Expand Down
8 changes: 7 additions & 1 deletion webapp/src/components/avatar/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type Props = {
icon?: string;
border?: boolean;
borderGlowWidth?: number;
borderGlowColor?: string;
};

type Attrs = HTMLAttributes<HTMLElement>;
Expand All @@ -29,6 +30,7 @@ const Avatar = ({
icon,
border = true,
borderGlowWidth = 0,
borderGlowColor = 'rgba(61, 184, 135, 0.56)',
...attrs
}: Props & Attrs) => {
if (text) {
Expand All @@ -40,6 +42,7 @@ const Avatar = ({
$fontSize={fontSize}
$border={border}
$borderGlowWidth={borderGlowWidth}
$borderGlowColor={borderGlowColor}
/>
);
}
Expand All @@ -52,6 +55,7 @@ const Avatar = ({
$fontSize={fontSize}
$border={border}
$borderGlowWidth={borderGlowWidth}
$borderGlowColor={borderGlowColor}
>
<CompassIcon icon={icon}/>
</ProfilePlain>
Expand All @@ -68,6 +72,7 @@ const Avatar = ({
$fontSize={fontSize}
$border={border}
$borderGlowWidth={borderGlowWidth}
$borderGlowColor={borderGlowColor}
/>
);
};
Expand All @@ -77,6 +82,7 @@ interface ProfileProps {
$fontSize: number;
$border?: boolean;
$borderGlowWidth: number;
$borderGlowColor: string;
}

const Profile = styled.div<ProfileProps>`
Expand Down Expand Up @@ -106,7 +112,7 @@ const Profile = styled.div<ProfileProps>`
margin-left: -${({$size}) => $size * 0.25}px;
}

box-shadow: ${({$borderGlowWidth}) => $borderGlowWidth > 0 ? `0px 0px 0px ${$borderGlowWidth}px rgba(61, 184, 135, 0.56)` : 'none'};
box-shadow: ${({$borderGlowWidth, $borderGlowColor}) => $borderGlowWidth > 0 ? `0px 0px 0px ${$borderGlowWidth}px ${$borderGlowColor}` : 'none'};
`;

const ProfilePlain = styled(Profile)`
Expand Down
Loading
Loading