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

Disable run button if no update function and parameters are given #115

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Jan 5, 2025

The run button was still displayed in this case but could only work in case the code does not require any arguments. To enable the update button one needs now to at least provide parameters (empty in case when no parameters are needed). This enables the teacher to create exercises that are only checkable.


📚 Documentation preview 📚: https://scicode-widgets--115.org.readthedocs.build/en/115/

The run button was still displayed in this case but could only work
in case the code does not require any arguments. To enable the update
button one needs now to at least provide parameters (empty in case when
no parameters are needed). This enables the teacher to create exercises
that are only checkable.
@agoscinski agoscinski merged commit 9f49210 into main Jan 6, 2025
4 of 5 checks passed
@agoscinski agoscinski deleted the no-update-no-run-button branch January 6, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant