Open jaoaustero opened 5 days ago
The changes involve a comprehensive renaming of function callbacks and properties related to the Tawk API across multiple files. All previous naming conventions have been prefixed with "tawk" to enhance consistency. This includes updates to method signatures, prop names, and documentation to reflect the new naming structure, ensuring that all references to Tawk-related methods and properties are uniform. The overall functionality and logic of the API and components remain unchanged.
Files | Change Summary |
---|---|
docs/api-reference.md | Renamed function callbacks and properties by prefixing with "tawk"; updated documentation accordingly. |
docs/how-to-use.md | Renamed handleMinimize to handleTawkMinimize , updated onLoad to tawkOnLoad ; modified props. |
src/index.js | Renamed methods and props in TawkMessenger component by prefixing with "tawk"; no functional changes. |
sequenceDiagram
participant User
participant TawkMessenger
participant App
User->>App: Interacts with App
App->>TawkMessenger: Calls tawkOnLoad
TawkMessenger->>User: Loads chat widget
User->>TawkMessenger: Requests to minimize
TawkMessenger->>App: Calls tawkMinimize
App->>TawkMessenger: Updates widget state
🐇 In the meadow, changes bloom,
Tawk's new names dispel the gloom.
Functions dance with a prefix bright,
Consistency shines, a joyful sight.
With every hop, we celebrate,
Tawk's new path, oh, isn't it great! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary
There are users reported collision of provider keys since we use generic naming on our API. I added prefix tawk in all actions, getters, listeners, and setters.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation