Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

[UIKit] New event handlers for the livechat widget#305

Merged
d-gubert merged 4 commits intobetafrom
uikit/livechat-widget-events
Aug 28, 2020
Merged

[UIKit] New event handlers for the livechat widget#305
d-gubert merged 4 commits intobetafrom
uikit/livechat-widget-events

Conversation

@d-gubert
Copy link
Copy Markdown
Member

@d-gubert d-gubert commented Aug 27, 2020

What? ⛵

Enables apps to listen to UIKit events that started in the livechat widget (for visitors)

Why? 🤔

The current UIKit events required a user to be always present in the event context, which is not true for events triggered in the livechat widget - the visitor is not considered a fully authenticated user.

The new interfaces should allow apps to listen to those events without introducing breaking changes to the API.

Links 🌎

RocketChat/Rocket.Chat#18706
This small app has been used for testing purposes https://github.com/d-gubert/conditional-block-test

PS 👀

@d-gubert d-gubert changed the base branch from alpha to beta August 27, 2020 16:47
@d-gubert d-gubert marked this pull request as ready for review August 27, 2020 18:10
@d-gubert d-gubert merged commit 89da726 into beta Aug 28, 2020
@d-gubert d-gubert deleted the uikit/livechat-widget-events branch August 28, 2020 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants