Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the application layout to align with the Blacklight/GeoBlacklight Bootstrap-based UI, introducing new header/footer partials and restoring site-specific styling via updated SCSS customizations.
Changes:
- Replaces the default
application.html.erblayout with a Blacklight-style layout structure (header, main container, footer, modal, skip links). - Adds new UI partials for the header navbar, user utility links, footer, and updated home/downloads view fragments.
- Consolidates legacy commented SCSS into active customizations and updates Bootstrap styling variables.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| app/views/shared/_user_util_links.html.erb | Adds user login/logout links for the new header navbar. |
| app/views/shared/_header_navbar.html.erb | Introduces a top header navbar with logo + user util collapse. |
| app/views/shared/_footer.html.erb | Adds a new site footer with library links/logos. |
| app/views/layouts/application.html.erb | Rebuilds the main application layout around Blacklight components and new partials. |
| app/views/catalog/_show_downloads.html.erb | Adds a collapsible “Download” UI in the show sidebar + login CTA for restricted items. |
| app/views/catalog/_home_text.html.erb | Adds homepage content blocks (featured facets + map + version). |
| app/models/user.rb | Updates the User model’s Devise/OmniAuth integration and display behavior. |
| app/assets/stylesheets/legacy_files/_geoblacklight.scss | Removes unused legacy commented import. |
| app/assets/stylesheets/legacy_files/_footer.scss | Removes unused legacy commented footer styles. |
| app/assets/stylesheets/legacy_files/_customizations.scss | Removes unused legacy commented customization styles. |
| app/assets/stylesheets/legacy_files/_blacklight.scss | Removes unused legacy commented import. |
| app/assets/stylesheets/application.bootstrap.scss | Sets $link-color and imports Bootstrap/Blacklight/GeoBlacklight + custom styles. |
| app/assets/stylesheets/_customizations.scss | Adds active site-specific layout/header/footer/button customizations. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+13
| <div class="navbar-right"> | ||
| <ul class="nav navbar-nav"> | ||
| <% if signed_in? %> | ||
| <li> | ||
| <%= link_to t('links.logout'), destroy_user_session_path %> | ||
| </li> | ||
| <% else %> | ||
| <li> | ||
| <%= link_to t('links.login'), user_calnet_omniauth_authorize_path, method: 'post'%> | ||
| </li> | ||
| <% end %> | ||
| </ul> | ||
| </div> |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
anarchivist
approved these changes
Jul 13, 2026
anarchivist
left a comment
Member
There was a problem hiding this comment.
r+, looks good to me presuming all tests are passing.
Comment on lines
+20
to
+24
| # Generates a random email address | ||
| def fake_email | ||
| "fake-#{SecureRandom.hex[0, 16]}@noemail.com" | ||
| end | ||
| end |
Member
There was a problem hiding this comment.
did we pull out devise-guest? if so, is this still necessary?
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Take and refactor the Blacklight base layout to integrate existing CSS styles, apply additional CSS and layout modifications; Updated Bootstrap partial helper.
Note: Please ignore the added CalNet, Google Tag Manger, and email-related code in this PR.