Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved login/logout logic into the useUser composable and updated references #12915

Open
wants to merge 207 commits into
base: develop
Choose a base branch
from

Conversation

iamshobhraj
Copy link
Contributor

Summary

Login/logout and session logic is moved into useUser composable from action.js. Refactored vuex state into module level state. References to CORE_SET_SESSION is updated to use the setSession method from useUser composable.

References

fixes #12204

Reviewer guidance

after updating references to CORE_SET_SESSION in heartbeat.spec.js file, some tests still failed. I am unable to figure out why these tests are failing. I updated the mock file and implementated it as written in documentation.

rtibbles and others added 29 commits November 6, 2024 12:52
Put commit ref in external file.
Update all static files for new build.
…content_id.

Use node_id when available.
Query for most recent session log to give parallel results for summary logs.
Take advantage of reduced build time to add to PR build.
…g even if an error occurs mid-navigation (for example, like in QuizSummary's beforeRouteEnter)
…lity_continue

Conditionalize hideContinue on whether we are displaying an error or not
…angelog-0.17.4

Update changelog for 0.17.4
# Conflicts:
#	kolibri/__init__.py
@github-actions github-actions bot added DEV: dev-ops Continuous integration & deployment DEV: renderers HTML5 apps, videos, exercises, etc. DEV: backend Python, databases, networking, filesystem... APP: Device Re: Device App (content import/export, facility-syncing, user permissions, etc.) APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) APP: User Re: User app (sign-in, sign-up, user profile, etc.) APP: Setup Wizard Re: Setup Wizard (facility import, superuser creation, settings, etc.) DEV: tools Internal tooling for development labels Jan 1, 2025
@rtibbles
Copy link
Member

rtibbles commented Jan 9, 2025

When I did a rebase locally on develop here, it threw up some weird conflicts, but resolving them during the rebase did reduce it down to only about 10 commits, so I think this can be cleaned up! Let me know if it would be helpful for me to force push updates for this.

@iamshobhraj
Copy link
Contributor Author

When I did a rebase locally on develop here, it threw up some weird conflicts, but resolving them during the rebase did reduce it down to only about 10 commits, so I think this can be cleaned up! Let me know if it would be helpful for me to force push updates for this.

Thank you for your help! If you think force pushing the updates would clean up the commit history and make it easier to manage, I would appreciate it. Please go ahead and do so if it's not too much trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) APP: Device Re: Device App (content import/export, facility-syncing, user permissions, etc.) APP: Facility Re: Facility App (user/class management, facility settings, csv import/export, etc.) APP: Learn Re: Learn App (content, quizzes, lessons, etc.) APP: Setup Wizard Re: Setup Wizard (facility import, superuser creation, settings, etc.) APP: User Re: User app (sign-in, sign-up, user profile, etc.) DEV: backend Python, databases, networking, filesystem... DEV: dev-ops Continuous integration & deployment DEV: frontend DEV: renderers HTML5 apps, videos, exercises, etc. DEV: tools Internal tooling for development TODO: needs review Waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move login/logout logic into the useUser composable and update references
10 participants