Skip to content

feat: Livechat theming improvements#31772

Merged
kodiakhq[bot] merged 22 commits intodevelopfrom
feat/livechat-theming-improvements
Mar 22, 2024
Merged

feat: Livechat theming improvements#31772
kodiakhq[bot] merged 22 commits intodevelopfrom
feat/livechat-theming-improvements

Conversation

@aleksandernsilva
Copy link
Copy Markdown
Contributor

@aleksandernsilva aleksandernsilva commented Feb 16, 2024

Proposed changes (including videos or screenshots)

Added two settings

  • Livechat widget position on the screen: Changes the widget position between left or right of the viewport
  • Livechat background: Changes the message list background. Receives the same value as the CSS's background property.

Added new properties to the setTheme method

  • position: Changes the widget position between left or right of the viewport
  • background: Changes the message list background. Receives the same value as the CSS's background property.
  • guestBubbleBackgroundColor: Changes the guest bubble background color
  • agentBubbleBackgroundColor: Changes the agent bubble background color
  • hideGuestAvatar: Hides the guest avatar
  • hideAgentAvatar: Hides the agent avatar

ℹ️ Tests for these theming improvements will be implemented in a separate task: PROSVC-79

Issue(s)

PROSVC-51
PROSVC-50

Steps to test or reproduce

Further comments

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 16, 2024

🦋 Changeset detected

Latest commit: 82bdd84

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@rocket.chat/meteor Minor
@rocket.chat/livechat Minor
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/gazzodown Major
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/api-client Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/models Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/uikit-playground Patch
@rocket.chat/web-ui-registration Major
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.68%. Comparing base (b33e5a9) to head (82bdd84).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #31772      +/-   ##
===========================================
- Coverage    54.74%   54.68%   -0.07%     
===========================================
  Files         2294     2298       +4     
  Lines        50641    50707      +66     
  Branches     10340    10353      +13     
===========================================
+ Hits         27723    27727       +4     
- Misses       20428    20484      +56     
- Partials      2490     2496       +6     
Flag Coverage Δ
e2e 53.71% <ø> (-0.05%) ⬇️
e2e-api 40.01% <ø> (-0.11%) ⬇️
unit 75.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from 6a8a478 to b1731f2 Compare February 16, 2024 18:34
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch 2 times, most recently from 53d5edc to b37299e Compare February 27, 2024 16:15
@aleksandernsilva aleksandernsilva marked this pull request as ready for review February 27, 2024 18:46
@aleksandernsilva aleksandernsilva requested review from a team as code owners February 27, 2024 18:46
Base automatically changed from hooks-ts to develop February 29, 2024 13:13
@aleksandernsilva aleksandernsilva marked this pull request as draft February 29, 2024 14:16
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from 2e7458b to 9a8dcae Compare February 29, 2024 14:25
@aleksandernsilva aleksandernsilva marked this pull request as ready for review March 1, 2024 14:19
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch 2 times, most recently from 89d45b2 to 64390b0 Compare March 4, 2024 23:43
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from 6aa4637 to 095daff Compare March 7, 2024 19:43
@aleksandernsilva aleksandernsilva marked this pull request as draft March 18, 2024 14:13
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from 095daff to 29b29d1 Compare March 18, 2024 14:50
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: conflict labels Mar 18, 2024
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from ff94a48 to e42433e Compare March 22, 2024 11:42
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: conflict stat: ready to merge PR tested and approved waiting for merge labels Mar 22, 2024
@aleksandernsilva aleksandernsilva force-pushed the feat/livechat-theming-improvements branch from 6238b6e to 77f4388 Compare March 22, 2024 13:54
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 22, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 22, 2024
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 22, 2024
@kodiakhq kodiakhq bot merged commit 9d23d40 into develop Mar 22, 2024
@kodiakhq kodiakhq bot deleted the feat/livechat-theming-improvements branch March 22, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants