Skip to content

Footer versions#292

Merged
the-codetrane merged 2 commits intomainfrom
footer-versions
Nov 29, 2023
Merged

Footer versions#292
the-codetrane merged 2 commits intomainfrom
footer-versions

Conversation

@mnyrop
Copy link
Member

@mnyrop mnyrop commented Nov 29, 2023

Problem

Current staging footer shows "Running SDR 4.1.0", but it's actually running GBL 1.10.

Solution

Show GBL and SDR versions to make deploy tracking easier / current status more apparent.

Screenshot 2023-11-29 at 2 15 49 PM

PR Type

Feature

Notes

  • @the-codetrane we'll also want to mint a new/discrete tagged version for the prod deploy today, yeah? v2?
  • PR is slightly bigger than an ERB change to clean up some messiness:
    • looks like
      Dir["#{Rails.root}/lib/nyugeoblacklight/*.rb"].each {|file| require file }
      has been looking for lib/nyugeoblacklight all along but the dir in main is named lib/nyu_geoblacklight; the PR fixes the dir name to lib/geoblacklight
    • the actual version was in lib/nyu_geoblacklight.rb in main; PR moves it to lib/nyugeoblacklight/version.rb which is a more common pattern.
    • config/application.rb loads all of lib in main (including rake tasks and other junk). now it's scoped to config.eager_load_paths += Dir["#{Rails.root}/lib/nyugeoblacklight/*.rb"]

@mnyrop mnyrop added the look and feel enhancements look-feel or wording changes / improvements label Nov 29, 2023
@mnyrop mnyrop requested a review from the-codetrane November 29, 2023 19:26
@the-codetrane the-codetrane merged commit f337f68 into main Nov 29, 2023
@the-codetrane the-codetrane deleted the footer-versions branch November 29, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

look and feel enhancements look-feel or wording changes / improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants