-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade to geoblacklight 4.0 #963
Merged
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f9bad48
Update to GeoBlacklight v4.3
thatbudakguy 0688723
Disable geo_monitor until it gains GeoBlacklight v4 compatibility
thatbudakguy 87b771e
Rename show fields for consistency
thatbudakguy 5447119
Show format on show page but not as a facet
thatbudakguy a55ef14
Render the description as separate paragraphs
thatbudakguy 3390b49
Remove unused Legacy ID mapping functionality
thatbudakguy cd6ff99
Update handling of format facet
thatbudakguy 8c9226a
Remove custom RightsMetadata functionality
thatbudakguy 91be925
Use Mirador as the IIIF manifest viewer
thatbudakguy a5a48fd
Add icons to the Resource class facet
thatbudakguy a8974c4
Update custom harvester for Aardvark
thatbudakguy 1ab193a
Add theme facet and show on show page
thatbudakguy acb435e
Rename the rights and rights holder fields for Stanford styling
thatbudakguy d3f932d
Rework implementation for license display
thatbudakguy 5d02666
Use location_rpt type for dcat_centroid field
thatbudakguy 7286247
Update dependencies
thatbudakguy d949689
Remove deprecated legacy_connection_handler
thatbudakguy 8e9fb54
Remove jmx tag in config
thatbudakguy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// Borrowed from: | ||
// https://github.com/sul-dlss/sul-embed/blob/main/app/javascript/src/modules/m3_viewer.js | ||
const setupViewer = function () { | ||
const target = document.getElementById("mirador"); | ||
if (target) { | ||
Mirador.viewer({ | ||
id: "mirador", | ||
selectedTheme: "sul", | ||
themes: { | ||
sul: { | ||
palette: { | ||
type: "light", | ||
primary: { | ||
main: "#8c1515", | ||
}, | ||
secondary: { | ||
main: "#8c1515", | ||
}, | ||
shades: { | ||
dark: "#2e2d29", | ||
main: "#ffffff", | ||
light: "#f4f4f4", | ||
}, | ||
notification: { | ||
main: "#e98300", | ||
}, | ||
}, | ||
}, | ||
}, | ||
windows: [ | ||
{ | ||
id: "main", | ||
loadedManifest: target.dataset.manifestUrl, | ||
}, | ||
], | ||
window: { | ||
allowClose: false, | ||
allowFullscreen: true, | ||
allowMaximize: false, | ||
authNewWindowCenter: "screen", | ||
hideWindowTitle: true, | ||
sidebarPanel: "attribution", | ||
views: [ | ||
{ key: "single", behaviors: [null, "individuals"] }, | ||
{ key: "book", behaviors: [null, "paged"] }, | ||
{ key: "scroll", behaviors: ["continuous"] }, | ||
{ key: "gallery" }, | ||
], | ||
}, | ||
workspace: { | ||
showZoomControls: true, | ||
type: "single", | ||
}, | ||
workspaceControlPanel: { | ||
enabled: false, | ||
}, | ||
}); | ||
} | ||
}; | ||
|
||
// Load the viewer on page load and Turbolinks page change | ||
document.addEventListener("DOMContentLoaded", setupViewer); | ||
document.addEventListener("turbolinks:load", setupViewer); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
@import 'geoblacklight/geoblacklight'; | ||
@import 'leaflet-label'; |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
What is our plan in general for GeoMonitor once this upgrade is in place? Will we need to work out a way later to use it, or will be table this for good? Thanks
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.
I see this down below geoblacklight/geo_monitor#12 so I think that answers that question : )