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

Lint views/scoreboards #1959

Merged
merged 3 commits into from
Sep 14, 2023
Merged

Conversation

20wildmanj
Copy link
Contributor

@20wildmanj 20wildmanj commented Aug 14, 2023

Summary

Summary generated by Reviewpad on 12 Sep 23 20:45 UTC

This pull request includes two patches.

The first patch makes changes to the app/views/scoreboards/_form.html.erb and app/views/scoreboards/show.html.erb files. It updates the styling and adds a link to learn more about custom scoreboards. Additionally, it improves the formatting and readability of the code.

The second patch addresses a comment made in a previous pull request. It modifies the app/views/scoreboards/_form.html.erb file to fix an issue with the column specification.

Overall, these patches aim to improve the linting and functionality of the views related to scoreboards.

Description

  • Run erblint on views/scoreboards using bundle exec erblint app/views/scoreboards/*.html.erb -a
  • Updated some wording on scoreboard creation / editing form

Motivation and Context

  • Part of summer linting

How Has This Been Tested?

  • Verified that scoreboard creation form renders properly
  • Verified that scoreboard creation and editing still works
  • Verified scoreboard renders properly

Checklist:

  • I have run rubocop for style check. If you haven't, run overcommit --install && overcommit --sign to use pre-commit hook for linting

@reviewpad reviewpad bot requested a review from lykimchee August 14, 2023 18:09
@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Aug 14, 2023
@lykimchee lykimchee removed their request for review September 10, 2023 16:37
Copy link
Contributor

@KesterTan KesterTan left a comment

Choose a reason for hiding this comment

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

LGTM

@20wildmanj 20wildmanj added this pull request to the merge queue Sep 14, 2023
Merged via the queue into master with commit e836bcc Sep 14, 2023
@20wildmanj 20wildmanj deleted the joeywildman-lint-views-scoreboards branch September 14, 2023 04:28
NicholasMy pushed a commit to UB-CSE-IT/Autolab that referenced this pull request Jan 5, 2024
* lint views/scoreboards

* Address PR comment

(cherry picked from commit e836bcc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants