Done
Details
Assignee
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Reporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Tester Assignee
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P3Story Points
3Sprint
NoneDevelopment Team
ThunderjetParent
Fix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Reporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Tester Assignee
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
3
Sprint
None
Development Team
Thunderjet
Parent
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 20, 2018 at 6:07 AM
Updated June 17, 2021 at 4:00 PM
Resolved November 23, 2020 at 5:51 AM
Purpose: To display, assign, unassign, and output tags associated with individual INSTANCE records within the FOLIO Inventory app.
As a staff person
I want to be able to assign, unassign, view, and output tags in a FOLIO Inventory Instance record
So that I can categorize records for filtering and reporting purposes.
Tags are meant to be labels that can be assigned to individual data records in various FOLIO apps. Tags will be used as a visual indicator in the record, to gather records in some way, and to facilitate reporting. This is a cross-app “helper app,” similar to how the Notes app is envisioned. However, unlike notes, the tags need to be easily accessible as part of the record for filtering and output purposes. [Filtering and output are separate, future stories.]
Scenario
Use Tags smart component to introduce Tag CRUD in the ui-inventory *Instance *record. Tags have already been deployed in ui-users. See for any additional details that may be needed.
Testing Scenarios
Test the following scenarios to ensure that the Tags smart component was implemented properly:
Scenario 1
Given Given Enable tags = Y in Settings > Tags > General per FOLIO-1302
When a User displays an Instance record in an Inventory search result
Then the Tags Icon should display at the top right of the record in the third pane, to the right of the Action menu
Scenario 2
Given the Tags Icon
When tags are already assigned to a particular record
Then the system should display the number of tags to the left of the Tags Icon.
Scenario 3
Given the Tags Icon
When it is clicked
Then a fourth pane with tag details (hereafter called the Tags Pane) should open to the right of the existing panes, similar to the Notes pane
Scenario 4 [I think it's OK though --A-M]
Given the Tags Pane
When it has been opened as the fourth pane
Then it should stay defaulted to open, even if a user clicks on a different record in the second pane search results, changing to the tags relevant to that newly-selected record
Scenario 5
Given the Tag Pane text entry box
When a user starts typing
Then FOLIO should auto-suggest existing options from the FOLIO central tag list, as follows:
Start suggesting as soon as the user starts typing
Auto-suggest looks for the typed string no matter where it appears in the existing tag
Any existing tags that start with the string should be presented at the top of the list in alphabetical order, followed by existing tags that have the string embedded in them, also in alphabetical order
Scenario 6
Given the Tag Pane text entry box
When a user types a space or pipe character
Ignore that character when creating the tag (e.g. "do this" would become tag "dothis"
Scenario 7
Given the Tag Pane text entry box
When a user attempts to type an upper-case letter
Then convert to lower-case
Scenario 8
Given the Tag Pane text entry box
When the user sees an appropriate tag in the auto-suggest list
Then they should be able to select it by clicking on it or scrolling down to it and pressing Enter, thereby completing the text in the text entry box with the auto-suggestion
Scenario 9
Given the Tag Pane text entry box
When the user enters text, presses "Enter," and the Tag does not already exist in the Library's central tag list.
Then the tag should be created as follows
Add to the record's tag list in the fourth pane
With a green callout message saying "New tag created"
Scenario 10
Given the Tags Pane
When a new tag is assigned to a record
Then the number of tags in the Sub-header and the number next to the Tags icon should increase by 1
Scenario 11
Given the Tags Pane
When a tag is unassigned from a record (by clicking the "x" for that tag)
Then the number of tags in the Sub-header and the number next to the Tags icon should decrease by 1