# Experimental Person Profile View (CardView) Plugin

**URL:** <https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562>\
**Category:** Development\
**Tags:** third-party-addon, cardview\
**Created:** [June 19, 2021, 4:11pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562 "2021-06-19T16:11:27Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 20, 2021, 5:26pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/41 "2021-06-20T17:26:43Z")

</div>

Added support for this a while ago.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 20, 2021, 5:28pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/42 "2021-06-20T17:28:09Z")

</div>

I am not fond of ellipsis… I did add a separator bar though to delineate the crossover in form of options if that sort of makes sense…

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 20, 2021, 5:59pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/43 "2021-06-20T17:59:18Z")

</div>

Ok.

It’s far better to have menu feature that omits the ellipsis that one that falsely appends it.

Several Tools in Gramps mislead the user with an erroneous ellipsis. Conning users into thinking they’re harmless to explore – that there will be an safe way to bail out before the tool begins to independently change the Tree. But then they evilly mangle your data as you watch helplessly.

(Maybe it is just the Windoze version, but one of the features where I’ve NEVER found a _ **working** _ example in gramps is a Cancel/Abort for a long/progressbar operation. Every one of those feels like they’re laughing at you, saying they are too important to abort. I’m almost surprised there isn’t a snarky “But surely you were smart enough to do a backup, weren’t you? 😈” follow-up dialog.)

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [June 21, 2021, 1:03pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/44 "2021-06-21T13:03:54Z")

</div>

The new view looks great!!

My question is why you put the view under “People” and not “Relationships”?

I see this view as similar to what @Nick-Hall is doing with the [Combined View](https://sourceforge.net/p/gramps/mailman/message/36982096/) which he placed with “Relationships”.

Your new view does everything (?? I have not fully explored all features yet) that the Relationship view does and a few more. All three views takes the active person and aggregates and organizes events and people connected to that person.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [June 21, 2021, 2:10pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/45 "2021-06-21T14:10:55Z")

</div>

Is this (relation filters and relation category filters) implemented? If that is the case, how do you use these options and what are their effect?

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/ac4a5a12ebb866a093390d5b1a73be51e01534ec.png)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 21, 2021, 3:26pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/46 "2021-06-21T15:26:39Z")

</div>

These Relation Filter switches do have an impact.

The options definitely add more Events to the Timeline where that extended family member holds a ‘Primary’ (or optionally, a ‘Family’) role. (I haven’t checked how the options interact with other Role types.)

Obviously, there is going to be a processing penalty for including the Events of more people. (2 generation of ancestors & descendants could be a LOT of people… particularly when in-laws & blended family are added to the mix.) And even more penalty for including more than the core (Birth, Marriage, Death, Burial) life Events.

It’s going to be necessary to determine how badly latency increases with a larger Tree to search. 3 generations in a Tree of 500 people might have fast refreshes. But those same settings in a tree of 50 thousand might become mostly unresponsive.

Also, some exploration is needed to see how the timeline upper & lower limits are determined. What happens for an Active Person with no dated Events? Without a known lifespan for setting limits, are ALL Events for ALL generations added to the timeline?

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 21, 2021, 4:30pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/47 "2021-06-21T16:30:55Z")

</div>

It is still very much in development, it does not do everything and I am certain lots of things I have not considered.

When I converted from Gramplet to view I used the Combined Nick as starting point at first and then refactored to not use the newer navigation class but the one in Gramps core original relation view.

It could end up under Relationships, it could end up under both. Minor detail for later on.

---

<div class="post-metadata">

**Author:** ![Brinycoolie](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@Brinycoolie](https://gramps.discourse.group/u/Brinycoolie)\
**Post date:** [June 21, 2021, 4:41pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/48 "2021-06-21T16:41:32Z")

</div>

Throwing an unexpected error here. Crashes the program with some people, not all!  
How do you prefer to handle the report? paste it here or somewhere else?

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 21, 2021, 4:42pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/49 "2021-06-21T16:42:37Z")

</div>

Fringe cases like someone with no dated events probably broken, haven’t tested stuff like that. If no birth or death events found I am calling the gramps routine that attempts to estimate them and use that but that may not work in case of someone with no dated events, don’t know.

The timeline likely needs refining. For a person it is bound by birth event and then last dated event if a death event was identified otherwise estimated date of death. Relative events before and after discarded. Ancestors walks back but not forward, offspring only walks forward. With 50,000 people it’s not looking at all of them, it’s walking through the parent and child families. 3 generations seems a reasonable bound.

I had in mind other timeline views in other Gramps views possibly. Family would be all events for a family for example, from birth of parents (or marriage optionally) till death of last child. So that would bound it. But then Place might be all events at a given location within a given timeframe, or Event all events within a given timeframe. Those later two wouldn’t be in reference to a person or family so for those a 50,000 person tree would have an impact. I am unsure how useful those later two might be for people to have so they may never get done.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 21, 2021, 4:44pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/50 "2021-06-21T16:44:43Z")

</div>

If you run Gramps from command line and can copy/paste or screenshot error and open an issue on github and provide what detail you can around the people and what you think about them is causing it that would be best.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 21, 2021, 4:48pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/51 "2021-06-21T16:48:39Z")

</div>

Yes, they should. The event category filters are not extensively tested.

If you pull latest code I committed there is now timeline coloring scheme option to color with Gramps person defaults, or based on relationship, or event category or confidence level for the citation supporting the event with the highest confidence score.

I also commit changes last night that should improve shared event handling and show role/participants.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [June 21, 2021, 4:53pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/52 "2021-06-21T16:53:14Z")

</div>

Also suggestions for enhancements welcome in addition to bug reports. If those could also be submitted as issues on Github if no one suggested before would be appreciated.

Now back to my real day job. 🙂

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 1, 2021, 4:08pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/53 "2021-07-01T16:08:17Z")

</div>

> [@cdhorn](#):
>
> For those who might be interested in giving it a spin you can find it over at [GitHub](https://github.com/cdhorn/profileview)

Just a reminder. @cdhorn has posted several more updates over the last 10 days and transcribed enhancement requests to his GitHub section. This conversation has moved to there.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 20, 2021, 12:42pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/54 "2021-07-20T12:42:04Z")

</div>

Could testers be on alert for something seen but not yet isolated.

I’ve had a few instances where the Profile view mode’s extensive Configuration dialog didn’t share its toys with Gramplets. Only the tabs related to the Profile were displayed. The Gramplet configuration tabs were not shown.

In my case, I had added the Quick Report Gramplet to the Bottombar and intended to select a different QuickReport via the Configuration. The Quick Report tab didn’t show as the Configuration was invoked repeatedly.

I began a bug report … then suddenly, I couldn’t reproduce the issue anymore. Please watch for any behavioral patterns.

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [September 2, 2021, 4:31pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/57 "2021-09-02T16:31:29Z")

</div>

> [@cdhorn](#):
>
> Doesn’t support type hints. I just pushed a commit that ought to remove them if you want to try again. People with no birth or alternate birth events should be okay now too

Gramps minimum Python version supported is 3.3. So we should not rely on features of Python or its libraries from versions later than that.

---

<div class="post-metadata">

**Author:** ![Mattkmmr](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mattkmmr/32/410_2.png) [@Mattkmmr](https://gramps.discourse.group/u/Mattkmmr)\
**Post date:** [September 2, 2021, 5:03pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/58 "2021-09-02T17:03:23Z")

</div>

> [@prculley](#):
>
> Gramps minimum Python version supported is 3.3. So we should not rely on features of Python or its libraries from versions later than that.

Python 3.3 was released in 2012 reached End of life in 2017.  
Python 3.5 which included type hints was released in 2015 and reached End of life 2020.  
I guess it’s already getting hard to remember what features were around back then and which not. 😄

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [September 2, 2021, 6:57pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/59 "2021-09-02T18:57:23Z")

</div>

The view’s config window needs to be brought down to size. I have to reduce my theme font size to get the config window inside of 22" 1680x1050 monitor. Maybe having the panel of the larger tabs scroll.

Even after reducing the font size, the config window still takes up most of the monitor.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [September 2, 2021, 9:34pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/60 "2021-09-02T21:34:48Z")

</div>

Ah, I did not realize that, thank you for the heads up.

I don’t know if you or any of the other core Developers have had time to look at it recently from usability or code standpoint. I’d be interested in feedback if you or anyone else see better ways to do things I did not think of, or things I may have gone about incorrectly. I think the overall framework is sort of there now and most of what is left is refinement and details, or at least I hope so.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [September 2, 2021, 9:47pm UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/61 "2021-09-02T21:47:38Z")

</div>

Yeah that needs more work though a bit unsure how to best approach it. My main goal last pass through that stuff was to change the structure of the option namespace and consolidate the dialogs. But I agree the layout needs to be more accomodative somehow.

---

<div class="post-metadata">

**Author:** ![cdhorn](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@cdhorn](https://gramps.discourse.group/u/cdhorn)\
**Post date:** [September 3, 2021, 2:48am UTC](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562/62 "2021-09-03T02:48:15Z")

</div>

Just made a commit that adjusts things a bit. I moved the tabs to left side and the notebook pages are now scrollable and pulled in some. Let me know if you think that is a bit better or have any other suggestions to improve it. Thanks!

[Previous page](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562.md?page=2)

[Next page](https://gramps.discourse.group/t/experimental-person-profile-view-cardview-plugin/1562.md?page=4)
