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

fix: notebook logic #2094

Merged
merged 4 commits into from
Jan 29, 2024
Merged

fix: notebook logic #2094

merged 4 commits into from
Jan 29, 2024

Conversation

fidoriel
Copy link
Collaborator

@fidoriel fidoriel commented Dec 18, 2023

Currently, the javascript that wants to attach the notebook logic to the HTML elements triggers even if the notebook wasn't rendered into the page (when the user is not logged in). As a consequence, on the login page, there is a javascript error in the browser console.

This PR unifies creation of the HTML elements and execution of the corresponding JS code.

evap/static/ts/src/notebook.ts Show resolved Hide resolved
evap/evaluation/templates/notebook.html Outdated Show resolved Hide resolved
evap/static/ts/src/notebook.ts Outdated Show resolved Hide resolved
@fidoriel fidoriel marked this pull request as ready for review January 22, 2024 20:00
evap/static/ts/src/notebook.ts Outdated Show resolved Hide resolved
evap/static/ts/src/notebook.ts Outdated Show resolved Hide resolved
evap/static/ts/src/notebook.ts Outdated Show resolved Hide resolved
@niklasmohrin niklasmohrin merged commit 394493a into e-valuation:main Jan 29, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants