Bug 31012

Summary: Quote import tool should send the user back to quotes pages after importing
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 30903    
Bug Blocks: 31063    

Description Caroline Cyr La Rose 2022-06-22 12:52:19 UTC
This comes from Bug 30903 (comment 6). I was told to make a new report for the usability problem.

3) The quotes seem to have been imported, if I trust the confirmation message, but I stayed on the same page and the two options available to me are "Save quotes", which I already clicked (multiple times because it was slow) and "Cancel import", which, if clicked, asks me a confirmation if I really want to cancel and sends me back to the import page with the Browse/Choose file button. I think once the quotes are imported, we should be sent back to the main QOTD editor page with the list of quotes already in the system.

Here is the full test plan from Bug 30903

1- Download the attached csv or create a comma-separated csv with two columns, one for source and one for text (no headers)
2- Go to Tools > Edit quotes for QOTD feature
3- Click on Import quotes
--> Note that the layout of the page is a bit strange... there is a big space between the title of the page and the first content box, and there is no space above the browse button
4- Click browse and choose the CSV file
--> The quotes should be imported in an editable table, you can click on either the source or text of a quote to change it (on my browser the editable field is really small, I wonder if it's the page or my browser (Firefox) or my OS (Ubuntu))
5- Click Save quote
--> This is where this problem occurs, it is not clear what the user is supposed to do
Comment 1 Caroline Cyr La Rose 2022-06-22 12:53:56 UTC
Comment 14 on Bug 30903

Same for me, please report it in a new report.
Clicking on "Save quotes" will import them again, clicking on "Cancel import" does not revert the import.
I think think after clicking on "Save quotes" we should hide those buttons and propose a link to come back to quotes table.