diff --git a/.circleci/config.yml b/.circleci/config.yml index 0aada78dd74..681cfa58b5b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,3 +54,4 @@ workflows: build_and_test: jobs: - test-cases + \ No newline at end of file diff --git a/src/app/client/package.json b/src/app/client/package.json index 617d529232b..e80dcfe5616 100644 --- a/src/app/client/package.json +++ b/src/app/client/package.json @@ -86,7 +86,7 @@ "@project-sunbird/sunbird-video-player-web-component": "1.1.1", "@project-sunbird/telemetry-sdk": "1.3.0", "@project-sunbird/web-extensions": "8.0.1", - "uci-console-v16":"8.0.0", + "uci-console-v16": "8.0.0", "@shikshalokam/sl-questionnaire": "7.0.0", "@shikshalokam/sl-reports-library": "6.0.0", "@swimlane/ngx-datatable": "20.1.0", @@ -245,4 +245,4 @@ "jest-preset-angular/build/serializers/html-comment" ] } -} +} \ No newline at end of file diff --git a/src/app/client/src/app/modules/dashboard/components/list-all-reports/list-all-reports.component.ts b/src/app/client/src/app/modules/dashboard/components/list-all-reports/list-all-reports.component.ts index 4bcf22b7b64..7c9c2f7d158 100644 --- a/src/app/client/src/app/modules/dashboard/components/list-all-reports/list-all-reports.component.ts +++ b/src/app/client/src/app/modules/dashboard/components/list-all-reports/list-all-reports.component.ts @@ -252,7 +252,7 @@ export class ListAllReportsComponent implements OnInit { $(el).on('click', 'tbody tr td:not(.details-control)', (event) => { const rowData = masterTable && masterTable.row(event?.currentTarget).data(); - if (_.get(rowData, 'reportid') && _.get(rowData, 'hashed_val') && rowData.hasOwnProperty('materialize')) { + if (_.get(rowData, 'reportid') && _.get(rowData, 'hashed_val') || (this.reportService.isUserSuperAdmin() && rowData?.hasOwnProperty('materialize'))) { const reportid = _.get(rowData,'reportid'); const hashed_val = _.get(rowData,'hashed_val'); const materialize = _.get(rowData,'materialize'); diff --git a/src/app/client/src/app/modules/merge-account/components/merge-account-status/merge-account-status.component.scss b/src/app/client/src/app/modules/merge-account/components/merge-account-status/merge-account-status.component.scss index be4bb7d9b93..e63083fde09 100644 --- a/src/app/client/src/app/modules/merge-account/components/merge-account-status/merge-account-status.component.scss +++ b/src/app/client/src/app/modules/merge-account/components/merge-account-status/merge-account-status.component.scss @@ -3,4 +3,8 @@ .sb-merged-account-body-para.sb-color-success{ color:var(--success-color); +} + +.sb-certificatePage-logo { + width: calculateRem(150px); } \ No newline at end of file diff --git a/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.spec.ts b/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.spec.ts index 804754de5ad..4fd6fae8193 100644 --- a/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.spec.ts +++ b/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.spec.ts @@ -150,6 +150,7 @@ describe('ObservationListingComponent', () => { }); it('should call playcontent component', () => { + component.categoryKeys = [{code:'solution'}, {code:'solution_type'}, {code:'program'}, {code:'entityType'},{code:'programName'}] const mockEvent = { data: { programId: 'mock-program-id', @@ -167,7 +168,7 @@ describe('ObservationListingComponent', () => { solutionId: data.solutionId, observationId: data._id, solutionName: data.name, - programName: data.subject[0], + programName: data[component.categoryKeys[4].code], entityType: data.entityType }) expect(component.router.navigate).toHaveBeenCalledWith(['observation/details'], { diff --git a/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.ts b/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.ts index efc4fde7d70..81d6be52c20 100644 --- a/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.ts +++ b/src/app/client/src/app/modules/observation/components/observation-listing/observation-listing.component.ts @@ -338,7 +338,7 @@ export class ObservationListingComponent solutionId: data.solutionId, observationId: data._id, solutionName: data.name, - programName: data.subject[0], + programName: data[this.categoryKeys[4].code], entityType:data.entityType }; this.router.navigate(['observation/details'], { diff --git a/src/app/client/src/app/modules/player-helper/components/contentplayer-page/contentplayer-page.component.ts b/src/app/client/src/app/modules/player-helper/components/contentplayer-page/contentplayer-page.component.ts index fcc845d3063..10c15ecfa65 100644 --- a/src/app/client/src/app/modules/player-helper/components/contentplayer-page/contentplayer-page.component.ts +++ b/src/app/client/src/app/modules/player-helper/components/contentplayer-page/contentplayer-page.component.ts @@ -118,7 +118,7 @@ export class ContentPlayerPageComponent implements OnInit, OnDestroy, OnChanges this.playerService.getContent(this.contentId, params) .pipe(takeUntil(this.unsubscribe$)) .subscribe(response => { - this.contentDetails = _.get(response, 'result.content') || _.get(response, 'result.questionset'); + this.contentDetails = _.get(response, 'result.content') || _.get(response, 'result.questionset') || _.get(response, 'result.questionSet'); const status = !_.has(this.contentDetails, 'desktopAppMetadata.isAvailable') ? false : !_.get(this.contentDetails, 'desktopAppMetadata.isAvailable'); this.isContentDeleted.next({value: status}); diff --git a/src/app/client/src/app/modules/player-helper/components/player/player.component.scss b/src/app/client/src/app/modules/player-helper/components/player/player.component.scss index 0e2ff2c9cf2..95f8c9e434a 100644 --- a/src/app/client/src/app/modules/player-helper/components/player/player.component.scss +++ b/src/app/client/src/app/modules/player-helper/components/player/player.component.scss @@ -132,3 +132,6 @@ overflow: hidden; position: relative; } +.contentViewerIframeShadow.player-fullscreen .custom-web-player{ + height: calc(100vh - 4rem); +} \ No newline at end of file diff --git a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html index 956009dcee9..9b15f8ae670 100644 --- a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html +++ b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html @@ -56,26 +56,25 @@