Summary: | Update the process of adding a checkout note in the OPAC | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, jonathan.druart, kyle |
Version: | Main | Keywords: | Manual |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement moves the entry of checkout notes for the OPAC into a modal window, with the goal of making note entry easier.
The "add note" button in the report a problem on the OPAC summary page will trigger a modal where a patron can submit or edit their message:
- The modal window contains text explaining that the note will be shown to staff when the item is checked in.
- The message about a successfully submitted message has text formatting added to improve clarity, and includes an edit link for changing a message.
|
Version(s) released in: |
21.11.00
|
Circulation function: | |||
Attachments: |
Screenshot of checkout note modal
Screenshot of updated checkout note confirmation Bug 28720: Update the process of adding a checkout note in the OPAC Bug 28720: Update the process of adding a checkout note in the OPAC Bug 28720: (follow-up) Improve string translation Bug 28720: (follow-up) Improve string translation Bug 28720: Update the process of adding a checkout note in the OPAC Bug 28720: (follow-up) Improve string translation |
Created attachment 122926 [details]
Screenshot of updated checkout note confirmation
Created attachment 123197 [details] [review] Bug 28720: Update the process of adding a checkout note in the OPAC This patch moves the entry of checkout notes into a modal window with the goal of making note entry easier. To test, apply the patch and make sure the AllowCheckoutNotes system preference is enabled. - Log in to the OPAC as a user with checkouts. - On the "Your summary" page, confirm that the table listing your checkouts has a "Report a problem" column with "Add note" buttons. - Click an "Add note" button. A modal window should be shown which includes the title of the item, a textarea for writing a note, and a hint, "Your note will be shown to the librarian when the item is checked in." - Add a note and submit it. - The modal should close and a note at the top of the page should tell you your note has been saved. The contents of your note should be shown below that along with an "Edit note" link. - Confirm that the "Edit note" link works as expected. - Confirm that the "Add note" button you clicked in the table of checkouts now reads "Edit note." - You should be able to click this button and edit your note. - Confirm that each note button works to add a note to the correct title. - Confirm that the "Renew selected" and "Renew all" controls work. Created attachment 123201 [details] [review] Bug 28720: Update the process of adding a checkout note in the OPAC This patch moves the entry of checkout notes into a modal window with the goal of making note entry easier. To test, apply the patch and make sure the AllowCheckoutNotes system preference is enabled. - Log in to the OPAC as a user with checkouts. - On the "Your summary" page, confirm that the table listing your checkouts has a "Report a problem" column with "Add note" buttons. - Click an "Add note" button. A modal window should be shown which includes the title of the item, a textarea for writing a note, and a hint, "Your note will be shown to the librarian when the item is checked in." - Add a note and submit it. - The modal should close and a note at the top of the page should tell you your note has been saved. The contents of your note should be shown below that along with an "Edit note" link. - Confirm that the "Edit note" link works as expected. - Confirm that the "Add note" button you clicked in the table of checkouts now reads "Edit note." - You should be able to click this button and edit your note. - Confirm that each note button works to add a note to the correct title. - Confirm that the "Renew selected" and "Renew all" controls work. Signed-off-by: David Nind <david@davidnind.com> Hm, I have a few issues and concerns here: 1) I think I'd like to have the note show in the column once it was added. At the moment it's easy to miss it, as you have to click on "Edit note" first to see it. 2) We have export functionality on this table now (I think after this patch was initially written) and instead of the notes we see "Add note" or "Edit note" in the column. 3) I am a little worried if translation tools will pick up on this construct: [% IF ( ISSUE.note ) -%] + [% SET note_action = "Edit note" %] + [% ELSE -%] + [% SET note_action = "Add note" %] + [% END %] Created attachment 123971 [details] [review] Bug 28720: (follow-up) Improve string translation This patch fixes the following issues raised by QA: - It modifies the markup so that "Add note" and "Edit note" can be translated more easily. - It adds display of existing notes back to the table of checkouts. - It adds to the table configuration so that a "plain" view of the notes (without buttons) is shown in print view and in CSV export. - It improves handling of notes containing quotation marks which would previously have broken some edit interactions. Created attachment 124631 [details] [review] Bug 28720: (follow-up) Improve string translation This patch fixes the following issues raised by QA: - It modifies the markup so that "Add note" and "Edit note" can be translated more easily. - It adds display of existing notes back to the table of checkouts. - It adds to the table configuration so that a "plain" view of the notes (without buttons) is shown in print view and in CSV export. - It improves handling of notes containing quotation marks which would previously have broken some edit interactions. Signed-off-by: David Nind <david@davidnind.com> Created attachment 125681 [details] [review] Bug 28720: Update the process of adding a checkout note in the OPAC This patch moves the entry of checkout notes into a modal window with the goal of making note entry easier. To test, apply the patch and make sure the AllowCheckoutNotes system preference is enabled. - Log in to the OPAC as a user with checkouts. - On the "Your summary" page, confirm that the table listing your checkouts has a "Report a problem" column with "Add note" buttons. - Click an "Add note" button. A modal window should be shown which includes the title of the item, a textarea for writing a note, and a hint, "Your note will be shown to the librarian when the item is checked in." - Add a note and submit it. - The modal should close and a note at the top of the page should tell you your note has been saved. The contents of your note should be shown below that along with an "Edit note" link. - Confirm that the "Edit note" link works as expected. - Confirm that the "Add note" button you clicked in the table of checkouts now reads "Edit note." - You should be able to click this button and edit your note. - Confirm that each note button works to add a note to the correct title. - Confirm that the "Renew selected" and "Renew all" controls work. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 125682 [details] [review] Bug 28720: (follow-up) Improve string translation This patch fixes the following issues raised by QA: - It modifies the markup so that "Add note" and "Edit note" can be translated more easily. - It adds display of existing notes back to the table of checkouts. - It adds to the table configuration so that a "plain" view of the notes (without buttons) is shown in print view and in CSV export. - It improves handling of notes containing quotation marks which would previously have broken some edit interactions. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Shouldn't the input in the modal have the focus? Pushed to master for 21.11, thanks to everybody involved! |
Created attachment 122925 [details] Screenshot of checkout note modal I'd like to make some changes to the way checkout notes are submitted in the OPAC: - The "add note" button will trigger a modal where the user can submit or edit their message. - The modal window will contain text explaining that the note will be shown to staff when the item is checked in. - The message about a successfully submitted message will have text formatting added to improve clarity, and include an edit link for re-editing a message.