huridocs / uwazi

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

Sidepanel tabs loose search term and other params such as file #6748

Closed txau closed 2 months ago

txau commented 4 months ago

When switching between side panel tabs while in document view search term is being cleared out.

  1. Go to a document view screen
  2. Search something in the full text search box
  3. Click in the metadata panel
  4. Notice the search term is lost

This is also happening when coming from a text search from library

txau commented 4 months ago

Moreover, it is also clearing out the param for the user selected file, so you can't use text tools with a file other than the default.

RafaPolit commented 3 months ago

More issues with this behavior: If you search a term on a PDF (loupe icon on side panel) and you CLICK on a search result, it:

oleksandrako commented 2 months ago

https://github.com/user-attachments/assets/cc149ac9-fd28-4408-bcd4-7f11607f025a

After testing:

1) does not show the search snippet on the page highlighted (unexpected) it works, but still glitchy. The search term takes time to get highlighted. See the video .

2) search icon / loupe on the right panel is not responding to click. To get results, we have to click on ‘Enter’ button on our keyboard. The search icon on the library search loupe is working as expected.