-
Notifications
You must be signed in to change notification settings - Fork 226
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
Conversation
There was a problem hiding this 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this file autogenerated?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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](https://user-images.githubusercontent.com/50491000/131667320-b4dccad1-5445-40ce-a1db-85acdf5428c5.png)
Updated div:
![image](https://user-images.githubusercontent.com/50491000/131667402-185884cc-6514-40b9-9a62-253c782f5ec7.png)
How Has This Been Tested?
Footer and "Questions or problems?..." div both appear properly on desktop, mobile, and tablet views.
Types of changes
Checklist:
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 thedb/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.