Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve working with multiple tabs in CodeOcean (as learner) #2709

Open
MrSerth opened this issue Dec 13, 2024 · 0 comments
Open

Improve working with multiple tabs in CodeOcean (as learner) #2709

MrSerth opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement ruby Pull requests that update Ruby code

Comments

@MrSerth
Copy link
Member

MrSerth commented Dec 13, 2024

Currently, working with multiple browser tabs for a single exercise is not well supported by CodeOcean. This is caused by the way we handle changes to the ACE editor and how we save submissions (fully replacing any old saved state). In the past, this has caused some learners to loose their progress, when a second tab with the initial exercise state was changed (and thus saved consequentially).

Potentially, we can simply activate the editor synchronization added for the pair programming feature, so that all editors are always in sync.

Furthermore, we should check support for different LTI sessions, caused by opening multiple exercises in parallel. Historically, this meant that only the exercise opened the latest could be submitted, but this might have changed. Still, the login workflow is still expected to invalidate the CSRF token and thus cause ActionController::InvalidAuthenticityToken exceptions (handled with a 422, currently).

@MrSerth MrSerth added enhancement ruby Pull requests that update Ruby code labels Dec 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement ruby Pull requests that update Ruby code
Projects
None yet
Development

No branches or pull requests

1 participant