Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Chat launcher icon added nav bar, previous launch button hidden #1287

Merged
merged 3 commits into from
Jun 1, 2022

Conversation

space-age-pete
Copy link
Contributor

Description

The chat feature will now be launched from an icon in the navbar rather than the floating button that has been blocking the run button

Tests and performance

  • [X ] Changes to any .js files are covered by existing tests or this PR adds new tests (if not please explain why below)
  • No new packages are added or package size and performance considerations are discussed below
  • PR Title fits our changelog format

Copy link
Contributor

@znicholasbrown znicholasbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small comments @space-age-pete

@@ -108,6 +110,8 @@ export default {

<HelpMenu />

<ChatLauncher />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<ChatLauncher />
<ChatLauncher v-if="isCloud" />

This should only be on the nav bar if we're in a Cloud context.

@@ -15,7 +15,7 @@ export const initializeSalesforceChat = () => {
const license = store.getters['license/license']

const initESW = function(gslbBaseURL) {
window.embedded_svc.settings.displayHelpButton = true // Or false
window.embedded_svc.settings.displayHelpButton = false // Or false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
window.embedded_svc.settings.displayHelpButton = false // Or false
window.embedded_svc.settings.displayHelpButton = false

Probably no need for a comment here.

@zhen0
Copy link
Member

zhen0 commented Jun 1, 2022

Just checking - Are all the font-awesome file changes necessary?

@znicholasbrown
Copy link
Contributor

@zhen0 - yeah those are necessary to add new icons to the project

Copy link
Contributor

@znicholasbrown znicholasbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @space-age-pete

Closes: #1287

@znicholasbrown znicholasbrown merged commit 669db1a into master Jun 1, 2022
@znicholasbrown znicholasbrown deleted the chat-launcher-in-nav-bar branch June 1, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants