Skip to content

Commit

Permalink
Merge pull request #1402 from PrefectHQ/chore/sf-chat-removal-2024-10-18
Browse files Browse the repository at this point in the history
Chore: Remove sf chat plugin and styles
  • Loading branch information
znicholasbrown authored Oct 18, 2024
2 parents 2fa1134 + eafd467 commit b7f6dea
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 125 deletions.
2 changes: 0 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { CreatePrefectUI } from '@/app.js'
import store from '@/store'
import jwt_decode from 'jwt-decode'
import LogRocket from 'logrocket'
import { initializeSalesforceChat } from '@/plugins/salesforceChat.js'

export const setStartupTenant = async () => {
const path = window.location.pathname
Expand Down Expand Up @@ -65,7 +64,6 @@ export const setStartupTenant = async () => {

if (process.env.VUE_APP_BACKEND === 'CLOUD') {
await store.dispatch('license/getLicense')
initializeSalesforceChat()
}
}

Expand Down
63 changes: 0 additions & 63 deletions src/plugins/salesforceChat.js

This file was deleted.

60 changes: 0 additions & 60 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -675,64 +675,4 @@ $fa-cc-visa: #0157a2;

.fa-cc-visa {
color: $fa-cc-visa !important;
}

// Chat widget styles
[embeddedservice-chatheader_chatheader-host] {
background-color: var(--v-primary-base) !important;
}

.embeddedServiceSidebar {
box-sizing: content-box !important;

a {
color: var(--v-anchor-base);
text-decoration: none;
}

.plainText {
color: rgba(0, 0, 0, 0.87) !important;
}

.chasitor[c-chatMessage_chatMessage] {
background: var(--v-primary-base) !important;

a {
color: var(--v-white-base) !important;
text-decoration: underline;
}
}

.slds-icon {
max-height: 16px;
max-width: 16px;
}

.messageArea {
border: 1px solid transparent;
}

.embeddedServiceLiveAgentStateChatItem.chatMessage button:hover,
.embeddedServiceLiveAgentStateChatItem.chatMessage button:hover:focus {
background: var(--v-primary-base) !important;
color: var(--v-secondaryGrayLight-base) !important;
}
}

.embeddedServiceHelpButton {
.uiButton {
background-color: var(--v-primary-base) !important;
}
}



:root {
--lwc-esColorBackgroundAlt2: var(--v-primary-base) !important;
--lwc-colorBackgroundAlt2Darken20: var(--v-primary-lighten1) !important;
--lwc-colorBrandSecondaryLuminance0: var(--v-prefect-base) !important;
--lwc-colorTextDefault: rgba(0, 0, 0, 0.87) !important;
--lwc-colorBackgroundContrastPrimary: var(--v-primary-base) !important;
--lwc-colorBrandSecondary: var(--v-primaryDark-base) !important;
--lwc-colorBrandSecondaryDarken40: var(--v-primaryDark-lighten1) !important;
}

0 comments on commit b7f6dea

Please sign in to comment.