v1.6.4/api update, chat thread styling
This commit is contained in:
@@ -45,6 +45,7 @@ const fetcher = async (request, sendResponse) => {
|
|||||||
headers: {
|
headers: {
|
||||||
Authorization: `Token ${idToken}:${firebase.auth().currentUser.uid}`,
|
Authorization: `Token ${idToken}:${firebase.auth().currentUser.uid}`,
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
|
'Keep-Alive': true,
|
||||||
},
|
},
|
||||||
...request,
|
...request,
|
||||||
})
|
})
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
************************************************************************/
|
************************************************************************/
|
||||||
/*global chrome*/
|
/*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 = {
|
export const PLAYER_STATUS = {
|
||||||
PLAYING: 'PLAYING',
|
PLAYING: 'PLAYING',
|
||||||
|
|||||||
+2
-2
@@ -19,7 +19,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
.thread-wrapper {
|
.thread-wrapper {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto !important;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
@@ -33,7 +33,7 @@ COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
|
|||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
transition: all ease-in-out 0.3s;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
.thread-item.highlight .thread-message img,
|
.thread-item.highlight .thread-message img,
|
||||||
.thread-item.highlight .thread-message p {
|
.thread-item.highlight .thread-message p {
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user