aecreations / readnext

Read Next: an extension for Mozilla Firefox
Other
4 stars 1 forks source link

Search results not updated when adding a link #43

Closed aecreations closed 1 year ago

aecreations commented 2 years ago

Read Next 0.8.4+

Steps to repro:

  1. Open the sidebar. Ensure there are a few links already added to the reading list
  2. Click on the search box and enter a search term to filter the reading list or cause the "No results" message to appear
  3. Navigate to any web page, and add it to the reading list

Result: The new link appears in the search result, even if its page title doesn't match the search terms entered in the search box.

aecreations commented 1 year ago

If a new link is added to the reading list that doesn't match the search terms, it shouldn't show up in the search results.

Also, if the search result shows one link, and that link is deleted, the current behaviour is that the empty state UI is shown (it goes away when search is cancelled). Instead, the reading list sidebar should be empty.