HistoryMap icon indicating copy to clipboard operation
HistoryMap copied to clipboard

historymap search

Open kaidatavis opened this issue 1 year ago • 2 comments

It will be good to be able to search nodes in a historymap, especially when there are many nodes.

This will be even better if the search goes through the entire page and not just the title, as the search text might not in the title. One library that can be used for this: https://github.com/nextapps-de/flexsearch

kaidatavis avatar May 06 '24 14:05 kaidatavis

(I really need this feature when I use historymap)

Yuu-Han avatar Jun 08 '24 13:06 Yuu-Han

Issue:

  1. Once historymap is updated, the current user location is lost (not just for search).
    1. check the behaviour if user clicks on a node in the search result: the new node should be added to the result node.
  2. whether to apply the search when the hmpages updates, such as user opens a new tab.
    1. maybe a search history so user can get back to a previous search results quickly.
  3. whether to include context in the search results.
  4. user may want to search a 'tag' because there are too many tags and not easy to find the one wanted.
  5. library can support certain type of fields, such as only search in the highlighted text, but probably too much for now.
  6. whether to 'combine' the same page in the search results, as a page can be visited many times. This is a general issue for historymap.
  7. Whether/how to highlight/differentiate the search results.

kaidatavis avatar Jul 08 '24 14:07 kaidatavis