FlowFuse / FlowFuse/flowfuse

HS Chat Bubble Not Updating on URL Change

Open
#4,231 1 comment 0 reactions 0 assignees View on GitHub
task
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 21h
Merged PRs (30d)
146

Description

### Description

We have more than one HS chat bubble to be displayed according to the URL. The chat bubble in our app does not update correctly when navigating between pages. It requires a page refresh to display the correct chat bubble, unlike the website where it works as expected.

### Details:

- Platform: Website and App
- Chat Flow Types:
- Generic Chat: Available on most pages (works as expected)
- App chat:
- Screenshot 2024-07-22 at 14 46 07

- Specific Chat:
- Website: Only on docs pages (works as expected)
- App: Only on the billing setup page `app.flowfuse.com/team/*/settings/change-type` and should pop up after a second.
- Screenshot 2024-07-22 at 14 47 05

### Issue in App:

- The specific chat bubble for the billing setup page only appears correctly after a page refresh.
- When navigating to a different page, the chat bubble remains the same until the page is refreshed again.
- Tried using both the wildcard option and the contains option, but the issue persists.

### Expected Behavior:

The chat bubble should update automatically based on the URL changes without requiring a page refresh, similar to the behavior on the website.

### Steps to Reproduce:

- Navigate to the billing setup page in the app `app.flowfuse.com/team/*/settings/change-type`.
- Observe the chat bubble appearing correctly.
- Navigate to a different page within the app.
- Notice that the chat bubble does not update.
- Refresh the page to see the correct chat bubble.

### Epic/Story

_No response_

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.