Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show version mismatch warning toasts when CableReady versions mismatch (
#651) Following up on #641 and #650, this pull request also shows version mismatch toasts when the CableReady versions don't match. Perviously it would just show toast messages when the StimulusReflex versions didn't match. ## Why should this be added Previously this just showed a console error message when the user enabled the client-side `debug` option to `true`. Now this message is always printed, regular of the option. But additionally it now shows a version mismatch toast message when the `debug` option is set to `true`: ![Screenshot 2023-03-27 at 21 10 36](https://user-images.githubusercontent.com/6411752/228042658-ed9523cc-575d-47b3-aaf0-6ab33a47b140.png) This helps to know what's up and why a reflex action might not have worked. If you didn't have the console open you wouldn't know why the reflex action didn't work.
- Loading branch information