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

Implement AnswerRegistry and AnswerWidget #31

Merged
merged 3 commits into from
Dec 23, 2023
Merged

Implement AnswerRegistry and AnswerWidget #31

merged 3 commits into from
Dec 23, 2023

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Dec 21, 2023

  • New class exercise.Textarea that implements AnswerWidget
  • CodeDemo implements AnswerWidget
  • CodeDemo: merge member functions handle_checks_result and _output_results
  • add _utils.py with Printer static class for nicer printing using termcolor
  • replace prints with Printer.print_* functions
  • adapt save css style to more readable
  • parameters in ParameterPanel are now settable

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

Base automatically changed from visualizers to main December 21, 2023 16:29
@agoscinski agoscinski force-pushed the answer branch 2 times, most recently from 9d3c731 to 3537cad Compare December 21, 2023 16:31
* new class exercise.Textarea that implements AnswerWidget
* CodeDemo implements AnswerWidget
* CodeDemo: merge member functions handle_checks_result and _output_results
* add _utils.py with Printer static class for nicer printing using termcolor
* replace prints with Printer.print_* functions
* adapt save css style to more readable
* parameters in ParameterPanel are now settable
@agoscinski agoscinski force-pushed the answer branch 2 times, most recently from ef3e710 to e467fa3 Compare December 22, 2023 18:19
reload button can too easily remove all existing results while the
functionality an be reproduced by two button click (chose other
file + load file)
* saving and loading observe now paramaters
* saving and loading reset each other by button click
@agoscinski agoscinski merged commit 212683f into main Dec 23, 2023
2 checks passed
@agoscinski agoscinski deleted the answer branch December 23, 2023 12:42
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