addons-source icon indicating copy to clipboard operation
addons-source copied to clipboard

Add SearchGramplet

Open vantu5z opened this issue 2 years ago • 8 comments

SearchGramplet based on GraphView search widget.

Road map:

  • [ ] search objects
    • [x] search persons
    • [x] search tags
    • [ ] todo - search other objects
    • [ ] regexp support
  • [x] Drag-n-Drop (drag from gramplet)
  • [ ] popup menu for rows
    • [x] minimal actions
    • [ ] todo - add more actions
  • [x] configuration
  • [ ] sorting
    • [x] by title
    • [x] by object type
    • [ ] todo - by time

vantu5z avatar Jun 10 '22 12:06 vantu5z

Very promising 🥇 love that you can detach the gramplet and have it off to the side. Thank you

Screenshots for anyone interested: example_gramps - Dashboard - Gramps example_gramps - Dashboard - Gramps

fxtmtrsine avatar Jun 10 '22 14:06 fxtmtrsine

Haven't looked yet, just names or free form text like the search engine David embedded in the WebAPI?

cdhorn avatar Jun 10 '22 16:06 cdhorn

For now search only by persons. What does it meen free form text?

To find Adams William for example, you can type: dam lli or {gramps_id}

Or do you meen search in all text fields in objects (events, notes, ..) attached to person?

vantu5z avatar Jun 10 '22 18:06 vantu5z

Or do you meen search in all text fields in objects (events, notes, ..) attached to person?

Yes, but not just person, all text fields in any object. For Gramps.js @DavidMStraub added a search endpoint to the WebAPI using a Python based search engine called whoosh. It would be awesome to have that kind of capability in Gramps core to use in the GUI as well.

cdhorn avatar Jun 16 '22 11:06 cdhorn

Yes, but not just person, all text fields in any object.

Yes, something like this I try to do, maybe not for ALL fields but for most regular one. I try WebAPI demo search, seems it need full word to correct search. For example if you have name Todd with birth 1905 and try to search Tod or 1905 then search doesn't find him.

I know that my search is not optimized (have no index or cache) just get objects one-by-one and check them for text, but search is faster than visualisation (so it's no matter now).

Or do you meen search in all text fields in objects (events, notes, ..) attached to person?

This mean that if person have note with text "lived on the shore of the lake" and you try to search lake then you get this person and note in results. Do you mean this kind of search? Or just search all objects by their fields? For example search lake give you only this person note but not the person.

vantu5z avatar Jun 16 '22 13:06 vantu5z

Could you add Internet tab records into the search? Sometimes, for a living collaborating researcher, all you remember is an eMail or forum alias.

emyoulation avatar Jul 25 '24 10:07 emyoulation

Do you mean find person (other objects) by internet tab information or show them as separate internet records in search results?

vantu5z avatar Jul 25 '24 15:07 vantu5z

Thanks for asking. I meant finding the Person object by looking at its Internet records.

For instance, I would like to be able to find Person "Ivan" by searching for "vantu5z" and finding it in a URL field (or Description field) in the Internet tab entry for his GitHub repository. Or from part of his eMail address.

emyoulation avatar Jul 25 '24 15:07 emyoulation