-
Notifications
You must be signed in to change notification settings - Fork 49
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
🚧 Contribute Back from Knapsacking Pals #2178
Conversation
97912b2
to
0ca6d93
Compare
flex-direction: column; | ||
|
||
&.active { | ||
display: flex !important; |
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.
!important should not be used
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} | ||
|
||
#splash { | ||
display: none; |
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.
Properties should be ordered align-items, background, display, flex-direction, height, justify-content, left, position, top, width, z-index
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} | ||
|
||
#splash { |
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.
Avoid using id selectors
Rule set contains (11/10) properties
width: 120px; | ||
height: 120px; | ||
-webkit-animation: spin 2s linear infinite; /* Safari */ |
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.
Use //
comments everywhere
6f29c63
to
25ff492
Compare
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. Related to: - scientist-softserv/palni_palci_knapsack@3595d6f
fb5cc8e
to
baa4d60
Compare
Co-authored-by: Shana Moore <shana@scientist.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
i selected the wrong option when i meant to add a comment
c32e5e7
to
62b7d9c
Compare
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 have several questions and see a few issues (specifically with app/views/themes/institutional_repository/hyrax/homepage/_recent_document.html.erb
and its friends). However, given how big this PR is. I would support answering the questions and opening tickets for the issues, merging and then addressing the issues in seperate PRs.
|
||
## | ||
# Ensure the current user matches the requested URL. | ||
Hyrax::Dashboard::ProfilesController.before_action :users_match!, only: %i[show edit update] |
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 mean a user can only see their own profile and no one elses? I get edit/update, I question show
super | ||
return if @subcollection_docs.blank? | ||
|
||
@subcollection_docs.sort_by! { |doc| doc.title.first&.downcase } |
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 really the right global behavior?
@@ -0,0 +1,59 @@ | |||
# frozen_string_literal: true | |||
|
|||
# OVERRIDE Bulkrax v5.3.0 to add a geonames lookup for the `based_near` proprerty |
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 belongs in bulkrax proper likely
@@ -0,0 +1,25 @@ | |||
# frozen_string_literal: true | |||
|
|||
# OVERRIDE Hyrax hyrax-v3.5.0 to require Hyrax::Download so the method below doesn't fail |
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 dont think I know what this code does. does it fix a Hyrax bug?
@@ -1,10 +1,7 @@ | |||
<%# OVERRIDE Hyrax v5.0.0rc2 to support shared search %> | |||
<% model = document.hydra_model %> | |||
<%# OVERRIDE Hyrax v5.0.1 to collection badge and markdown of links %> |
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 we sure these two do not conflict? I feel like maybe we are breaking something in shared search here
app/views/themes/institutional_repository/hyrax/homepage/_recent_document.html.erb
Show resolved
Hide resolved
app/views/themes/neutral_repository/hyrax/homepage/_recent_document.html.erb
Show resolved
Hide resolved
@@ -0,0 +1,14 @@ | |||
# 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.
I think this was deleted from hyku on purpose.
@@ -54,7 +54,7 @@ | |||
it "sets recent documents in the right order" do | |||
get :index | |||
expect(response).to be_successful | |||
expect(assigns(:recent_documents).length).to eq 3 | |||
# expect(assigns(:recent_documents).length).to eq 3 |
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 line should just be removed
@@ -16,7 +16,7 @@ | |||
it 'creates the work' do | |||
visit '/' | |||
click_link "Share Your Work" | |||
expect(page).to have_button "Create work" | |||
# expect(page).to have_button "Create work" |
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.
?
t wants a solr document. lets be consistant about what we give it This change parallels one from Adventist. fixes scientist-softserv/adventist-dl#750 ref: - #2190
I captured your comments here and will create issues/address them. |
This builds from the notes and scripts of https://github.com/scientist-softserv/pals-to-knapsack
@samvera/hyku-code-reviewers