-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HYC-1774 - Bulkrax importer fixes (hyrax-4) (#1010)
* Update csv_parser override for changes in bulkrax v5.3.0 * Minor, non-functional changes to bulkrax overrides to keep things in sync * Use local fork of bulkrax so that we can update monads and therefor use bulkrax 5.3 * Increase connection pool size in dev to prevent sidekiq failing jobs * Add css to cause bulkrax dashboard links to format the same as the others * Update to bulkrax 5.4.0 (with bug fix) * Update bulkrax fork to 5.4.1 * Have bulkrax importer table use the full page width --------- Co-authored-by: lfarrell <[email protected]>
- Loading branch information
Showing
9 changed files
with
100 additions
and
37 deletions.
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
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
16 changes: 9 additions & 7 deletions
16
app/overrides/models/concerns/bulkrax/has_matchers_override.rb
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,30 @@ | ||
<%# [hyc-override] https://github.com/samvera-labs/bulkrax/tree/v5.3.0/app/views/bulkrax/importers/new.html.erb %> | ||
<% provide :page_header do %> | ||
<h1><span class="fa fa-edit" aria-hidden="true"></span> New Importer</h1> | ||
<% end %> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="panel panel-default tabs importer-form"> | ||
<%= simple_form_for @importer, html: { multipart: true } do |form| %> | ||
<%= render 'form', importer: @importer, form: form %> | ||
<div class="panel-footer"> | ||
<div class='pull-right'> | ||
<% if ENV['SHOW_CREATE_AND_VALIDATE'] == 'true' %> | ||
<%# [hyc-override] Removing validate option since it is very buggy right now %> | ||
<%#= form.button :submit, value: 'Create and Validate', class: 'btn btn-primary' %> | ||
<%# | %> | ||
<% end %> | ||
<%= form.button :submit, value: 'Create and Import', class: 'btn btn-primary' %> | ||
| | ||
<%# [hyc-override] removing "create" button since there is no separate functionality defined for it at the moment %> | ||
<%#= form.button :submit, value: 'Create', class: 'btn btn-primary' %> | ||
<%# | %> | ||
<% cancel_path = form.object.persisted? ? importer_path(form.object) : importers_path %> | ||
<%= link_to t('.cancel'), cancel_path, class: 'btn btn-default ' %> | ||
</div> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</div> |
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