-
Notifications
You must be signed in to change notification settings - Fork 13.9k
feat: Livechat theming improvements #31772
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1a64d67
feat: added position to Livechat widget's theme
2d2e5c2
feat: added agent/guest bubble background color to widget's theme
2958f0e
feat: added background to widget's theme
56c9a9c
feat: added hideGuestAvatar and hideAgentAvatar to Livechat API's set…
5903f07
fix: guest avatar should be hidden by default
f788cb3
chore: stylelint
ee58ed6
fix: use default position when custom position is invalid
57d5b97
fix: position not being in sync between widget and hook
8b89467
fix: not display avatars when username is not available
a828de8
chore: removed unnused import
17a3552
chore: changeset
ba0a8a0
fix: prevent widget from storing invalid position
9f94d75
chore: changeset
24842bf
chore: changeset
6d57ed7
chore: added warning for invalid widget positions
eff7a79
fix: changed new settings to enterprise
68effcc
refactor: moved new settings to ee folder
b7274dd
refactor: adjusted setTheme warn message
e42433e
feat: added i18n expressions for "left" and "right"
77f4388
feat: added a description to "Livechat background" setting
3f1dc46
Merge branch 'develop' into feat/livechat-theming-improvements
casalsgh 82bdd84
Merge branch 'develop' into feat/livechat-theming-improvements
kodiakhq[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| "@rocket.chat/meteor": minor | ||
| "@rocket.chat/livechat": minor | ||
| --- | ||
|
|
||
| Improved Livechat's theming capabilities | ||
|
|
||
|
|
||
| | Name (`setTheme`, `initialize`) | Workspace setting | Default value | Description | | ||
| |---------------------------------|----------------------------------------|---------------|-------------| | ||
| | `position` | Livechat widget position on the screen | `right` | Changes the widget position on the screen. Can be `left` or `right` | | ||
| | `background` | Livechat background | `N/A` | Changes the message list background. Accepts the same values as the CSS property [background](https://developer.mozilla.org/en-US/docs/Web/CSS/background) | | ||
| | `guestBubbleBackgroundColor` | `N/A` | `N/A` | Changes the guest's message bubble background color | | ||
| | `agentBubbleBackgroundColor` | `N/A` | `N/A` | Changes the agent's message bubble background color | | ||
| | `hideGuestAvatar` | `N/A` | `false` | Hides/shows the guest avatar | | ||
| | `hideAgentAvatar` | `N/A` | `true` | Hides/shows the agent avatar | | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.