[Bug 30800] New: Ability to view, modify, and delete profiles for staging MARC records for import
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Bug ID: 30800 Summary: Ability to view, modify, and delete profiles for staging MARC records for import Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Bibliographic record staging/import Assignee: koha-bugs@lists.koha-community.org Reporter: sbrown@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org It would be useful to have a place to view/edit all profiles that a library has created for use while staging MARC records for import in one place - maybe similar to 'Manage MARC modification templates'. It could include each profile's settings and the ability to delete individual/multiple at a time, and if possible, the ability to add new, edit existing, and/or duplicate to create new. But at a minimum, being able to see what exists and delete from there rather than the 'Stage MARC records for import' screen would be helpful. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Joe Askins <jaskins@faylib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaskins@faylib.org --- Comment #1 from Joe Askins <jaskins@faylib.org> --- New Koha library cosigning this bug -- we'd love to have a more obvious and intuitive way to view, edit, and delete these profiles. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Jessie Zairo <jzairo@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzairo@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Mathieu Saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com --- Comment #2 from Mathieu Saby <mathsabypro@gmail.com> --- yes! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk CC| |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|21.11 |Main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |43794 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43794 [Bug 43794] Add REST API routes for record matching rules (read-only) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|43794 |43795 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43794 [Bug 43794] Add REST API routes for record matching rules (read-only) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43795 [Bug 43795] Add REST API routes for MARC modification templates (read-only) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |43794 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43794 [Bug 43794] Add REST API routes for record matching rules (read-only) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |andrew@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207968 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207968&action=edit Bug 30800: Add GET route for a single import batch profile This patch adds a GET route for fetching a single import batch profile, used by the import profiles management page added in the following patches. Test plan (for the whole feature): 1. Apply the patches of bugs 43794 and 43795 first, then the patches of this bug 2. yarn build; restart_all 3. prove t/db_dependent/api/v1/import_batch_profiles.t 4. As a superlibrarian, open the Cataloging home page: confirm "Import profiles" appears in the Import group, and click it 5. Add a profile, filling all fields; confirm it is listed showing the matching rule and modification template names 6. Edit the profile and confirm the changes are saved 7. Duplicate the profile: the form opens pre-filled with the name "Copy of ..."; save it 8. Delete one profile: the confirmation notes that already staged batches are unaffected 9. Confirm Tools > Stage MARC records for import still offers the profiles 10. Log in as a user without the stage_marc_import permission: there is no "Import profiles" menu entry and the page says you do not have permission to access it 11. yarn cypress run --spec \ t/cypress/integration/Cataloguing/ImportProfiles_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207969 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207969&action=edit Bug 30800: Add import profiles page shell under Cataloguing Adds cataloguing/import_profiles.pl, guarded by the tools: stage_marc_import permission, with a template that mounts an empty #import-profiles container and loads the Vue bundle. Adds links to the Cataloging sidebar and home page, and Apache rewrite rules for the extensionless URL. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #5 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207970 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207970&action=edit Bug 30800: Add Vue import profiles list and form Adds the Vue 3 app mounted on the import profiles page: API client, routes, list and add/edit form built on the shared BaseResource components, plus a Cypress spec. The page template also needs calendar.inc and js-date-format.inc, as the shared Dialog component reads the flatpickr defaults on setup. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207971 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207971&action=edit Bug 30800: Show matching rule and template names, add dropdowns Add record matcher and MARC modification template API clients, dropdowns for matcher_id and template_id in the import profile form, and list columns showing their names, or "Unknown (id)" when the stored id no longer exists. A stored unknown id is kept when the profile is saved. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #7 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207972 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207972&action=edit Bug 30800: Add Duplicate action to import profiles Adds a Duplicate row action that opens the add form pre-filled from the chosen profile (?copy=<profile_id>), with an empty profile_id and the name "Copy of <name>" truncated to the 100 character column limit. A plain New, or a reload of ?copy= with no stored source, gives the normal defaults. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #8 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207973 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207973&action=edit Bug 30800: Complete import profiles Cypress coverage Add tests for the delete flow (confirm and cancel), the Cataloguing home menu link, success messages and navigation after create and edit, the null round-trip of unset fields, clearing the matching rule and template, slow lookups never showing "Unknown", and a failed save staying on the form. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 207974 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207974&action=edit Bug 30800: Use shorter option labels with tooltips, and show them in the list The action selects in the profile form wrapped onto several lines, because the labels copied from the "Stage MARC records for import" page are long. Use shorter labels, keep the stored values unchanged, and explain the choices in a tooltip on each action field: Action if matching record found Action if no match is found How to process items The list now shows the same labels for record type, encoding, format and the three actions instead of the stored codes. Sorting, searching and export still use the stored value, a value without a label (for example a plugin format) is shown as stored, and everything is HTML-escaped. Test plan: 1. Open Cataloging > Import profiles > New import profile. 2. Open the three action selects: the options are short enough to fit on one line, and each field has a "?" icon explaining the choices. 3. Save a profile, then check the list shows labels such as "Replace existing record" and "Add as new record" rather than "replace" and "create_new". 4. yarn cypress run --spec t/cypress/integration/Cataloguing/ImportProfiles_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37248 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37248 [Bug 37248] [Omnibus] Power to the user -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30800 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mnero@oslri.net -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org