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

Add autocomplete to Text form for submissions. #20

Merged
merged 3 commits into from
May 17, 2024

Conversation

JasonGrace2282
Copy link
Member

@JasonGrace2282 JasonGrace2282 commented May 13, 2024

Just found out about this ace feature, seemed cool. However, for classes like Foundations of Computer Science, an opt-out procedure wouldn't be desirable as people are still trying to learn syntax at that point. As such, it's opt-in.

Also changed ace to use cdnjs (part of #18 )

@JasonGrace2282 JasonGrace2282 requested a review from a team as a code owner May 13, 2024 01:20
Copy link
Member

@krishnans2006 krishnans2006 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The autocompletion works perfectly! To summarize our conversations, I think a few changes should be made to the underlying feature:

  • Non-quiz assignments (anything using submit.html) should have autocomplete always enabled (after all, students can just use an IDE here)
  • Quizzes should have this feature implemented as opt-in. However, this may require a restructuring of assignments.models.Quiz, which is still an ongoing discussion.

Therefore, for now, just adding this feature to submit.html without any database changes should suffice.

Copy link
Member

@krishnans2006 krishnans2006 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - hold off on merging until #21, though.

@krishnans2006 krishnans2006 merged commit c12e280 into tjcsl:master May 17, 2024
2 checks passed
@JasonGrace2282 JasonGrace2282 deleted the quiz branch May 17, 2024 01:02
@JasonGrace2282 JasonGrace2282 changed the title Add (optional, opt-in) autocomplete to Text form for submissions. Add autocomplete to Text form for submissions. May 17, 2024
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.

2 participants