Rocket.Chat
Rocket.Chat copied to clipboard
chore: Refactor & Improve Livechat Widget API
TODO
- [x] Refactor Hooks.js and Widget.js to Typescript
- [ ] Improve Error handling in API calls (today we basically check almost nothing)
- [x] Create tests for the Livechat API (Probably will be done in another PR, with the old API as base so we are sure nothing was broken)
- [ ] Review Existing documentation on the API
🦋 Changeset detected
Latest commit: 654cb1973a2b366fc0d8f3c90718dc3552469fd1
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
Name | Type |
---|---|
@rocket.chat/livechat | Minor |
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 Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 54.57%. Comparing base (
cd5cbe2
) to head (654cb19
). Report is 9 commits behind head on develop.
Additional details and impacted files
@@ Coverage Diff @@
## develop #30924 +/- ##
===========================================
+ Coverage 54.49% 54.57% +0.07%
===========================================
Files 2270 2276 +6
Lines 50095 50148 +53
Branches 10219 10275 +56
===========================================
+ Hits 27300 27368 +68
- Misses 20322 20334 +12
+ Partials 2473 2446 -27
Flag | Coverage Δ | |
---|---|---|
unit | 76.47% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.