Skip to content

Commit

Permalink
Merge branch 'Azure-Samples:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vriosrada-msft authored Mar 6, 2023
2 parents e1dd149 + 9e60ac5 commit 472a509
Show file tree
Hide file tree
Showing 17 changed files with 487 additions and 85 deletions.
2 changes: 2 additions & 0 deletions Project/.deployment
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[config]
SCM_DO_BUILDDURING_DEPLOYMENT=true
4 changes: 4 additions & 0 deletions Project/clientConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"oneSignalAppId": "",
"oneSignalSafariWebId": ""
}
5 changes: 0 additions & 5 deletions Project/config.json

This file was deleted.

83 changes: 82 additions & 1 deletion Project/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions Project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
"@azure/communication-calling-effects": "1.0.0-beta.1",
"@fluentui/react": "^7.158.1",
"react": "^16.14.0",
"react-dom": "^16.14.0"
"react-dom": "^16.14.0",
"react-onesignal": "^2.0.4"
},
"scripts": {
"start": "webpack-dev-server --port 5000 --mode development",
"build": "webpack --mode development"
"start-local": "webpack-dev-server --port 5000 --mode development",
"build-local": "webpack --mode development",
"start": "webpack-dev-server --host 0.0.0.0",
"build": "webpack"
},
"devDependencies": {
"axios": "^1.3.4",
"@babel/core": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
Expand Down
1 change: 1 addition & 0 deletions Project/public/OneSignalSDKUpdaterWorker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
importScripts('https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js');
1 change: 1 addition & 0 deletions Project/public/OneSignalSDKWorker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
importScripts('https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js');
File renamed without changes
7 changes: 7 additions & 0 deletions Project/serverConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"connectionString": "REPLACE_WITH_CONNECTION_STRING",
"functionAppOneSignalTokenRegistrationUrl": "",
"functionAppOneSignalTokenRegistrationApiKey":""
}


57 changes: 39 additions & 18 deletions Project/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,41 @@ ul {
border-bottom: 1px solid #605e5c;
}

.ms-TextField-field {
background-color: #292827;
color: #edebe9;
outline: 1px solid #484644;
box-shadow: 0px 0px 0px 2px #484644;
}

.ms-TextField-field:disabled {
background-color: #292827;
color: #484644 !important;
outline: 1px solid #292827;
box-shadow: 0px 0px 0px 2px #292827;
}

div.push-notification-options[disabled],
div.ms-Checkbox.is-disabled > input[type="checkbox"] + label.ms-Checkbox-label > span.ms-Checkbox-text,
.ms-TextField-field:disabled, .ms-TextField.is-disabled > .ms-TextField-wrapper > label,
div.ms-Checkbox.is-disabled > input[type="checkbox"] + label.ms-Checkbox-label > div.ms-Checkbox-checkbox > i.ms-Checkbox-checkmark {
color: #484644;
}

div.ms-Checkbox > input[type="checkbox"] + label.ms-Checkbox-label > div.ms-Checkbox-checkbox {
background-color: #201f1e;
border: 1px solid #605e5c;
}

div.ms-Checkbox.is-disabled > input[type="checkbox"] + label.ms-Checkbox-label > div.ms-Checkbox-checkbox {
border: 1px solid #484644;
}

div.ms-Checkbox > input[type="checkbox"] + label.ms-Checkbox-label > span.ms-Checkbox-text {
color: white;
font-size: 0.8rem;
}

.primary-button {
color: #edebe9;
background-color: #ca5010;
Expand Down Expand Up @@ -250,24 +285,6 @@ ul {
font-size: 12px;;
}

.ms-TextField-field:disabled, .ms-TextField.is-disabled > .ms-TextField-wrapper > label {
color: #484644;
}

.ms-TextField-field {
background-color: #292827;
color: #edebe9;
outline: 1px solid #484644;
box-shadow: 0px 0px 0px 2px #484644;
}

.ms-TextField-field:disabled {
background-color: #292827;
color: #484644 !important;
outline: 1px solid #292827;
box-shadow: 0px 0px 0px 2px #292827;
}

.video-grid-row {
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -441,6 +458,10 @@ ul {
.text-center {
text-align: center;
}
.inline-block {
display: inline-block;
vertical-align: middle;
}

/*********************************
* Margin and Padding *
Expand Down
Loading

0 comments on commit 472a509

Please sign in to comment.