-
Notifications
You must be signed in to change notification settings - Fork 52
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
Exercise Development Mode: Title Editor #928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but see small comments.
You also need to update INSTRUCTORS.md with updated instructions, esp re:prompt.
src/haz3lweb/Log.re
Outdated
@@ -36,6 +36,9 @@ let is_action_logged: Update.t => bool = | |||
| ResetSlide | |||
| ToggleMode | |||
| SwitchSlide(_) | |||
| SwitchTextEditor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we unify this with SwitchEditor since the focus can only be in one place at a time?
@@ -36,6 +36,9 @@ let is_action_logged: Update.t => bool = | |||
| ResetSlide | |||
| ToggleMode | |||
| SwitchSlide(_) | |||
| SwitchTextEditor | |||
| UpdateTitle(_) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's group all Exercise related actions into an ExerciseAction.t type that is injected into Action.t at once, to avoid having too many cases?
closing in favor of #1316 |
Add Haz3l title edit.