Skip to content

Commit b7f6dea

Browse files
Merge pull request #1402 from PrefectHQ/chore/sf-chat-removal-2024-10-18
Chore: Remove sf chat plugin and styles
2 parents 2fa1134 + eafd467 commit b7f6dea

File tree

3 files changed

+0
-125
lines changed

3 files changed

+0
-125
lines changed

src/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { CreatePrefectUI } from '@/app.js'
44
import store from '@/store'
55
import jwt_decode from 'jwt-decode'
66
import LogRocket from 'logrocket'
7-
import { initializeSalesforceChat } from '@/plugins/salesforceChat.js'
87

98
export const setStartupTenant = async () => {
109
const path = window.location.pathname
@@ -65,7 +64,6 @@ export const setStartupTenant = async () => {
6564

6665
if (process.env.VUE_APP_BACKEND === 'CLOUD') {
6766
await store.dispatch('license/getLicense')
68-
initializeSalesforceChat()
6967
}
7068
}
7169

src/plugins/salesforceChat.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/styles/global.scss

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -675,64 +675,4 @@ $fa-cc-visa: #0157a2;
675675

676676
.fa-cc-visa {
677677
color: $fa-cc-visa !important;
678-
}
679-
680-
// Chat widget styles
681-
[embeddedservice-chatheader_chatheader-host] {
682-
background-color: var(--v-primary-base) !important;
683-
}
684-
685-
.embeddedServiceSidebar {
686-
box-sizing: content-box !important;
687-
688-
a {
689-
color: var(--v-anchor-base);
690-
text-decoration: none;
691-
}
692-
693-
.plainText {
694-
color: rgba(0, 0, 0, 0.87) !important;
695-
}
696-
697-
.chasitor[c-chatMessage_chatMessage] {
698-
background: var(--v-primary-base) !important;
699-
700-
a {
701-
color: var(--v-white-base) !important;
702-
text-decoration: underline;
703-
}
704-
}
705-
706-
.slds-icon {
707-
max-height: 16px;
708-
max-width: 16px;
709-
}
710-
711-
.messageArea {
712-
border: 1px solid transparent;
713-
}
714-
715-
.embeddedServiceLiveAgentStateChatItem.chatMessage button:hover,
716-
.embeddedServiceLiveAgentStateChatItem.chatMessage button:hover:focus {
717-
background: var(--v-primary-base) !important;
718-
color: var(--v-secondaryGrayLight-base) !important;
719-
}
720-
}
721-
722-
.embeddedServiceHelpButton {
723-
.uiButton {
724-
background-color: var(--v-primary-base) !important;
725-
}
726-
}
727-
728-
729-
730-
:root {
731-
--lwc-esColorBackgroundAlt2: var(--v-primary-base) !important;
732-
--lwc-colorBackgroundAlt2Darken20: var(--v-primary-lighten1) !important;
733-
--lwc-colorBrandSecondaryLuminance0: var(--v-prefect-base) !important;
734-
--lwc-colorTextDefault: rgba(0, 0, 0, 0.87) !important;
735-
--lwc-colorBackgroundContrastPrimary: var(--v-primary-base) !important;
736-
--lwc-colorBrandSecondary: var(--v-primaryDark-base) !important;
737-
--lwc-colorBrandSecondaryDarken40: var(--v-primaryDark-lighten1) !important;
738678
}

0 commit comments

Comments
 (0)