Update to pane header to include dropdown menu for notice templates

Description

Given settings for patron notices
When editing an individual patron notice template
Then pane header should include a dropdown menu with the options to Delete and Cancel (cancelling the changes/edit).

NOTES:

  1. Delete is currently a button at the bottom of the screen. This delete button should be removed once the pane header option is available.

  2. Please see https://github.com/folio-org/stripes-components/blob/master/lib/Pane/readme.md#pane-action-menu for reference.

  3. This is already implemented correctly for patron notice policies.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Khalilah Gambrell March 19, 2019 at 12:18 PM

- I think you should split this story into two stories.
1 - Edit Patron Notice Templates, are there any other options we want in the dropdown? For example Cancel? Also I think the required fields should have asterisk applied.

2- Should the pane header dropdown be applied to View and Edit - Loan Policies? Also the double asterisk issues should be addressed. Feel free to clone this user story - https://folio-org.atlassian.net/browse/FOLIO-1784

Darcy Branchini February 27, 2019 at 6:47 PM

Here's an example of UI inconsistency in settings. Loan policies, Staff slips, Notice templates and Notice policies are all done differently. I believe, based on my conversation with Filip, Notice policies is the correct/accepted pattern. Please advice if you prefer a different way to capture these.

Darcy Branchini January 31, 2019 at 7:43 PM

I posed a few questions on the UX channel to get clarification on the accepted pattern for pane headers. As soon as I hear back, I'll update this.

Darcy Branchini January 28, 2019 at 2:10 PM

Well I guess because my original mockups and story had this functionality, I thought of it as a bug. I did speak with the developer though and it was a problem to implement so it was deferred to a separate implementation issue... either way, I'll clarify this today.

Cate Boerema January 28, 2019 at 10:12 AM

Hi , can you please specify what options should display in create vs view vs edit modes? I believe they are different. Also, it looks like duplicate is already displaying as an option in view mode (you can note that that is expected in this issues, but please also note that it is already working). Finally, if delete is moving into the pane header dropdown, can you please specify that the current delete button on the edit page needs to be removed?

I am going to assign this to you and put it in draft. Please remove yourself and mark Open when you have finished.

Also, I think this is a story, as opposed to a bug. I am going to change it.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 17, 2018 at 8:33 PM
Updated May 10, 2019 at 3:56 PM
Resolved April 5, 2019 at 1:04 PM
TestRail: Cases
TestRail: Runs