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

First part of Transfer processing #697

Merged
merged 1 commit into from
May 3, 2021

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Apr 27, 2021

This implements the first few steps of the Transfer Processing workflow:

  • Creates a page showing all transfer records, with links to each transfer detail page
  • Implements a jQuery plugin (DataTables) to allow interactive filtering and sorting of the list of Transfers

Developer

  • All new ENV is documented in README
  • All new ENV has been added to Heroku Pipeline, Staging and Prod
  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Requires database migrations?

NO

Includes new or updated dependencies?

NO

@matt-bernhardt matt-bernhardt marked this pull request as draft April 27, 2021 22:22
@mitlib mitlib temporarily deployed to thesis-submit-pr-697 April 27, 2021 22:22 Inactive
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 April 28, 2021 15:09 Inactive
@coveralls
Copy link

coveralls commented Apr 28, 2021

Coverage Status

Coverage increased (+0.02%) to 94.531% when pulling 54d382e on etd-276-transfer-processing-1 into 7d9130e on main.

@matt-bernhardt matt-bernhardt force-pushed the etd-276-transfer-processing-1 branch from 00d56d5 to f0d6a9a Compare April 28, 2021 15:41
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 April 28, 2021 15:42 Inactive
@matt-bernhardt matt-bernhardt force-pushed the etd-276-transfer-processing-1 branch from f0d6a9a to 27f9060 Compare April 28, 2021 16:10
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 April 28, 2021 16:10 Inactive
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 April 29, 2021 15:57 Inactive
@matt-bernhardt matt-bernhardt force-pushed the etd-276-transfer-processing-1 branch from 2e1120a to 24d2a1a Compare April 29, 2021 17:51
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 April 29, 2021 17:51 Inactive
@matt-bernhardt matt-bernhardt marked this pull request as ready for review April 29, 2021 21:26
@JPrevost JPrevost self-assigned this May 3, 2021
<script src="https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js"></script>
<% end %>

<link href="https://cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css" rel="stylesheet">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if our theme gem should allow <% content_for :additional_css do %> to better handle this use case?

(No action needed, just thinking out loud).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was on the point of asking why I couldn't find a layout in this app - didn't think to ask about the theme gem. Yes, I think that would be a good feature to add for a use case like this.

(I don't think that blocks this merging, though right? We can do that via maintenance?)

@@ -0,0 +1,3 @@
<tr class="empty">
<td colspan="6">There were no transfers matching your parameters.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

td not closed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smacks head D'oh! I'm going to push something to fix this.

@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 May 3, 2021 20:08 Inactive
Copy link
Member

@JPrevost JPrevost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that theme gem thing wasn't intended to be included in this work. :shipit:

** Why are these changes being introduced:

* The first step of the Transfer processing workflow is to allow staff
  to identify which Transfer they want to process (out of all available)
  and get to the page that will allow them to process the submitted
  files.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/ETD-276

** How does this address that need:

* This defines a transfer selection screen (/transfer/select) where
  staff can see the list of available transfer records. This display can
  be filtered by graduation month (or by arbitrary user input). When the
  user clicks on any transfer in the list, they are taken to the (blank)
  detail page for that transfer. Future work will further develop that
  interface.
* This PR also includes relevant tests for the navigation, the new
  path, and the existing ability model.

** Document any side effects to this change:

* Part of the UI for this transfer selection screen is enabled by a
  jQuery plugin, DataTables. This plugin, while very useful out of the
  box, does increase our reliance on the jQuery ecosystem. A future
  discussion in EngX may lead to us needing to re-develop this screen
  using either Vue or native Javascript.
@matt-bernhardt matt-bernhardt force-pushed the etd-276-transfer-processing-1 branch from cbd14df to 54d382e Compare May 3, 2021 21:05
@matt-bernhardt matt-bernhardt temporarily deployed to thesis-submit-pr-697 May 3, 2021 21:06 Inactive
@matt-bernhardt matt-bernhardt merged commit c65b501 into main May 3, 2021
@matt-bernhardt matt-bernhardt deleted the etd-276-transfer-processing-1 branch May 3, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants