yalelibrary / YUL-DC

Preliminary issue tracking for Yale University Libraries Digital Collections project
3 stars 0 forks source link

Update OwP patron-submitted form #2907

Closed sshetenhelm closed 3 months ago

sshetenhelm commented 3 months ago

Story Staff testers have commented that the current Open with Permission form looks too "testy," and suggests an updated design before finalizing the "final" MVP. We would like the design of the Open with Permission form to more closely align with the rest of Blacklight.

Current form: Image

Suggested changes

Something like this: Image

Here's the code from the Advanced Search buttons with classes/etc., for your reference. We'd like the 'Submit request' button to look like the search / basic search buttons:

<div class="adv-search-sort-submit-buttons clearfix">
--
  | <input type="submit" name="commit" value="SEARCH" class="btn btn-primary lg-btn advanced-search-submit" id="advanced-search-submit2" data-disable-with="Search" aria-label="Search" role="button">
  | <button name="button" type="button" class="btn btn-primary lg-btn pull-right href-button" href="/catalog" aria-label="basic search" tabindex="0">
  | BASIC SEARCH
  | </button>    <button name="button" type="reset" class="btn btn-primary lg-btn pull-right" onclick="this.form.reset()" aria-label="clear form" tabindex="0">
  | CLEAR
  | </button>  </div>

And here's some info about the 'Clear Bookmarks' button, whose formatting we would like to use for the cancel button:

  |  
  | <a data-confirm="Are you sure you want to clear all saved items? You cannot undo this action." class="clear-bookmarks btn" rel="nofollow" data-method="delete" href="/bookmarks/clear">Clear All Saved Items</a>
  |  
  |  
/* line 61, app/assets/stylesheets/customOverrides/sort_widget.scss */
.clear-bookmarks {
  background-color: #767676;
  color: white !important;
}

Acceptance

Cancel button

Submit Request button

jpengst commented 3 months ago

PR: https://github.com/yalelibrary/yul-dc-blacklight/pull/1039

K8Sewell commented 3 months ago

Deployed to Test with release v1.63.5

K8Sewell commented 3 months ago

Comment regarding body text in ticket #2910 to be decided upon.

jpengst commented 3 months ago

PR: https://github.com/yalelibrary/yul-dc-blacklight/pull/1040

K8Sewell commented 3 months ago

Deployed to Test with release v1.63.6

K8Sewell commented 3 months ago

Looks good on Test. Will promote to UAT.

Image

laurenb33 commented 3 months ago

Lookin' good on UAT 😎 Image