Tags - Basic (UXPROD-250)

[UITAG-6] Tags autosuggest subsort needs tweaking Created: 17/Sep/18  Updated: 24/Oct/18  Resolved: 12/Oct/18

Status: Closed
Project: ui-tags
Components: None
Affects versions: None
Fix versions: None
Parent: Tags - Basic

Type: Bug Priority: P3
Reporter: Ann-Marie Breaux (Inactive) Assignee: Michal Kuklis
Resolution: Done Votes: 0
Labels: sprint47, sprint48, tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: File AutosuggestPrimarySort.mp4     File AutosuggestPrimarySortAgain.mp4     File AutosuggestSecondSort.mp4     File tags-order.webm    
Issue links:
Relates
relates to STSMACOM-113 Tags on individual records: Assign, U... Closed
Sprint:
Development Team: Prokopovych
Tester Assignee: Ann-Marie Breaux (Inactive)
Epic Link: Tags - Basic

 Description   

Missed the Q3 cutoff, so moving this to a separate bug. See STSMACOM-1133, scenario 8 for the original text.

Overview: When FOLIO autosuggests tags, the existing tags in the central tag list shoudld display with these criteria:

      • 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
        #The first portion is working, but the sort order is not quite right

Steps to Reproduce:

  1. Log into FOLIO-snapshot-stable as diku_admin
  2. Find a user
  3. Start to add tags to a user; include tags that have a repeating text string at the start and in the middle/end of the tag (e.g. urgent, urgent-2, urgent-3, i-said-not-urgent, maybe-urgent, less-urgent, noturgent, etc)
  4. Remove those tags from the record. (That way they will be in the central tag list, but not assigned to the specific record)
  5. Begin to type the text string that repeats in the tags (e.g. urg)
  6. That should cause the various auto-suggest options to display in the list under the tags already assigned to the record.

Expected Results: Existing tags that begin with the text string show first in the auto-suggest list, in alphabetical order. After them, any tags with the text string anywhere else in the tag show below those, in alphabetical order.

Actual Results: Tags that begin with the text string show first, in alpha order. Tags that do not being with the text string are gathered below the first group, but seem to be showing in reverse alphabetical order, instead of regular alphabetical order.

Additional Information: See attached video



 Comments   
Comment by Ann-Marie Breaux (Inactive) [ 20/Sep/18 ]

folio-testing is down & snapshot-stable doesn't show the changes; I'll test when I can

Comment by Ann-Marie Breaux (Inactive) [ 24/Sep/18 ]

Hi Michal Kuklis The secondary sort (where "urg" is not the beginning of the string) looks good now, but the primary sort (where "urg" is the beginning of the string) is messed up now. See new video attached.

Comment by Michal Kuklis [ 26/Sep/18 ]

Oh no! Looking into this right now.

Comment by Michal Kuklis [ 26/Sep/18 ]

Ann-Marie Breaux I tested it here locally but I can't reproduce it. The primary sorting looks fine. I think we need to wait for the folio-stable to make sure the newest version is in place.

Comment by Michal Kuklis [ 27/Sep/18 ]

Ann-Marie Breaux would you mind giving it a try again on folio-testing today? I wonder if you can reproduce it. Thank you!

Comment by Ann-Marie Breaux (Inactive) [ 27/Sep/18 ]

Hi Michal Kuklis Something is still weird, even in folio-testing. See AutosuggestPrimarySortAgain video, attached

Comment by Michal Kuklis [ 28/Sep/18 ]

Thanks for testing this Ann-Marie Breaux. This is very strange because I can't reproduce it locally. I will give it another try though.

Comment by Ann-Marie Breaux (Inactive) [ 28/Sep/18 ]

Thanks, Michal Kuklis In the video, you can see what looks weird to me, right? If you were getting that same result, you would think it's a bug, right?

Comment by Michal Kuklis [ 28/Sep/18 ]

Yes absolutely. It looks like a bug on your screencast. I just retest it locally. Please see the attached screencast: tags-order.webm.
I'm not sure what is going on on folio-testing and why we see a different behavior there.

Comment by Ann-Marie Breaux (Inactive) [ 28/Sep/18 ]

Let's just wait until we know folio-testing and folio-snapshot-stable are truly healed and updated, and then I'll test again. For now, we'll just leave it be.

Comment by Michal Kuklis [ 28/Sep/18 ]

Sounds good Ann-Marie Breaux

Comment by Michal Kuklis [ 12/Oct/18 ]

Hi Ann-Marie Breaux I was wondering if you are still able to reproduce this issue on folio-stable?

Comment by Ann-Marie Breaux (Inactive) [ 12/Oct/18 ]

It's been so unstable, I forgot all about it! I just checked, and all looks perfect - thank you!! Closing the ticket. Hope you'll have a good weekend, Michal Kuklis

Comment by Michal Kuklis [ 12/Oct/18 ]

Great thanks for double checking this Ann-Marie Breaux!

Generated at Thu Feb 08 23:13:51 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.