Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
952bde85
Commit
952bde85
authored
Jan 24, 2020
by
Chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S53341989 - Show Incomplete is incorrect.
Send job id in the message when cloasing the message window.
parent
054ef1d0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
admin-portal-layout.component.html
...al/admin-portal-layout/admin-portal-layout.component.html
+1
-1
admin-portal-layout.component.ts
...rtal/admin-portal-layout/admin-portal-layout.component.ts
+6
-0
message-engine.component.html
...p/components/message-engine/message-engine.component.html
+1
-1
message-engine.component.ts
...app/components/message-engine/message-engine.component.ts
+13
-1
No files found.
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.html
View file @
952bde85
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<p-dialog
#
messageEngine
[(
visible
)]="
showChat
"
header=
""
[
modal
]="
true
"
[
responsive
]="
true
"
[
resizable
]="
false
"
<p-dialog
#
messageEngine
[(
visible
)]="
showChat
"
header=
""
[
modal
]="
true
"
[
responsive
]="
true
"
[
resizable
]="
false
"
class=
"message-engine"
[
style
]="{
width:
'
300px
',
height:
'
500px
'}"
>
class=
"message-engine"
[
style
]="{
width:
'
300px
',
height:
'
500px
'}"
>
<app-message-engine
*
ngIf=
"showChat"
[
embedded
]="
true
"
[
jobApplicationID
]="
jobApplicationID
"
<app-message-engine
*
ngIf=
"showChat"
[
embedded
]="
true
"
[
jobApplicationID
]="
jobApplicationID
"
(
minimize
)="
showChat =
false
"
></app-message-engine>
(
minimize
)="
minimizeWindow
($
event
)
"
></app-message-engine>
</p-dialog>
</p-dialog>
<div
*
ngIf=
"showBubble"
class=
"chat-icon"
(
click
)="
showChat =
!showChat"
></div>
<div
*
ngIf=
"showBubble"
class=
"chat-icon"
(
click
)="
showChat =
!showChat"
></div>
<p-progressSpinner
animationDuration=
"1s"
*
ngIf=
"showLoader"
></p-progressSpinner>
<p-progressSpinner
animationDuration=
"1s"
*
ngIf=
"showLoader"
></p-progressSpinner>
...
...
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.ts
View file @
952bde85
...
@@ -221,6 +221,12 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
...
@@ -221,6 +221,12 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
}
}
}
}
minimizeWindow
(
response
:
any
):
void
{
this
.
showChat
=
false
;
this
.
iframeMsgHandlingService
.
postMessage
(
response
);
}
ngOnDestroy
():
void
{
ngOnDestroy
():
void
{
this
.
utilsService
.
unsubscribeSubscriptions
(
this
.
subscriptions
);
this
.
utilsService
.
unsubscribeSubscriptions
(
this
.
subscriptions
);
}
}
...
...
frontend/angular/src/app/components/message-engine/message-engine.component.html
View file @
952bde85
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
class=
"chief-officer mb-0"
>
<div
class=
"chief-officer mb-0"
>
{{heading}}
{{heading}}
</div>
</div>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
(
click
)="
minimize
.
emit
()"
>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
(
click
)="
minimize
Window
()"
>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
</a>
</a>
</div>
</div>
...
...
frontend/angular/src/app/components/message-engine/message-engine.component.ts
View file @
952bde85
...
@@ -48,6 +48,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
...
@@ -48,6 +48,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
loggedInId
=
null
;
loggedInId
=
null
;
showLoader
=
false
;
showLoader
=
false
;
heading
=
'...'
;
heading
=
'...'
;
markedAsRead
:
boolean
=
false
;
constructor
(
constructor
(
private
router
:
Router
,
private
router
:
Router
,
...
@@ -175,7 +176,10 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
...
@@ -175,7 +176,10 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
};
};
this
.
utilsService
.
processObjects
(
'MarkAsRead'
,
params
)
this
.
utilsService
.
processObjects
(
'MarkAsRead'
,
params
)
.
subscribe
(
.
subscribe
(
()
=>
this
.
showLoader
=
false
,
()
=>
{
this
.
showLoader
=
false
;
this
.
markedAsRead
=
true
;
},
err
=>
{
err
=>
{
this
.
utilsService
.
handleError
(
err
);
this
.
utilsService
.
handleError
(
err
);
this
.
showLoader
=
false
;
this
.
showLoader
=
false
;
...
@@ -183,6 +187,14 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
...
@@ -183,6 +187,14 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
);
);
}
}
minimizeWindow
():
void
{
let
response
=
{
"JobAppID"
:
this
.
utilsService
.
getId
(
this
.
jobApplication
.
ObjectID
),
"MarkedAsRead"
:
this
.
markedAsRead
}
this
.
minimize
.
emit
(
response
);
}
saveEngineApplicantView
():
void
{
saveEngineApplicantView
():
void
{
if
(
this
.
showLoader
)
{
if
(
this
.
showLoader
)
{
return
;
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment