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

Fixed overlapping footer in 500 error page #1374

Merged
merged 11 commits into from
Oct 9, 2021
Merged

Conversation

michellexliu
Copy link
Contributor

@michellexliu michellexliu commented Sep 1, 2021

Description

Removes a duplicate id="footer" in a div above the footer on the 500 error page and adds the "Questions or problems? Please contact us" section to the 404 error page.

Motivation and Context

Removing the duplicate id addresses #1287, thus making the footer appear properly on the 500 error page and allowing the other div to be readable/usable. Adding the "Questions or problems? Please contact us" section to the 404 error page makes it more consistent with the 500 error page and provides an additional avenue for a user to contact us about an issue/bug.

Before:
image

Updated div:
image

How Has This Been Tested?

Footer and "Questions or problems?..." div both appear properly on desktop, mobile, and tablet views.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation, which is located at Autolab Docs
  • I have updated the documentation accordingly, included in this PR

Other issues / help required

It seems that my local configuration Autolab generated some extra files (config/initializers/devise.rb.bak, config/initializers/devise.rb-e, and .bundle/config) and also modified the db/schema.rb file... I've since reverted most of these changes, but I'm still unsure why this happened / how to prevent this from happening again.

I was also running into issues with my bundle install when I was setting up Autolab and couldn't get it to work until I changed the versions in some of the Gemfile.lock dependencies, but I'm not sure if these version changes are something that needs to be fixed in Autolab or if it was just an issue with my installation. For context, I am on macOS 11.0.1, ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20], rake version 13.0.6, and set up my local Autolab sometime in early June.

@michellexliu michellexliu linked an issue Sep 1, 2021 that may be closed by this pull request
@oliverli oliverli self-requested a review September 8, 2021 03:24
Copy link
Contributor

@oliverli oliverli left a comment

Choose a reason for hiding this comment

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

LGTM! Just wondering about the .bundle/config file

.bundle/config Outdated
@@ -0,0 +1,2 @@
---
BUNDLE_BUILD__MYSQL2: "--with-ldflags=-L/usr/local/opt/libmysqlclient/lib --with-cppflags=-I/usr/local/opt/libmysqlclient/include"
Copy link
Contributor

Choose a reason for hiding this comment

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

was this file autogenerated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes— I'm not too sure how it got there; should I remove this and add it to the .gitignore?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the late reply! Yep, let's remove and gitignore it

Copy link
Contributor

@oliverli oliverli left a comment

Choose a reason for hiding this comment

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

LGTM

@michellexliu michellexliu merged commit 52551ed into master Oct 9, 2021
@michellexliu michellexliu deleted the bugs/error-footer branch October 9, 2021 18:53
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.

Wonky HTML Footer on 500 - Internal Error Pages
2 participants