Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
db3c71e
changes in the url based on bucket name
Aug 1, 2024
30dd78d
Merge branch 'main' of github.com:sunbird-cb/sb-cb-ui-components into…
Aug 1, 2024
31d2b92
lint -fix
Aug 1, 2024
b011b03
update for removal of email address
vishnubansaltarento Aug 12, 2024
5fcaa40
Merge pull request #1 from KB-iGOT/removal-of-email-address
bharathravi-in Aug 12, 2024
a90832b
PipePublicUrl issue fix for GCW env
Aug 18, 2024
5af45e7
Merge pull request #2 from abhishek-K-P/main
abhishek-K-P Aug 18, 2024
586ac14
dialog component for certificate
Aug 20, 2024
25ce13a
Merge pull request #3 from bharathravi-in/dialog-component
bharathravi-in Aug 20, 2024
656cd2b
KB-6241 fix
garima468 Aug 20, 2024
c0f477a
Merge pull request #4 from KB-iGOT/KB-6241-fix
vishnubansaltarento Aug 21, 2024
940eed7
changes in the microsite pages
Aug 21, 2024
1f60512
Merge pull request #6 from bharathravi-in/microsite-changes-in-package
venkykandagaddala Aug 21, 2024
a11b19c
version change
Aug 21, 2024
c4004a2
Merge pull request #7 from bharathravi-in/main
bharathravi-in Aug 21, 2024
bb27795
National learning micro-site page setup
venkykandagaddala Aug 21, 2024
df67806
Key highlights component added to Natioanl learning microsite
venkykandagaddala Aug 22, 2024
9f087f8
update for fitb changes
vishnubansaltarento Aug 23, 2024
9e75b7f
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Aug 23, 2024
d40ca9d
Merge pull request #8 from KB-iGOT/removal-of-email-address
christyfernandes Aug 23, 2024
b22f6dc
update for fitb package
vishnubansaltarento Aug 23, 2024
004e199
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Aug 23, 2024
21eb637
Merge pull request #9 from KB-iGOT/removal-of-email-address
christyfernandes Aug 23, 2024
486a598
National learning week - MDO leaderboard
venkykandagaddala Aug 26, 2024
2c4703f
API integration to get the MDO users
venkykandagaddala Aug 27, 2024
d411a3a
update for fitb
vishnubansaltarento Aug 27, 2024
fe83e91
Merge pull request #10 from KB-iGOT/removal-of-email-address
bharathravi-in Aug 27, 2024
60394d8
ati-cti changes
Aug 30, 2024
dc7e5cb
Merge pull request #11 from bharathravi-in/competency-passbook
bharathravi-in Aug 30, 2024
b82abb8
changes in competency passbok
Sep 2, 2024
5fa1986
Merge pull request #12 from bharathravi-in/competency-passbook
bharathravi-in Sep 2, 2024
5b37256
conflicts resolved
Sep 2, 2024
29383b9
update for assessment question preview
vishnubansaltarento Sep 3, 2024
3f7fce4
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Sep 3, 2024
5aa330a
update for assessment viewer
vishnubansaltarento Sep 4, 2024
8f398d5
update for assessment question viewer
vishnubansaltarento Sep 4, 2024
52d2941
Merge pull request #13 from KB-iGOT/removal-of-email-address
bharathravi-in Sep 4, 2024
940a717
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into gc…
Sep 4, 2024
2331733
update for mtf ui
vishnubansaltarento Sep 4, 2024
217e3f8
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Sep 4, 2024
04929cd
Merge pull request #14 from KB-iGOT/removal-of-email-address
bharathravi-in Sep 4, 2024
a199ad2
update for mtf question on top
vishnubansaltarento Sep 5, 2024
592c330
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Sep 5, 2024
befd080
Merge pull request #15 from KB-iGOT/removal-of-email-address
christyfernandes Sep 5, 2024
4bf4324
update for question mtf layout change
vishnubansaltarento Sep 6, 2024
424b286
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into re…
vishnubansaltarento Sep 6, 2024
5901369
Merge pull request #16 from KB-iGOT/removal-of-email-address
bharathravi-in Sep 6, 2024
ac49368
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into gc…
Sep 11, 2024
3ab8235
Merge pull request #1 from venkykandagaddala/main
venkykandagaddala Sep 12, 2024
fdcf071
NLW - phase 2
venkykandagaddala Sep 12, 2024
4e820ad
NLW metrics fixes
venkykandagaddala Sep 12, 2024
aa58aa2
changes in the ptofile image
Sep 13, 2024
597a211
changes in the ptofile image
Sep 13, 2024
5b8765d
Merge pull request #17 from bharathravi-in/gcp-utils-v2
vishnubansaltarento Sep 13, 2024
4217dbf
Added compentency key
SohithTech Sep 13, 2024
76845e5
Merge pull request #18 from Sohith-code/add-competency-key
christyfernandes Sep 13, 2024
6453400
Changed package version
SohithTech Sep 13, 2024
5632f88
Merge branch 'KB-iGOT:main' into add-competency-key
Sohith-code Sep 13, 2024
aca239b
Merge pull request #19 from Sohith-code/add-competency-key
christyfernandes Sep 13, 2024
a11dca9
added competency key on configuration model
Sohith-code Sep 18, 2024
1eaf5db
Merge branch 'main' of https://github.com/Sohith-code/sb-cb-ui-compon…
Sohith-code Sep 18, 2024
9a14eed
minir change
Sohith-code Sep 18, 2024
862bc92
Merge pull request #21 from Sohith-code/add-competency-key
vishnubansaltarento Sep 18, 2024
65df1bf
Dynamic Compentency related changes
Sohith-code Sep 18, 2024
c1a4fbc
Merge branch 'main' of https://github.com/Sohith-code/sb-cb-ui-compon…
Sohith-code Sep 18, 2024
da37a7c
Added optimal check
Sohith-code Sep 18, 2024
3c44bac
Merge pull request #22 from Sohith-code/add-competency-key
vishnubansaltarento Sep 18, 2024
deba284
Highlights of the week and speekers of the week
venkykandagaddala Sep 18, 2024
5fdac2d
NLW - metrics API integration, user week progress
venkykandagaddala Sep 19, 2024
c0ec7c1
NLW- week progress
venkykandagaddala Sep 20, 2024
4e60800
NLW- user week progress
venkykandagaddala Sep 20, 2024
47a4344
User week progesss API & Explore Events
venkykandagaddala Sep 23, 2024
4b27226
Events componentand telemetry changes
venkykandagaddala Sep 24, 2024
3915262
NLW - M-site fixes
venkykandagaddala Sep 25, 2024
bf08378
Removed unused code
venkykandagaddala Sep 25, 2024
dd31857
Merge pull request #23 from venkykandagaddala/NLW
venkykandagaddala Sep 26, 2024
f172583
M-site fixes
venkykandagaddala Sep 26, 2024
476d184
Merge pull request #24 from venkykandagaddala/NLW
venkykandagaddala Sep 26, 2024
f9c2173
Package version increment
venkykandagaddala Sep 27, 2024
dcf2ae1
Merge branch 'National-Learning-Week' into NLW
venkykandagaddala Sep 27, 2024
989146d
Merge pull request #25 from venkykandagaddala/NLW
venkykandagaddala Sep 27, 2024
eb4c145
Merge pull request #26 from KB-iGOT/National-Learning-Week
venkykandagaddala Sep 27, 2024
36f47b9
UI fixes
venkykandagaddala Sep 27, 2024
63b216c
package increment
venkykandagaddala Sep 27, 2024
2cf09e8
Fixed the user week progress section with user details
venkykandagaddala Sep 30, 2024
9110f3f
Merge remote-tracking branch 'refs/remotes/origin/NLW' into NLW
venkykandagaddala Sep 30, 2024
f4f0729
Merge pull request #27 from venkykandagaddala/NLW
venkykandagaddala Sep 30, 2024
4c40804
updated package version
venkykandagaddala Sep 30, 2024
3ff4acf
Merge pull request #28 from venkykandagaddala/NLW
venkykandagaddala Sep 30, 2024
cdfa88e
Merge pull request #29 from venkykandagaddala/NLW
venkykandagaddala Sep 30, 2024
402c657
changes in telemetry for ananmous user
Oct 1, 2024
7589cd2
Merge pull request #30 from bharathravi-in/utills-telemetry-changes
bharathravi-in Oct 1, 2024
b0f2bb3
update for preview issue
vishnubansaltarento Oct 1, 2024
d82bccd
Merge pull request #31 from KB-iGOT/assessment-preview-issue-fix
christyfernandes Oct 1, 2024
ea10228
update for preview
vishnubansaltarento Oct 1, 2024
5f5f5ed
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into as…
vishnubansaltarento Oct 1, 2024
cffbb2e
Merge pull request #32 from KB-iGOT/assessment-preview-issue-fix
christyfernandes Oct 1, 2024
fd24298
update for preview
vishnubansaltarento Oct 1, 2024
6e2fa15
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into as…
vishnubansaltarento Oct 1, 2024
22094be
Merge pull request #33 from KB-iGOT/assessment-preview-issue-fix
christyfernandes Oct 1, 2024
0517137
update for paragraph assessment
vishnubansaltarento Oct 3, 2024
6840898
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into as…
vishnubansaltarento Oct 3, 2024
fbafb4a
update for paragraph assessment
vishnubansaltarento Oct 3, 2024
6a072fc
Merge pull request #34 from KB-iGOT/assessment-preview-issue-fix
bharathravi-in Oct 3, 2024
44b036c
changes in the strip of national learning week
Oct 4, 2024
d3ad855
Merge pull request #37 from bharathravi-in/main
bharathravi-in Oct 4, 2024
ff70f35
changes in the strip of national learning week
Oct 4, 2024
c795341
Merge pull request #38 from bharathravi-in/main
bharathravi-in Oct 4, 2024
e0048bc
Added Competency variable in config and model
Sohith-code Oct 4, 2024
c6c7217
Merge branch 'KB-iGOT:main' into main
Sohith-code Oct 4, 2024
51d13a4
Merge pull request #39 from Sohith-code/main
vishnubansaltarento Oct 4, 2024
7f4e9a7
Bug fix - KB-6996
venkykandagaddala Oct 7, 2024
f970bd7
Bug fix - KB-6997
venkykandagaddala Oct 7, 2024
35735fb
update the package version
venkykandagaddala Oct 7, 2024
141e064
Merge pull request #40 from venkykandagaddala/NLW-Bugs
venkykandagaddala Oct 7, 2024
375253a
update for assessment package
vishnubansaltarento Oct 8, 2024
326b6f3
Merge branch 'main' of github.com:KB-iGOT/sb-cb-ui-components into as…
vishnubansaltarento Oct 8, 2024
da9eba2
update for assessment issue
vishnubansaltarento Oct 8, 2024
a07eb94
Merge pull request #41 from KB-iGOT/assessment-preview-issue-fix
vishnubansaltarento Oct 8, 2024
42664f4
Task #0000: Discussion v2 library
christyfernandes Oct 8, 2024
15bae8b
Task #0000: Discussion v2 library
christyfernandes Oct 8, 2024
1c143f7
Merge pull request #42 from christyfernandes/main
christyfernandes Oct 8, 2024
76007f8
Fixed the telemetry events
venkykandagaddala Oct 9, 2024
a69b372
Updated the consumption package to 89
venkykandagaddala Oct 9, 2024
eeb5b3c
Merge pull request #43 from venkykandagaddala/main
venkykandagaddala Oct 9, 2024
a77b47c
updated the package to 90
venkykandagaddala Oct 9, 2024
7adcd41
Merge pull request #44 from venkykandagaddala/main
venkykandagaddala Oct 9, 2024
9dc18d0
changes in enrollment api
Oct 9, 2024
40a8e82
Merge pull request #45 from bharathravi-in/enrollment-issues
vishnubansaltarento Oct 9, 2024
4cbb058
changes for nlw content
Oct 16, 2024
96cb193
Merge pull request #46 from bharathravi-in/changes-in-nlw
bharathravi-in Oct 16, 2024
641cdc6
filter and sort live events
Oct 17, 2024
39c9672
Merge pull request #47 from bharathravi-in/filter-live-enents
vishnubansaltarento Oct 17, 2024
6aec968
Comments section changes
Sohith-code Oct 18, 2024
260f100
Merge branch 'KB-iGOT:main' into main
Sohith-code Oct 18, 2024
46bf5ab
Changed ui-discussion-v2 package version
Sohith-code Oct 18, 2024
41d81d5
changes in the ui
Oct 18, 2024
5ed118f
Merge pull request #49 from bharathravi-in/filter-live-enents
bharathravi-in Oct 18, 2024
8101855
Merge pull request #48 from Sohith-code/main
sureshece16 Oct 19, 2024
355ea90
changes in the lint errors
Oct 20, 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sunbird-cb/assessment",
"version": "0.0.6",
"version": "0.0.17",
"main": "./src/public-api.ts",
"peerDependencies": {
"@angular/animations": "~8.2.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
<!-- <router-outlet (activate)="getContentData($event)"></router-outlet> -->
<div class="assessment-preview-dialog">
<div [ngClass]="questionPreview ? 'assessment-preview-dialog-question-preview' : 'assessment-preview-dialog'">
<button mat-icon-button class="close-button cursor-pointer" [mat-dialog-close]="true">
<mat-icon class="close-icon">close</mat-icon>
</button>
<div class="margin-m" *ngIf="!isFetchingDataComplete || !testData">
<div class="flex flex-center">
<mat-spinner></mat-spinner>
<ng-container *ngIf="!questionPreview">
<div class="margin-m" *ngIf="!isFetchingDataComplete || !testData">
<div class="flex flex-center">
<mat-spinner></mat-spinner>
</div>
</div>
</div>
<ng-container *ngIf="testData && isFetchingDataComplete">
<!-- <viewer-practice-container *ngIf="isFetchingDataComplete" [isFetchingDataComplete]="isFetchingDataComplete"
[isErrorOccured]="isErrorOccured" [quizData]="testData" [forPreview]="forPreview" [quizJson]="quizJson"
[fromCreation]="true">
</viewer-practice-container> -->
<viewer-plugin-practice [identifier]="testData?.identifier" [artifactUrl]="testData?.artifactUrl"
[name]="testData?.name" [learningObjective]="testData?.name" [primaryCategory]="testData?.primaryCategory"
[complexityLevel]="testData?.difficultyLevel" [duration]="testData?.expectedDuration || 1" [quizJson]="quizJson"
[collectionId]="collectionId" [fromCreation]="fromCreation" [quizData]="testData">
</viewer-plugin-practice>
<ng-container *ngIf="testData && isFetchingDataComplete">
<!-- <viewer-practice-container *ngIf="isFetchingDataComplete" [isFetchingDataComplete]="isFetchingDataComplete"
[isErrorOccured]="isErrorOccured" [quizData]="testData" [forPreview]="forPreview" [quizJson]="quizJson"
[fromCreation]="true">
</viewer-practice-container> -->
<viewer-plugin-practice [identifier]="testData?.identifier" [artifactUrl]="testData?.artifactUrl"
[name]="testData?.name" [learningObjective]="testData?.name" [primaryCategory]="testData?.primaryCategory"
[complexityLevel]="testData?.difficultyLevel" [duration]="testData?.expectedDuration || 1" [quizJson]="quizJson"
[collectionId]="collectionId" [fromCreation]="fromCreation" [quizData]="testData">
</viewer-plugin-practice>
</ng-container>
</ng-container>
<ng-container *ngIf="questionPreview">
<viewer-question [showQuestionMarks]="data.assesment.marks ? 'Yes':'No'"
[selectedAssessmentCompatibilityLevel]="data.assesment.compatibilityLevel"
[questionNumber]="data.assesment.questionNumber" class="flex-1" [showOnlyQuestion]="true"
[questionPreview]="questionPreview" [assessmentType]="data.assesment.assessmentType"
[question]="data.assesment.question"></viewer-question>
<viewer-question [showQuestionMarks]="data.assesment.marks ? 'Yes':'No'"
[selectedAssessmentCompatibilityLevel]="data.assesment.compatibilityLevel"
[questionNumber]="data.assesment.questionNumber" [assessmentType]="data.assesment.assessmentType" class="flex-1"
[questionPreview]="questionPreview" [showOnlyQuestion]="false"
[question]="data.assesment.question"></viewer-question>
</ng-container>
</div>
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
::ng-deep .assessment-preview .mat-dialog-container {
padding: 10px !important;
overflow: visible
overflow: visible;
}

::ng-deep .assessment-preview-dialog-question-preview .mat-dialog-container {
padding: 10px !important;
overflow-y: auto;
}

::ng-deep .assessment-preview-dialog {
Expand Down Expand Up @@ -33,4 +38,40 @@
}
}

}

::ng-deep .assessment-preview-dialog-question-preview {
height: 98%;
overflow-y: auto;
overflow-x: hidden;
margin-top: 15px;

.close-button {
border-radius: 50%;
border: 0.5px solid #6a6868;
width: 30px;
height: 30px;
position: absolute;
top: 19%;
right: 19.5%;
background-color: white;

.close-icon {
font-size: 20px;
// margin-bottom: 12px;
// margin-left: 1px;
color: #7c7b7b;
}

.mat-icon {
height: 16px;
width: 16px;
margin-top: 3px;
margin-left: -3px;
}

.cursor-pointer {
cursor: pointer;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ export class CommonAssessmentViewerComponent implements OnInit {
quizJson: any
fromCreation = true
collectionId = ''
questionPreview = false
ngOnInit() {
// tslint:disable-next-line
console.log('this.data', this.data)
if (this.data) {
// tslint:disable-next-line
console.log('this.data', this.data)
this.questionPreview = this.data.questionPreview
this.isFetchingDataComplete = this.data.isFetchingDataComplete
this.testData = this.data.testData
this.isErrorOccured = this.data.isErrorOccured
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<mat-card class="flex flex-1 flex-column padding-xl ws-mat-accent-border no-shadow fitb-questions">
<span class="mat-subheading-2" i18n>Instruction</span>
<span class="mat-body-2 margin-bottom-l" i18n>{{ question?.instructions || 'Fill in the blank with the best
word'}}</span>
<ng-container *ngIf="selectedAssessmentCompatibilityLevel < 7">
<span class="mat-subheading-2" i18n>Instruction</span>
<span class="mat-body-2 margin-bottom-l" i18n>{{
question?.instructions || 'Fill in the blank with the best
word'}}</span>
</ng-container>
<h2 *ngIf="question.questionType === 'ftb'" class="mat-h2" [innerHTML]="safeQuestion" class="quiz-question">
</h2>

<div *ngIf="question.questionType === 'ftb'">
<div *ngIf="question.questionType === 'ftb' && !questionPreview">
<div *ngFor="let option of question?.options; let i = index">
<div class="html-option" [ngClass]="{
'correct-option': viewState === 'answer' && option?.isCorrect
}" *ngIf="viewState === 'answer' && option?.isCorrect" [innerHtml]="getSanitizeString(option?.text) ">

</div>
<div class="background-well padding-left-m padding-xs" *ngIf="showAns && option?.hint && !unTouchedBlank[i]"
[ngClass]="{
Expand Down
Loading