kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Upgrade xstate to version 5.x

Open jredrejo opened this issue 1 year ago • 3 comments

Overview

The xstate library kolibri uses for some of the kolibri processes has released a new version v5.x that adds some features but introduces some breaking changes with version 4.x .

We should apply those changes to kolibri code before upgrading to v5. Also some of the new features (use of can in guards or the fromPromise helper can improve current machines code)

Description and outcomes

To be done in a future 0.16 patch release

Resources

### Tasks
- [ ] https://github.com/learningequality/kolibri/issues/12646
- [ ] Explore compatibility of vue 3.6.2 with xstate-vue
- [ ] Unify use of xstate for routing in vue in kolibri /KDS
- [ ] Follow migration guide from https://stately.ai/docs/migration
- [ ] Upgrade xstate in KDS

jredrejo avatar Dec 11 '23 16:12 jredrejo

Please let me know if you need any help with this migration - willing to help!

davidkpiano avatar Dec 14 '23 00:12 davidkpiano

Thanks @davidkpiano, we appreciate it. Your library has been of such a great help for some of our complex workflows.

MisRob avatar Dec 14 '23 08:12 MisRob

v5.4.1 is the current target

jredrejo avatar Jan 03 '24 09:01 jredrejo