v1.7.6/show player updated by

This commit is contained in:
2020-09-16 14:17:55 -04:00
parent 646a120df7
commit b9e3b549b2
7 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
let CHROME_OR_BROWSER = chrome || browser;
const API_HOST = 'https://api.chromewatchparty.com';
const API_HOST = 'http://localhost:5001/watch-party-crx/us-central1/widgets';
export const PLAYER_STATUS = {
PLAYING: 'PLAYING',
+8
View File
@@ -712,6 +712,14 @@ export default class Chat extends Component {
<Card elevation={0} className="media-info-card">
{player.showName && player.status !== PLAYER_STATUS.NOT_PLAYING ? (
<CardContent>
<Typography
style={{ display: 'block' }}
className="media-info-at updated-by"
variant="caption"
color="secondary"
>
Last updated by {player.updatedByName}
</Typography>
<Typography className="media-info-at" variant="overline">
{player.status === PLAYER_STATUS.PAUSED
? `PAUSED AT ${this.getPrettyTime(player.time)}`
+3
View File
@@ -584,6 +584,9 @@ textarea::-webkit-scrollbar {
font-size: 10px !important;
padding-left: 3px !important;
}
.media-info-at.updated-by {
font-size: 12px !important;
}
.media-info-container {
display: flex;
flex-direction: row;