-
Notifications
You must be signed in to change notification settings - Fork 0
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
Valkyrize Knapsack + Review knapsacking effort #13
Conversation
@@ -0,0 +1,10 @@ | |||
# frozen_string_literal: true |
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.
Should this go back to Hyku? It's unclear.
@@ -0,0 +1,50 @@ | |||
# frozen_string_literal: true | |||
|
|||
module Blacklight |
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.
Should these go back to Hyku?
@@ -0,0 +1,12 @@ | |||
# frozen_string_literal: true | |||
|
|||
# OVERRIDE Blacklight 6.7.0 to enable markdown in the facets |
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.
Should this go back to Hyku?
|
||
# OVERRIDE blacklight 6 to allow full url for show links for shared search thumbnail | ||
module Blacklight | ||
module CatalogHelperBehaviorDecorator |
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.
Should this go back to Hyku? I believe so given that it has generic_work_url
@@ -0,0 +1,12 @@ | |||
# frozen_string_literal: true |
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.
This goes back to Hyku
@@ -0,0 +1,14 @@ | |||
# frozen_string_literal: true | |||
|
|||
module Hyrax |
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.
The citation formatters might go back to Hyku
@@ -0,0 +1,30 @@ | |||
# Hyrax Override: Improve Citations Format |
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.
The citation formatters might go back to Hyku
@@ -0,0 +1,94 @@ | |||
# Hyrax Override: Improve Format of Citations |
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.
The citation formatters might go back to Hyku
@@ -2,5 +2,20 @@ | |||
|
|||
module HykuKnapsack | |||
module ApplicationHelper | |||
# OVERRIDE Hyrax::FileSetHelper#media_display_partial |
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.
Does this go back to Hyku?
@@ -0,0 +1,64 @@ | |||
# Hyrax Override: Improve Citations Format |
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.
The citation formatters might go back to Hyku
@@ -0,0 +1,75 @@ | |||
# Hyrax Override: Improve Citations Format |
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.
The citation formatters might go back to Hyku
@@ -0,0 +1,48 @@ | |||
# Hyrax Override: Improve Citations Format |
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.
The citation formatters might go back to Hyku
@@ -0,0 +1,58 @@ | |||
# frozen_string_literal: true |
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.
Back to Hyku?
@@ -0,0 +1,11 @@ | |||
# frozen_string_literal: true | |||
|
|||
module AppIndexerDecorator |
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.
Back to Hyku?
# frozen_string_literal: true | ||
|
||
# OVERRIDE BULKRAX 8.0.0 | ||
module Bulkrax |
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.
Does this go back to Hyku?
|
||
# OVERRIDE: Hyrax 5.0.1 to handed is_derived | ||
class AttachFilesToWorkJobDecorator | ||
def attach_work(user, work, work_attributes, work_permissions, uploaded_file) |
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.
Does this go back to Hyku?
@@ -0,0 +1,79 @@ | |||
# frozen_string_literal: true |
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.
Does this go back to Hyku?
@@ -0,0 +1,13 @@ | |||
# frozen_string_literal: true |
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.
Back to Hyku?
app/models/generic_work_decorator.rb
Outdated
@@ -0,0 +1,32 @@ | |||
# frozen_string_literal: true | |||
|
|||
module GenericWorkDecorator |
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.
Back to Hyku?
@@ -0,0 +1,18 @@ | |||
# frozen_string_literal: true |
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.
Back to Hyku?
@@ -0,0 +1,67 @@ | |||
# frozen_string_literal: true |
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.
Likely something that should go back to Bulkrax
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module AccessibilityFeaturesService |
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.
Are these something to go back to Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module AccessibilityHazardsService |
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.
Are these something that goes back to Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module AudienceService |
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.
Are these something to send back to Hyku?
@@ -0,0 +1,20 @@ | |||
module Hyrax | |||
# Provide select options for the types field | |||
class ContributingLibraryService < QaSelectService |
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.
Is this something to send back to Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module DisciplineService | |||
mattr_accessor :authority |
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.
Is this something that belongs in Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module EducationLevelsService | |||
mattr_accessor :authority |
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.
Something that belongs in Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module LearningResourceTypesService |
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.
Something that belongs in Hyku?
@@ -0,0 +1,25 @@ | |||
module Hyrax | |||
module OerTypesService |
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.
Something that belongs in Hyku?
@@ -0,0 +1,73 @@ | |||
<%# OVERRIDE: Hyrax v5.0.1 to show the user/depositor's display_name if available %> |
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.
Perhaps something for Hyku?
…ist-softserv/palni_palci_knapsack into review-knapsacking-effort
TODO: We can probably remove any code that matches Hyku's wings.rb
This commit will load the decorators earlier in the initialization.
In this commit I've added custom index terms to each resource indexer.
16cbee2
to
78f74ad
Compare
We remove the controllers because they are no longer needed and use the AF models' controllers instead.
78f74ad
to
673335d
Compare
TODO: add Image and generic work properties to the decorator yaml files
These two jobs were adjusted to the Valkyrie paradigm. The AttachFilesToWorkJobDecorator needs more context before I can change it and the Bulkrax::RelatedMembershipsJob seems like it should work, but we'll see with testing. The spec for CreateGroupAndAddMembersJob will be addressed later.
This commit will also add the same condition pattern we used in the model and update the yaml to mirror the old fields.
This commit reworks the prior ones, to allow us to override metadata defined in Hyku.
Valkyrize indexers
This commit will fix the Oer edit page because it was not loading correctly and also the required badge in the forms.
This commit will add a CDL Listener that will replace the model callback.
The collection factory was failing because we overrode the basic_metadata.yaml which it also uses so we need to add all the basic metadata into the collection_resource.yaml. There was a log that was failing because it was not being explicit in the root of the application though I'm unsure if it is needed. The major question is if we need to run hyku_specs or not.
This is the original branch for our Knapsacking effort.
After getting a bit unruly, we separated and merged all the bits before we started valkyrizing.
This PR should contain knapsacking + valkyrizing efforts only
ref:
Issues:
TODO:
---
🚧 Add files from PALs Hyku not in other repos
3595d6f
This is a first pass of the PALs work. There was a lot of head
scratching and copying things into Hyku Prime. Together this is a
rough process.
🚧 Partial port of PALs Hyku entries
fac9882
Move functionality to Hyku prime
c0a37d5
Review and override file_set_helper.rb
a274a65
Favor pushing views down into Hyku Prime
0a34b07
Ongoing review of files that were different in 3 or more repositories
1357812
Blank out rendering of Generic Work title
63b6b6b
Adding collections/show as this is unique to PALs
183fdd7
Add custom catalog controller for PALs
de326b4
🎁 Decorate ApplicationController based on PALs criteria
b3e8bda