Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SearchGramplet #541

Open
wants to merge 14 commits into
base: maintenance/gramps51
Choose a base branch
from

Conversation

vantu5z
Copy link
Contributor

@vantu5z vantu5z commented Jun 10, 2022

SearchGramplet based on GraphView search widget.

Road map:

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

@vantu5z vantu5z changed the base branch from gramps51 to maintenance/gramps51 June 10, 2022 12:36
@fxtmtrsine
Copy link

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

@cdhorn
Copy link

cdhorn commented Jun 10, 2022

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

@vantu5z
Copy link
Contributor Author

vantu5z commented Jun 10, 2022

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?

@cdhorn
Copy link

cdhorn commented Jun 16, 2022

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.

@vantu5z
Copy link
Contributor Author

vantu5z commented Jun 16, 2022

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.

@emyoulation
Copy link
Contributor

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

@vantu5z
Copy link
Contributor Author

vantu5z commented Jul 25, 2024

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

@emyoulation
Copy link
Contributor

emyoulation commented Jul 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants