v1.4.3/release (clean up criteria, titles, color for self)
This commit is contained in:
+8
-3
@@ -71,7 +71,6 @@ import Create from './Create';
|
|||||||
import { goTo } from 'route-lite';
|
import { goTo } from 'route-lite';
|
||||||
import CallManager from './CallManager';
|
import CallManager from './CallManager';
|
||||||
import VideoListener from './VideoListener';
|
import VideoListener from './VideoListener';
|
||||||
import VoxeetSDK from '@voxeet/voxeet-web-sdk';
|
|
||||||
|
|
||||||
const giphyFetch = new GiphyFetch('ojJbIMUN6XRMn4mHiFFav3rMCpXUg8sq');
|
const giphyFetch = new GiphyFetch('ojJbIMUN6XRMn4mHiFFav3rMCpXUg8sq');
|
||||||
const alerts = [
|
const alerts = [
|
||||||
@@ -354,6 +353,7 @@ export default class Chat extends Component {
|
|||||||
rowsMax={2}
|
rowsMax={2}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
fullWidth
|
fullWidth
|
||||||
|
color="secondary"
|
||||||
InputProps={{
|
InputProps={{
|
||||||
endAdornment: (
|
endAdornment: (
|
||||||
<Tooltip title="Share party" aria-label="Share party">
|
<Tooltip title="Share party" aria-label="Share party">
|
||||||
@@ -409,17 +409,22 @@ export default class Chat extends Component {
|
|||||||
<Chip className="party-controls-users-chip" clickable size="small" label={user} />
|
<Chip className="party-controls-users-chip" clickable size="small" label={user} />
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{VoxeetSDK.conference.participants.size > 0 ? (
|
{Object.keys(usersOnCall).length > 0 ? (
|
||||||
<Typography className="party-controls-users-title" variant="overline">
|
<Typography className="party-controls-users-title" variant="overline">
|
||||||
MEMBERS IN CALL
|
MEMBERS IN CALL
|
||||||
</Typography>
|
</Typography>
|
||||||
) : null}
|
) : null}
|
||||||
{VoxeetSDK.conference.participants.size > 0 ? (
|
{Object.keys(usersOnCall).length > 0 ? (
|
||||||
<div className="party-controls-users-container">
|
<div className="party-controls-users-container">
|
||||||
{Object.keys(usersOnCall).map((id) => {
|
{Object.keys(usersOnCall).map((id) => {
|
||||||
return usersOnCall[id].status === 'Connected' ||
|
return usersOnCall[id].status === 'Connected' ||
|
||||||
usersOnCall[id].status === 'Connecting' ? (
|
usersOnCall[id].status === 'Connecting' ? (
|
||||||
<Chip
|
<Chip
|
||||||
|
color={
|
||||||
|
usersOnCall[id].info.externalId === LocalData().userUid
|
||||||
|
? 'secondary'
|
||||||
|
: null
|
||||||
|
}
|
||||||
className="party-controls-users-chip"
|
className="party-controls-users-chip"
|
||||||
clickable
|
clickable
|
||||||
size="small"
|
size="small"
|
||||||
|
|||||||
@@ -27,7 +27,10 @@ module.exports = async () => {
|
|||||||
.get()
|
.get()
|
||||||
.then(async (roomSnap) => {
|
.then(async (roomSnap) => {
|
||||||
if (
|
if (
|
||||||
timeDiff(roomSnap.createTime.toDate(), startedTime) >= 24 ||
|
// MORE THAN 24 HOURS AND NOT IN USE
|
||||||
|
(timeDiff(roomSnap.createTime.toDate(), startedTime) >= 24 &&
|
||||||
|
timeDiff(roomSnap.updateTime.toDate(), startedTime) >= 12) ||
|
||||||
|
// LESS THAN 24 HOURS BUT NOT IN USE
|
||||||
timeDiff(roomSnap.updateTime.toDate(), startedTime) >= 12
|
timeDiff(roomSnap.updateTime.toDate(), startedTime) >= 12
|
||||||
) {
|
) {
|
||||||
await cleanUpRoom(roomSnap.id);
|
await cleanUpRoom(roomSnap.id);
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
|
|||||||
<link rel="stylesheet" type="text/css" href="../font.css" />
|
<link rel="stylesheet" type="text/css" href="../font.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
|
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
|
||||||
<script src="../scripts/Stickied.js"></script>
|
<script src="../scripts/Stickied.js"></script>
|
||||||
<title>Watch Party</title>
|
<title>Watch Party | Copyright</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="copyright">
|
<body class="copyright">
|
||||||
<div class="landing">
|
<div class="landing">
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
|
|||||||
<link rel="stylesheet" type="text/css" href="../font.css" />
|
<link rel="stylesheet" type="text/css" href="../font.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
|
<link rel="stylesheet" type="text/css" href="../styles/index.css" />
|
||||||
<script src="../scripts/Stickied.js"></script>
|
<script src="../scripts/Stickied.js"></script>
|
||||||
<title>Watch Party</title>
|
<title>Watch Party | Welcome</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="welcome">
|
<body class="welcome">
|
||||||
<div class="landing">
|
<div class="landing">
|
||||||
|
|||||||
Reference in New Issue
Block a user