generated from navikt/crm-shared-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from navikt/chatReporting
Chat reporting on Threat button
- Loading branch information
Showing
11 changed files
with
141 additions
and
17 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
force-app/main/default/aura/afterworkEvent/afterworkEvent.evt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<aura:event type="APPLICATION" description="Event template"> | ||
<aura:attribute name="tabId" type="String" /> | ||
<aura:attribute name="recordId" type="String" /> | ||
<aura:attribute name="reportingId" type="String" /> | ||
<aura:attribute name="type" type="String" /> | ||
</aura:event> |
1 change: 1 addition & 0 deletions
1
force-app/main/default/aura/nksChatAfterWork/nksChatAfterWork.cmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
force-app/main/default/aura/nksChatAfterWorkBackground/nksChatAfterWorkBackground.cmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
<aura:component implements="flexipage:availableForAllPageTypes, lightning:backgroundUtilityItem"> | ||
<aura:component | ||
implements="flexipage:availableForAllPageTypes, lightning:backgroundUtilityItem" | ||
controller="NKS_ChatAfterWork" | ||
> | ||
<lightning:workspaceAPI aura:id="workspace" /> | ||
<aura:handler event="lightning:tabClosed" action="{!c.onTabClosed}" /> | ||
|
||
<aura:handler event="lightning:conversationChatEnded" action="{!c.handleChatEnded}" /> | ||
<aura:attribute name="closedChatList" type="object[]" /> | ||
|
||
<aura:registerEvent name="appEvent" type="c:afterworkEvent" /> | ||
<aura:handler event="c:afterworkEvent" action="{!c.handleThreatReport}" /> | ||
<aura:attribute name="threatReportList" type="object[]" /> | ||
</aura:component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters