Skip to content

[front] Tenant support chat minds#4889

Ben requested to merge feat/tenant-chatwoot-m4889 into master

Ticket(s) / Related Merge Requests

Summary of Changes

minds#4889 (closed)

Testing Considerations

Deployed to https://ben3.oke.minds.io/ Non-tenant inbox will be the sandbox inbox, tenant inbox will be the networks one we just set up.

Tenant
  • When logged into an admin user and refreshing, chatwoot bubble is there.
  • When not logged into a non-admin user and refreshing, chatwoot bubble is not there.
  • When not logged in and refreshing, chatwoot bubble is not there.
  • When logging into an admin user, chatwoot bubble is there.
  • When logging into a non admin user, chatwoot bubble is not there.
  • On admin user, when opening a Minds chat and navigating to another tab, chatwoot bubble is there.
  • On a non-admin user, when opening a Minds chat and navigating to another tab, chatwoot bubble is not there.
Non-tenant
  • Chatwoot bubble is there for logged-out users.
  • Chatwoot bubble is there for logged-in users.

Deployment Considerations

!!! Production vault needs updating with new keys !!!

Need to merge helm and ensure that the keys are correctly set in vault

tenant_chatwoot_website_token (website token from iframe) tenant_chatwoot_signing_key (User Identity Validation)

The values for these can be found by logging into chatwoot and going to https://app.chatwoot.com/app/accounts/79115/settings/inboxes/42026

Any issues let me know.

Regression Scope

Chatwoot.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (jasmine/karma), unit (phpspec).

Screenshots / Screen Recording

Tenant
When logged into an admin user and refreshing, chatwoot bubble is there.

simplescreenrecorder-2024-05-29_13.03.05

When not logged into a non-admin user and refreshing, chatwoot bubble is not there.

simplescreenrecorder-2024-05-29_13.03.53

When not logged in and refreshing, chatwoot bubble is not there.

simplescreenrecorder-2024-05-29_13.04.17

When logging into an admin user, chatwoot bubble is there / When logging into a non admin user, chatwoot bubble is not there.

simplescreenrecorder-2024-05-29_13.04.56

On admin user, when opening a Minds chat and navigating to another tab, chatwoot bubble is there.

simplescreenrecorder-2024-05-29_13.08.18

On a non-admin user, when opening a Minds chat and navigating to another tab, chatwoot bubble is not there.

simplescreenrecorder-2024-05-29_13.08.52

Non-tenant
Chatwoot bubble is there for logged-out users.

image

Chatwoot bubble is there for logged-in users.

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports