Details
Description
Purpose: To display, assign, unassign, and output tags associated with individual records with various FOLIO main apps.
As a staff person
I want to be able to assign, unassign, view, and output tags in a FOLIO 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 will be 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.
Ideally, most or all of the work will be centralized in the tags app, and can be easily consumed by any of the other main FOLIO apps to display in their records. The tags app should be applicable to any type of record in various FOLIO apps, including, but not limited to: users, instances, holdings, items, order lines, vendors, ledgers, funds, budgets, and the like.
For proof of concept, we can start with User records. Once we know it works, we need to implement in the acquisitions records: order line records if Orders UI is available when this story is completed, otherwise vendor records. For purposes of illustrations, used the inventory instance record, since I can't easily build screenshots for other types of acquisitions records yet.
Scenarios
- Scenario 1
- Given Given Enable tags = Y in Settings > Tags > General per
FOLIO-1302 - When a User displays an User record in a search result
- Then the Tags Icon should display at the top right of the record in the third pane, between the Edit Pencil icon and the Notes icon.
- A-M: tags icon is to the left of both the edit pencil and notes icon, instead of between them. I don't care, but checking with Cate and Filip to see if they do. Per Cate, no problem.
- See wireframes 01-06 attached. Use an icon similar to the one in 01, but make sure it's easily distinguishable from the Edit Pencil icon when very small on the screen.
- Given Given Enable tags = Y in Settings > Tags > General per
- Scenario 2
- Given the Tags Icon
- When hovering over it
- Then the label "Show Tags" should appear.
- Scenario 3
- 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.
- See wireframes 07-08 attached.
- A-M: see attached video "NumberOfTags". I think the Notes application is supposed to act like this as well (show the number of tags or notes next to the icon in the record detail pane, so that the user knows whether it's worth clicking the tags icon or notes icon to see any additional details).
- A-M: Michael corrected, but the total in the 3rd pane is not updating simultaneously with the number in the 4th pane. Adding a bug for it.
- Scenario 4
- 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
- See wireframe 09 attached.
- Scenario 5
- Given the Tags Pane
- When it has been opened as the fourth pane
- Then no other "helper app" panes (e.g. Notes) should display. A user should only be able to have one helper app pane open at a time, but the icons for all relevant helper apps should still remain at the top of the screen, so that the user can switch between them.
- Scenario 6
- 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 instance in the second pane search results, changing to the tags relevant to that newly-selected instance
- Scenario 7
[A-M entered separate Jira bug]
- Given the Tags Pane
- When it is viewed
- Then the layout should appear like this
- Header Tags
- Sub-header [number] Tags representing the number of tags currently assigned to the record
- Any existing assigned tags, in alphabetical order.
- Each tag appears as its own separate box
- An "x" appears in the right side of each tag's box, to allow the individual tag to be unassigned from the record.
- Assigned tags can display next to each other, unless that would cause a tag to wrap to the next line, in which case move it to the following line.
- A-M: second tag does not move to the next line correctly; exceeds the display box; see SecondTagNotDisplayedCorrectly screenshot; I'll add a Jira bug.
- If one tag is too long to fit on one line, it can wrap to the next line
- A-M: really long tag does not wrap to the next line; see LongTag screenhot. I'll add a Jira bug.
- All tags for the record are displayed, with no shortening or ellipses
- If many tags are assigned to a record, extend the Tag Pane into a longer pane that can be scrolled down
- At the bottom of the pane, there should be a text entry box with ghosted text of "Enter a tag." It stays within the pane, even if there is a scroll bar above it, due to many tags being assigned.
- Is it possible to keep ghosted text of "Enter a Tag" in the tag entry box when someone is not entering a tag? That way the user knows where that entry area is. Otherwise it's a little subtle. I'll enter a new Jira ticket for it.
- See wireframe 10 attached.
- Header Tags
- Scenario 8
[won't make it into Q3; create separate bug for AutosuggestSecondSort per Michal - see FOLIO-1508]
- 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, unless performance issues, in which case, start suggesting at 2nd or 3rd character
- 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
- A-M: Autosuggest tag list seems to be in random order, instead of in the order described in this item. See AutosuggestSortOrder screenshot. I'll enter a Jira bug.
- MK: this should be now fixed and the autosuggestions should be ordered correctly
- A-M: Close but not quite. See AutosuggestSortOrder2 video. Please let me know if this is do-able or not. The order within autosuggest would be a little different from the order for the regular list (before autosuggest starts acting on it). Let me know if I should enter a Jira bug.
- A-M: one more tweak - see AutosuggestSecondSort video - is this doable?
- A-M: Bug/error message sometimes when adding tags. See ErrorWhenAddingTags video.
- MK: it should be now fixed
- A-M: Yes, all good now - thanks!
- Start suggesting as soon as the user starts typing, unless performance issues, in which case, start suggesting at 2nd or 3rd character
- Scenario 9
- Given the Tag Pane text entry box
- When a user attempts to type a space or pipe character
- Then do not advance the cursor. Disallow spaces and the pipe character (|) in tags. [Pipe character will be used to separate multiple tags in data being imported to FOLIO]
- A-M: solved in a slightly different way; user can type it space or pipe, but those characters are removed before storing.
- Scenario 10
- Given the Tag Pane text entry box
- When a user attempts to type an upper-case letter
- Then convert to lower-case
- A-M: it's saving entries with upper-case letters as separate tags from the same tag using lower-case letters. See UppercaseBug video. I'll add a Jira bug.
- MK: This should be now fixed. The tags will be always lowercased
- A-M: Yes, all good now
- Scenario 11
- 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 12
[A-M entered separate Jira bug]
- Given the Tag Pane text entry box
- When the user enters text, presses "Enter," and the Tag already exists on the record
- Then the tag should be highlighted on the screen
- A-M: the intention was to have the highlighting up in the display of tags already assigned to the record, not in the autosuggest list. See HighlightQuestion video attached. Let me know if I should create a separate Jira for it.
- A-M: see the HighlightingPart2 video for maybe a better explanation. Please let me know if this is do-able, and if I should enter a new Jira ticket for it
- Scenario 13
- Given the Tag Pane text entry box
- When the user enters text, presses "Enter," and the Tag does not already exist on the record, but does exist in the Library's central tag list.
- Then the tag should be added to the record's tag list in the fourth pane.
- Scenario 14
- 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 red message saying "New tag created"
- A-M: No "new tag created" message.
- MK: The callout is now in place and it will appear when the new tag is being added to the central tag list
- A-M: all good now!
- Add to the Library's central tag list. Note that in Phase 1, users will not have UI access to the central tag list.
- Scenario 15
- Given the Library's central tag list
- When a new tag is created
- Then the new tag should be stored in the central tag list and displayed in an individual record's tags in the same format (with regards to lower-case, spacing, and punctuation), to allow for predictability for the user when outputting or working with the tags.
- A-M: Fine in the record UI, but there's not really a way to test/review the central tag list. mpk35 Could you confirm it's working properly for the central tag list?
- MK: Yes this is already happening. You can confirm it by looking at the available options coming from the multi selection component. Every time when you add a new tag that list should grow
- A-M: yes, all good now. I think the combination of the error message when the system was creating new tags and the random sort order made it hard to confirm yesterday, but easy to confirm today.
- Scenario 16
- 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 17
- Given the individual tags in the Tags Pane
- When a user clicks the "x" for that tag
- Then the tag should be removed from the record and from the display. Note that unassigning a tag from a record does not delete the tag from the Library's central tag list, even if no other records have that tag assigned.
- A-M: Bug when deleting tags. Always deletes the first tag, no matter which one you select. See ErrorWhenDeletingTags video. I'll add a Jira bug.
- MK: This should be now fixed
- A-M: Yep - all good
- Scenario 18
- Given the Tags Pane
- When a tag is unassigned from a record
- Then the number of tags in the Sub-header and the number next to the Tags icon should decrease by 1
- Scenario 19
[A-M created separate Jira]
- Given the individual tags assigned to a record
- When the users outputs the record (for printing, downloading, delimited, reporting format, etc.)
- Then output all tags along with the rest of the record
- A-M: I'll move this to a separate JIra, and block it until records can be exported/printed: FOLIO-1495, FOLIO-1507
TestRail: Results
Attachments
Issue Links
- blocks
-
UITAG-10 Permissions for Tags on Individual Records: View-Only
-
- Open
-
-
UITAG-11 Permissions for Tags on Individual Records: Assign existing tags/no other edits
-
- Open
-
-
UITAG-12 Permissions for Tags on Individual Records: Create new tags and assign/no other edits
-
- Open
-
-
UITAG-13 Permissions for Tags on Individual Records: Unassign only
-
- Open
-
-
UITAG-14 Permissions for Tags on Individual Records: Assign existing tags/allow other edits
-
- Open
-
-
UITAG-15 Permissions for Tags on Individual Records: Create new tags and assign/allow other edits
-
- Open
-
- is blocked by
-
FOLIO-1194 design and implement tag backend
-
- Closed
-
-
STCOM-263 Multi-selection component
-
- Closed
-
-
STCOM-316 Add new tags icon
-
- Closed
-
- relates to
-
UIOR-619 Tags with ALL CAPS labels are not displayed in tag drop-down
-
- Closed
-
-
UITAG-4 Issues with Tags highlighting
-
- Closed
-
-
UITAG-5 Issues with Tags pane layout
-
- Closed
-
-
UITAG-6 Tags autosuggest subsort needs tweaking
-
- Closed
-
-
UITAG-10 Permissions for Tags on Individual Records: View-Only
-
- Open
-
-
UITAG-11 Permissions for Tags on Individual Records: Assign existing tags/no other edits
-
- Open
-
-
UITAG-12 Permissions for Tags on Individual Records: Create new tags and assign/no other edits
-
- Open
-
-
UITAG-13 Permissions for Tags on Individual Records: Unassign only
-
- Open
-
-
UITAG-15 Permissions for Tags on Individual Records: Create new tags and assign/allow other edits
-
- Open
-
-
UITAG-16 When exporting a record, export tag data as well
-
- Blocked
-
-
UITAG-17 When printing a record, print its tag data as well
-
- Open
-
-
UITAG-18 Tags permissions: Enabling tag app in general
-
- Closed
-
-
UIU-660 Number of tags should update simultaneously in 3rd and 4th panes
-
- Closed
-
-
UXPROD-1124 Ability to assign Tags to Finance records
-
- Closed
-
-
UXPROD-1125 Ability to assign Tags to Order records - Backend work
-
- Closed
-
-
UXPROD-1126 Ability to assign Tags to Organizations records
-
- Closed
-
-
UXPROD-1220 Ability to assign Tags to Data Import profiles
-
- Closed
-
-
UXPROD-2073 Assign Tags to Order records and filter by them
-
- Closed
-
-
UXPROD-251 Be able to create, delete, display, output tags to individual records within apps
-
- Closed
-
-
UXPROD-1115 Be able to output tags from individual records within apps
-
- Analysis Complete
-