Settings page. Inventory > Instances > Classification identifier types

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose: In Inventory we use the Classification identifier type element in the Instance record. Right now the solution is implemented as a hard coded list, but the refined solution is to implement a reference table in the Settings app. The Classification identifier type can be e.g. LC, Dewey, and UDC.

FOLIO will provide a predefined list, but all Classification identifier types can be editable (CRUD).

As a cataloger, I want to review and manage the list of Classification identifier types.

Scenarios:

  1. Scenario

    • Login to FOLIO snapshot stable, and go to Settings

    • When selecting Inventory > in the menu Instances is displayed in the 2nd pane

    • then drill down to Instances > Classification identifier types (displayed as a bullet point in the Instance list),

    • Then the Classification identifier types setting page open (displayed in 3rd pane)

  2. Scenario

    • When the Classification identifier types setting page is open,

    • Then the top bar in 3rd pane display: Classification identifier types

  3. Scenario

    • The Classification identifier types has following elements

      • Classification identifier types

      • Source: Which define the source, e.g. folio or local

      • Last updated: Data from the Metadata component

  4. Scenario

    • The list of predefined terms will be

      • Additional Dewey

      • Canadian Classification

      • Dewey

      • GDC

      • LC

      • LC (local)

      • National Agricultural Library

      • NLM

      • SUDOC

      • UDC

  5. Scenario

    • The Classification identifier types when predefined in FOLIO

    • Then source will be 'folio'

  6. Scenario

    • The Classification identifier types can be set as a locally used term

    • The Classification identifier type is then defined locally by the tenant

      • The source will then be 'local'

  7. Scenario

    • When click on the 'pen' it's possible to edit the

      • Type

      • The actions buttons now displayed are 'Save' and 'Cancel'

  8. Scenario

    • When edit of a Classification identifier type is done

    • Click on 'Save'

  9. Scenario

    • When navigation away when in the middle of edit of a Classification identifier type

    • Then the standard modal will show, warning about: There are unsaved changes (e.g. like in the Settings > Formats)

  10. Scenario

    • When click on the trash icon it's possible to delete the row:

      • Classification identifier types

      • Source

      • Last updated

  11. Scenario

    • Go to a given Classification identifier type, which is to be deleted

    • click on 'trash icon'

    • Then the standard modal will show, warning about:

      • Headline: Delete Classification identifier types

      • Text: The Classification identifier types [given term] will be deleted.

    • Select buttons: 'Cancel' or 'Delete'

    • The modal will be e.g. like in the Settings > Formats

  12. Scenario

    • When adding a new type to the list of Classification identifier types, click on the 'New' icon

    • A new line in the top of the list will be added, which consist of

    • A text input box for Classification identifier types

    • When saved, the source will be system generated, and the setting is 'local'

  13. Scenario

    • When click 'New' button to add a new Classification identifier type

    • Enter "Dewey" as Classification identifier type (which already exist) as one of the FOLIO predefined Classification identifier types.

    • Then I get an error message: "The Classification identifier types has to be unique. Please enter a different type."

Notes for developers:

  1. The back end is ready - see:

  1. Reference tables documented: https://github.com/folio-org/mod-inventory-storage/tree/master/reference-data/classification-types

Out of scope for this story will be
a) systematic check against deletion of a Classification identifier types with associated instance records - see

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Charlotte WhittOctober 1, 2019 at 11:34 AM

Manual test in FOLIO Snapshot, version @folio/inventory 1.13.1000608, using Chrome

Now also LC (local) and SUDOC is implemented. I'll close the ticket.

Charlotte WhittSeptember 30, 2019 at 1:30 PM

Awesome - I'll do the manual test tomorrow -

CC:

Niels Erik NielsenSeptember 30, 2019 at 12:24 PM

It's almost there. The required back-end change was merged this morning.

(stalled for a bit, PR reviewer raised some questions but all has been cleared now)

Cate BoeremaSeptember 25, 2019 at 9:45 AM

, any update on this? Is In progress the correct status?

Charlotte WhittSeptember 20, 2019 at 11:49 AM

- I think he already did it!

wrote on 9/17:

PR raised ...

But to be 110% sure I'll follow up with him, when he's back on Monday.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 4, 2019 at 10:55 AM
Updated October 1, 2019 at 11:34 AM
Resolved October 1, 2019 at 11:34 AM
TestRail: Cases
TestRail: Runs