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

UI upgrade #1344

Merged
merged 119 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
ce0ac64
Use propshaft + cssbundling-rails instead of sprockets
thatbudakguy Jul 30, 2024
647f4d6
Use bootstrap 5
thatbudakguy Jul 30, 2024
c1c7c97
Use blacklight 8 and the GBL blacklight 8 branch
thatbudakguy Jul 30, 2024
91ea487
Remove an old override
thatbudakguy Jul 30, 2024
91e1c44
Update Gemfile.lock
thatbudakguy Jul 30, 2024
8c34949
Remove calls to functions removed in BL8
thatbudakguy Jul 30, 2024
68d259f
Remove blacklight base layout override
thatbudakguy Jul 30, 2024
fc84717
move css to cssbundling-rails
dnoneill Jul 30, 2024
706536c
Reset styles to GeoBlacklight default
thatbudakguy Jul 30, 2024
60d484b
Install importmap, stimulus, and turbo
thatbudakguy Jul 30, 2024
14e0665
Remove some unused partials
thatbudakguy Jul 30, 2024
c1e7641
Set up the import map
thatbudakguy Jul 30, 2024
4600392
Remove the old javascripts
thatbudakguy Jul 30, 2024
9128d41
fix blacklight solr url location
dnoneill Jul 31, 2024
dfcd7fa
Add vendorized GBL JS
thatbudakguy Jul 31, 2024
e6a2db1
Make the catalogcontroller more like GBL5's default
thatbudakguy Aug 1, 2024
47fb6f2
Remove partials we don't need to use anymore
thatbudakguy Aug 1, 2024
b64c213
use bootstrap.bundle instead of bootstrap
dnoneill Aug 1, 2024
3b516ea
update header to stanford header
dnoneill Jul 30, 2024
532d292
add footer
dnoneill Jul 31, 2024
77a94cd
fix tests
dnoneill Aug 5, 2024
f2cedcb
Use geoblacklight main
edsu Aug 7, 2024
09f6127
Align solr versions
edsu Aug 8, 2024
22a64f9
remove basemap override
dnoneill Aug 8, 2024
c572e68
move sidebar, update display
dnoneill Aug 7, 2024
4a7c1db
update home page text to figma, add recently added
dnoneill Aug 2, 2024
a259136
remove local version of component library
dnoneill Aug 8, 2024
604a296
Update to the latest version of component library
jcoyne Aug 8, 2024
990dd0c
remove icons, styling updates
dnoneill Aug 8, 2024
a77a81e
move sidebar to document
dnoneill Aug 9, 2024
a9a6f33
add box shadow, center titles
dnoneill Aug 8, 2024
a37094a
fix legacy icons, info_format
dnoneill Aug 12, 2024
e064f8d
update show to be three columns
dnoneill Aug 9, 2024
f95c87b
update the search results view
dnoneill Aug 9, 2024
2602ee7
Update to the latest version of the component library
jcoyne Aug 13, 2024
0bd78f4
add georeferenced alert and unit tests
dnoneill Aug 12, 2024
f5fdcb6
small header icons fixes search page
dnoneill Aug 13, 2024
f4b48e9
update index map colors
dnoneill Aug 13, 2024
f6a64ec
add header icons to show page
dnoneill Aug 12, 2024
c38cd7a
move search header into document split
dnoneill Aug 14, 2024
9c90b81
Use container-fluid and set max-width to 1600px
marlo-longley Aug 15, 2024
c4077f1
remove hgl
dnoneill Aug 19, 2024
7abb4bf
Point at CDN versions of stylesheets for dependencies
thatbudakguy Aug 19, 2024
30ca5fe
fix berkeley icon
dnoneill Aug 20, 2024
55d7c82
fix header icons, download headings
dnoneill Aug 20, 2024
7d81bd5
update search bar to match figma
dnoneill Aug 20, 2024
7a9bc89
update navbar boomarkmarks link
dnoneill Aug 20, 2024
e3b44a3
update map height, remove gis tools
dnoneill Aug 19, 2024
2f2acf2
update geoblacklight to latest version
dnoneill Aug 20, 2024
b36df5f
fix css for search button
dnoneill Aug 20, 2024
581ab3a
update header/footer margin to match main container
dnoneill Aug 20, 2024
a4a1049
add other icon
dnoneill Aug 20, 2024
ce3b841
update pagination css to be links
dnoneill Aug 14, 2024
8cc328f
allow for file_format to be nil
dnoneill Aug 20, 2024
dccb9ae
Fluid layout should not affect block-padding on main-container
jcoyne Aug 21, 2024
96a9907
adding code snippet functionality
hudajkhan Aug 7, 2024
7c5d3f4
adding clipboard copy stimulus controller, and options component
hudajkhan Aug 15, 2024
bcb623a
updating flow and logic, not displaying code snippet link for restric…
hudajkhan Aug 20, 2024
baf537b
using fixture data
hudajkhan Aug 20, 2024
d5f874d
fixing test
hudajkhan Aug 21, 2024
9549ec1
Update path to geoblacklight stylesheet
marlo-longley Aug 22, 2024
3b173bd
DownloadLinksComponent: add download button div class to prevent link…
jmartin-sul Aug 22, 2024
8c06655
Update @geoblacklight/frontend to alpha.9
marlo-longley Aug 22, 2024
195dbe0
Remove duplicate selectors
jcoyne Aug 22, 2024
2bdca5e
Revert "Remove duplicate selectors"
jcoyne Aug 22, 2024
9254fbf
Defer non-critical CSS to prevent flash of unstyled content
jcoyne Aug 22, 2024
ab06f1b
update search bar background
dnoneill Aug 21, 2024
b2f003a
Remove manifest
jcoyne Aug 22, 2024
a8c7d75
Make the resource type darker for accessibility purposes
jcoyne Aug 22, 2024
c65b2fe
add expand/collapse buttons to search results
dnoneill Aug 16, 2024
d386a0d
Use Stimulus targets for expand collapse button styles
marlo-longley Aug 22, 2024
be4eefe
increase padding for pagination
dnoneill Aug 26, 2024
112a2c7
Prevent @imported css from getting in queue behind the javascript
jcoyne Aug 22, 2024
53e24e9
add download controller
dnoneill Aug 26, 2024
c925974
Reduce the app header vertical padding slightly
thatbudakguy Aug 26, 2024
a300f44
Also available links component/all ref links in more details (#1224)
peetucket Aug 27, 2024
8f3d934
update importmap to use latest JS from geo, overlays on maps
dnoneill Aug 16, 2024
26f8f8a
create logout dropdown
dnoneill Aug 26, 2024
07693cd
move tools to header
dnoneill Aug 21, 2024
af79eba
build blacklight css from blacklight gem
dnoneill Aug 28, 2024
927ad19
update basemap to not wrap
dnoneill Aug 28, 2024
a85dc8e
fix parentheses in header
dnoneill Aug 28, 2024
ff90243
decrease padding on mobile
dnoneill Aug 29, 2024
ab6cc93
update column widths on search page
dnoneill Aug 28, 2024
e32d747
update overlays on maps
dnoneill Aug 16, 2024
e0ebfd5
add axe spec
dnoneill Aug 1, 2024
946689e
Override Blacklight's StartOverButtonComponent
marlo-longley Aug 15, 2024
57110f2
add bookmark to search results
dnoneill Aug 19, 2024
5afd7e3
set facet color headers
peetucket Aug 27, 2024
a6f99c7
switch active facet color; background; font to use header color
peetucket Aug 27, 2024
5926720
Add custom DocumentMetadataComponent to remove dl-invert class
jcoyne Aug 22, 2024
368eeb6
update hover to include description
dnoneill Aug 29, 2024
8e5c1f0
remove unncessary css
peetucket Aug 29, 2024
688d587
Use additive style rather than subtractive
jcoyne Aug 29, 2024
fce8237
update codesnippet font-size
dnoneill Aug 29, 2024
77f80b1
update header tools to be even
dnoneill Aug 29, 2024
c034113
move title to span metadata and map
dnoneill Aug 29, 2024
eabe23a
rename history to search history
dnoneill Aug 29, 2024
0e8aa47
make header tools underlined
dnoneill Aug 29, 2024
8bf3def
Revise text and layout for search widgets on small screens
marlo-longley Aug 29, 2024
4596df8
reorder and rename facets
dnoneill Aug 29, 2024
9237efc
switch to arrow-circle-fill
dnoneill Aug 29, 2024
0a55f59
build blacklight css from blacklight gem
dnoneill Aug 28, 2024
4e12949
remove double search text
dnoneill Aug 28, 2024
d82509e
Change padding and alignment for search bar
marlo-longley Aug 30, 2024
8124b4e
remove bl7 form, update form to use user info
dnoneill Aug 29, 2024
f5e7419
Update the geoblacklight frontend package to v5.0.0-alpha.10
thatbudakguy Aug 30, 2024
5ca64ea
Stop namespacing components
jcoyne Aug 22, 2024
7d44870
Add a comment to understand why a style was needed
jcoyne Aug 30, 2024
1cae0a1
make box shadow appear on right and left
dnoneill Aug 30, 2024
67cd3ca
updating code
hudajkhan Aug 30, 2024
a8cd7b9
update facets to col-lg-2
dnoneill Aug 30, 2024
150c367
fix rebase errors in pull #1249
dnoneill Aug 30, 2024
ac1874e
Shrink the magnifying glass icon
marlo-longley Aug 30, 2024
8824ae0
remove underline for header tools
dnoneill Aug 30, 2024
77a38fd
Customize bookmarks page layout
marlo-longley Aug 30, 2024
3da8647
update selections order
dnoneill Aug 20, 2024
ddf5cb2
Update Gemfile.lock
thatbudakguy Aug 30, 2024
a0a6cad
Reformat with rubocop
thatbudakguy Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main, bl8 ]
branches:
- main
- bl8

jobs:
tests:
Expand All @@ -13,13 +15,13 @@ jobs:
matrix:
ruby: ['3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Prepare application
run: bin/setup
- name: Run tests
run: bundle exec rake ci
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Prepare application
run: bin/rails test:prepare
- name: Run tests
run: bundle exec rake ci
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ config/environments/*.local.yml
# Ignore JavaScript packaging.
node_modules/
yarn.lock

/app/assets/builds/*
!/app/assets/builds/.keep

/node_modules
7 changes: 7 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ RSpec/MultipleMemoizedHelpers:
Exclude:
- "spec/lib/earthworks/harvester_spec.rb"

RSpec/MultipleExpectations:
Enabled: false

Metrics/ClassLength:
Exclude:
- "app/controllers/catalog_controller.rb"

Gemspec/DeprecatedAttributeAssignment: # new in 1.30
Enabled: true
Gemspec/RequireMFA: # new in 1.23
Expand Down
2 changes: 1 addition & 1 deletion .solr_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
collection:
dir: config/solr_configs/
name: blacklight-core
version: 9.6.1
version: 8.11.2
24 changes: 12 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 7.1'

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails"
# Successor to sprockets. https://github.com/rails/propshaft
gem "propshaft"

# Use Puma as the app server
gem 'puma', '~> 6'

# Use SCSS for stylesheets
gem 'sassc-rails'

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Reduces boot times through caching; required in config/boot.rb
Expand Down Expand Up @@ -44,12 +38,13 @@ group :development, :test do
gem 'rspec-rails'
gem 'capybara'
gem 'selenium-webdriver', '!= 3.13.0'
gem 'factory_bot_rails', '~> 6.4'
gem 'factory_bot_rails'
gem 'database_cleaner'
gem 'dotenv'
gem 'simplecov', require: false
gem 'solr_wrapper'
gem 'sqlite3', '~> 1.7'
gem "axe-core-rspec"
end

group :deployment do
Expand All @@ -67,9 +62,10 @@ group :production do
gem 'pg'
end

gem 'blacklight', '~> 7.33'
#gem 'blacklight', '~> 8.3'
gem 'blacklight', github: 'projectblacklight/blacklight', branch: 'main'
gem 'rsolr' # required for Blacklight
gem 'geoblacklight','~> 4.4'
gem 'geoblacklight', github: 'geoblacklight/geoblacklight', branch: 'main'
gem 'faraday', '~> 2.0'
gem "devise"
gem "devise-guests", ">= 0.3.3"
Expand All @@ -87,7 +83,11 @@ gem 'redis', '~> 5.0'
gem 'geo_combine', '>= 0.9' # For OpenGeoMetadata indexing
gem 'sidekiq', '~> 7.0'
gem 'whenever', require: false
gem 'bootstrap', '~> 4.0'
gem 'bootstrap', '~> 5.3'
gem 'rack-attack' # For throttle configuration
gem 'recaptcha', '>= 5.4.1'
gem 'http'
gem "cssbundling-rails", "~> 1.4"
gem "importmap-rails", "~> 2.0"
gem "stimulus-rails", "~> 1.3"
gem "turbo-rails", "~> 2.0"
Loading