You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't happen on multiple or single choice exercises because we're creating them with language text, which is not queriable.
Creating upload exercises as text shouldn't be a workaround, because the upload input has an accept field which expects file extensions according to the exercise's language - and we probably don't want a .txt.
The text was updated successfully, but these errors were encountered:
Showing (or not) the navigation tabs (problem, console, extra code, etc) is decided ultimately by the following:
mumuki-laboratory/app/helpers/exercise_input_helper.rb
Lines 30 to 32 in ef77b5c
Since it's the language the one which decides if the exercise is queriable or not (https://github.com/mumuki/mumuki-domain/blob/11818a3f1bc0edf276f8baa001e430df05cf288a/app/models/concerns/with_language.rb#L6-L9), the tabs are shown even in exercises with queriable languages that shouldn't have them, such as upload:
This doesn't happen on multiple or single choice exercises because we're creating them with language text, which is not queriable.
Creating upload exercises as text shouldn't be a workaround, because the upload input has an accept field which expects file extensions according to the exercise's language - and we probably don't want a
.txt
.The text was updated successfully, but these errors were encountered: