Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIH-10652 add state management #2145

Merged
merged 29 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
833cedd
WIP add actions and reducers for conference
May 16, 2024
7dbfa4f
feat: Update conference actions to include endpoint status updates an…
May 17, 2024
f67df8a
add tests
May 17, 2024
bd81658
feat: Add conference status to video web service and VHConference model
May 17, 2024
77f2a2d
add more tests for reducer functions
May 18, 2024
11a1069
feat: Add upsertPexipParticipant action to conference reducer
May 20, 2024
1387603
feat: Update room and participant information in conference reducer
May 20, 2024
5180aab
refactor reducers
May 20, 2024
a8f7005
bug fixes
May 20, 2024
19dbe47
WIP: switch status list component to use the store
May 20, 2024
0fd3a20
subscribe to active conference in the base waiting room
May 20, 2024
f6440ae
WIP: migrating to vhconference model
May 21, 2024
6b1d181
update tests to use new models
May 21, 2024
91bf364
fix linting
May 22, 2024
40a8793
refactor: Update participant and room information handling in confere…
May 22, 2024
659a425
handle removal of pexip participant
May 23, 2024
d74a868
fix linting rules
May 23, 2024
34dcd90
undo suggestion for chaining
May 24, 2024
9a6e542
add new rule to ignore tests set file
May 24, 2024
39645dc
sonarlint suggestions for a11y
May 24, 2024
f13dd0a
add an example of side effects for loading a conference
May 24, 2024
ac1e46a
remove commented code
May 28, 2024
acb0b8f
Merge remote-tracking branch 'origin/master' into feature/VIH-10652_a…
May 28, 2024
f6ee41a
fix typo
May 28, 2024
38a9a84
point back to master
May 28, 2024
3520db2
Merge remote-tracking branch 'origin/master' into feature/VIH-10652_a…
May 29, 2024
2352445
create re-usable function to get conference and check it exists
May 29, 2024
6193fe4
fix lint
May 30, 2024
40d85a7
Merge branch 'master' into feature/VIH-10652_add_state_management
shaed-parkar May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
358 changes: 172 additions & 186 deletions VideoWeb/VideoWeb/ClientApp/angular.json
Original file line number Diff line number Diff line change
@@ -1,192 +1,178 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"VideoWeb": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"progress": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/assets",
{
"glob": "*",
"input": "node_modules/govuk-frontend/govuk/assets/fonts",
"output": "assets/fonts/"
},
"src/scripts"
],
"styles": [
"src/styles.scss",
"node_modules/ngx-toastr/toastr.css"
],
"stylePreprocessorOptions": {
"includePaths": [
"src/sass"
]
},
"scripts": [
"src/scripts/EdgePF.js",
"src/scripts/IEPF.js",
"src/scripts/Heartbeat.js",
"node_modules/govuk-frontend/govuk/all.js",
"node_modules/chart.js/dist/chart.umd.js",
"node_modules/@mediapipe/camera_utils/camera_utils.js",
"node_modules/@mediapipe/control_utils/control_utils.js",
"node_modules/@mediapipe/drawing_utils/drawing_utils.js",
"node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js"
],
"allowedCommonJsDependencies": [
"guid-typescript",
"sdp",
"@mediapipe/camera_utils",
"@mediapipe/selfie_segmentation",
"moment"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"development": {},
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"publicHost": "0.0.0.0:0",
"buildTarget": "VideoWeb:build"
},
"configurations": {
"production": {
"buildTarget": "VideoWeb:build:production"
},
"development": {
"buildTarget": "VideoWeb:build:development"
},
"defaultConfiguration": "development"
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "VideoWeb:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"codeCoverageExclude": [
"src/app/testing/**",
"src/app/services/clients/**",
"src/app/vh-officer/helper.ts",
"src/app/services/audio-only-image.service.ts"
],
"styles": [
"src/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"src/sass"
]
},
"scripts": [
"src/scripts/vodafone/pexrtc.js",
"src/scripts/EdgePF.js",
"src/scripts/IEPF.js",
"src/scripts/Heartbeat.js",
"node_modules/chart.js/dist/chart.umd.js"
],
"assets": [
"src/assets",
{
"glob": "*",
"input": "node_modules/govuk-frontend/govuk/assets/fonts",
"output": "assets/fonts/"
}
]
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist-server",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": true,
"optimization": false,
"buildOptimizer": false
},
"configurations": {
"dev": {
"optimization": true,
"outputHashing": "all",
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true
}
},
"defaultConfiguration": ""
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
oliver-scott marked this conversation as resolved.
Show resolved Hide resolved
"version": 1,
"newProjectRoot": "projects",
"projects": {
"VideoWeb": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"progress": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/assets",
{
"glob": "*",
"input": "node_modules/govuk-frontend/govuk/assets/fonts",
"output": "assets/fonts/"
},
"src/scripts"
],
"styles": ["src/styles.scss", "node_modules/ngx-toastr/toastr.css"],
"stylePreprocessorOptions": {
"includePaths": ["src/sass"]
},
"scripts": [
"src/scripts/EdgePF.js",
"src/scripts/IEPF.js",
"src/scripts/Heartbeat.js",
"node_modules/govuk-frontend/govuk/all.js",
"node_modules/chart.js/dist/chart.umd.js",
"node_modules/@mediapipe/camera_utils/camera_utils.js",
"node_modules/@mediapipe/control_utils/control_utils.js",
"node_modules/@mediapipe/drawing_utils/drawing_utils.js",
"node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js"
],
"allowedCommonJsDependencies": [
"guid-typescript",
"sdp",
"@mediapipe/camera_utils",
"@mediapipe/selfie_segmentation",
"moment"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"development": {},
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"publicHost": "0.0.0.0:0",
"buildTarget": "VideoWeb:build"
},
"configurations": {
"production": {
"buildTarget": "VideoWeb:build:production"
},
"development": {
"buildTarget": "VideoWeb:build:development"
},
"defaultConfiguration": "development"
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "VideoWeb:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"codeCoverageExclude": [
"src/app/testing/**",
"src/app/services/clients/**",
"src/app/vh-officer/helper.ts",
"src/app/services/audio-only-image.service.ts"
],
"styles": ["src/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["src/sass"]
},
"scripts": [
"src/scripts/vodafone/pexrtc.js",
"src/scripts/EdgePF.js",
"src/scripts/IEPF.js",
"src/scripts/Heartbeat.js",
"node_modules/chart.js/dist/chart.umd.js"
],
"assets": [
"src/assets",
{
"glob": "*",
"input": "node_modules/govuk-frontend/govuk/assets/fonts",
"output": "assets/fonts/"
}
]
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist-server",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.server.json",
"sourceMap": true,
"optimization": false,
"buildOptimizer": false
},
"configurations": {
"dev": {
"optimization": true,
"outputHashing": "all",
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"buildOptimizer": true
}
},
"defaultConfiguration": ""
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
},
"cli": {
"analytics": "d98edcd7-fbf7-457b-8b1a-674a89b98183",
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}
},
"cli": {
"analytics": "d98edcd7-fbf7-457b-8b1a-674a89b98183",
"schematicCollections": ["@angular-eslint/schematics", "@ngrx/schematics"]
}
}
Loading
Loading