kolibri
kolibri copied to clipboard
Create equivalent of getters for all accessed session state and all getters in useUser composable
We currently have multiple getters and even some state in the session.js Vuex module that is accessed throughout Kolibri.
We have started migrating these references to instead use the useUser core composable, but the composable still does not expose all the needed getters and state that are referenced across Kolibri.
To remedy this, all the getters that are defined in the session.js module should be exposed through the useUser composable in a similar way to those that have already been wrapped.
In addition, all state in the session module should be exposed for consumption via the composable as well.
Hey @rtibbles, I can work on this issue, please assign me this issue
Sure thing!
Hey @rtibbles, just created a PR for this #11738 , do review
I have reviewed, @dhruvpal05 - thanks for your efforts, but you seem to have misunderstood the issue. Please feel free to ask further clarifying questions on my review.
I would like to work on this issue @rtibbles
Hi @Wck-iipi, I assigned you to another issue recently, please finish the fix for that, and then we can revisit this.
Ah, apologies, I see you've submitted a PR for that issue already! I'll assign you here.