huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
242 stars 80 forks source link

[IX] - "Select & search" suggestions improvements #7114

Closed txau closed 2 months ago

txau commented 3 months ago

The new "Select & search" is AMAZING

I just found a couple of nice to have improvements:

  1. When "Select & search" is activated, if we are in the "Selected" view and the search is not present in the list it displays no results: image It would be great in we inject the results even if it is not selected, since from that view you have a short list of what its selected. This comes super handy and improves the workflow.

  2. It would be great if the "Selected" column becomes "Selected and suggestions". So you have a quick view on the actual state of affairs. The problem being, that the suggestions are scattered around in the "All" list. So the new "Selected and suggested" column would look like:

    • Regular background and checked box if it is selected but not suggested
    • Green background and checked box if it is selected and suggested
    • Red background and NO checked box if it is suggersted but not selected
txau commented 3 months ago

Also, it would be great to add a "Hint: press space bar to select the first item in the list" when "Select & search" is active.

There is a glitch (at least on Firefox), when selecting with space an item that matches a suggestions, the color remains in red. It should change to green.

And another glitch:

  1. Open a document
  2. Activate S&S
  3. Select one text
  4. Hit space to select the item it found
  5. Delete the search string from the search bar
  6. Scroll down in the list and select another item
  7. Upon selection, it jumps to the beginning of the list