Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Summary generated by Reviewpad on 20 Aug 23 03:11 UTC
This pull request includes the following changes:
In the file
show.html.erb
, the formatting of a line was updated to include theraw
method in thetweak
method. This ensures correct display in HTML.In the file
edit.html.erb
, changes were made to update thetitle
variable, modify the form_for method, and render a partial with updated local variables. These changes enhance the user experience and improve form functionality.In the file
user.html.erb
, the entire content was deleted. The file previously contained HTML code for displaying user information and the ability to edit it.In the file
sudo.html.erb
, changes include formatting revision, updated paragraph tag, and the addition of theclass: "btn primary"
attribute to the form tag. These changes aim to improve the appearance and functionality of the sudo feature.The file
app/views/course_user_data/index.html.erb
was deleted. It previously contained HTML code for displaying account details for a user.In another file, changes include indentation adjustments, addition and removal of help texts, modification of text fields, checkboxes, and labels. These changes enhance the form's usability and readability.
In the file
new.html.erb
, changes involve modifying the URL in an AJAX request, removing a comment, updating the@title
variable, reformatting the locals hash, and updating theonclick
attribute. These changes primarily focus on code formatting and minor functional adjustments.Description
views/course_user_data
usingbundle exec erblint app/views/course_user_data/*.html.erb -a
index.html.erb
anduser.html.erb
, as it seems that neither is usedindex.html.erb
, theindex
action already usesshow
, couldn't find any references. Also, the erb file references@user.andrewID
which shouldn't really exist anymore, and this file hasn't really been toucheduser.html.erb
, similar story, couldn't find any references, looks the same asshow.html.erb
, only recent change was with @damianhxy 's PR Add mononym support #1580 adding Mononym support_fields.html.erb
so that the "Tweak" container no longer has left paddingMotivation and Context
How Has This Been Tested?
index.html.erb
anduser.html.erb
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting