v1.6.4/api update, chat thread styling

This commit is contained in:
2020-08-27 19:09:49 -04:00
parent 14c90d4cb9
commit fa887460eb
6 changed files with 36 additions and 3 deletions
+1
View File
@@ -45,6 +45,7 @@ const fetcher = async (request, sendResponse) => {
headers: {
Authorization: `Token ${idToken}:${firebase.auth().currentUser.uid}`,
'Access-Control-Allow-Origin': '*',
'Keep-Alive': true,
},
...request,
})
+1 -1
View File
@@ -11,7 +11,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
************************************************************************/
/*global chrome*/
const API_HOST = 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets';
const API_HOST = 'https://api.chromewatchparty.com';
export const PLAYER_STATUS = {
PLAYING: 'PLAYING',
+2 -2
View File
@@ -19,7 +19,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
.thread-wrapper {
max-height: 100%;
flex: 1;
overflow-y: auto;
overflow-y: auto !important;
margin-bottom: 1rem;
padding: 0 15px;
margin-top: 1rem;
@@ -33,7 +33,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
width: fit-content;
margin: 10px 0;
width: 100%;
transition: all ease-in-out 0.3s;
transition: none !important;
}
.thread-item.highlight .thread-message img,
.thread-item.highlight .thread-message p {
+17
View File
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore
node_modules
#!include:.gitignore
+7
View File
@@ -0,0 +1,7 @@
foreach ($api in gcloud functions list --filter="name:( api- )" --format="csv[no-heading](NAME,REGION)") {
$apiData = $api.Split(",")
$apiName = $apiData[0]
$apiRegion = $apiData[1]
Write-Host "`n==========================================================`nAPI: $apiName `t REGION: $apiRegion `n==========================================================`n"
gcloud functions deploy $apiName --region $apiRegion --entry-point widgets
}
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
for api in $(gcloud functions list --filter="name:( api- )" --format="csv[no-heading](NAME,REGION)")
do
apiName="$(cut -d',' -f1 <<<"$api")"
apiRegion="$(cut -d',' -f2 <<<"$api")"
echo $'\n'==========================================================$'\n'API: "$apiName" $'\t'REGION: "$apiRegion"$'\n'==========================================================$'\n'
$(gcloud functions deploy $apiName --region $apiRegion --entry-point widgets)
done