Experimental Person Profile View (CardView) Plugin

Please do submit the Settings bug as an issue in the GitHub Repository of @cdhorn

I tried it and also experienced errors in that tab. My cellular connection is VERY flakey today. So I cannot file.

As you noted, this add-on is very (possibly even excessively) customizable. So you can customize the Person & Relationship view’s to be very different. If you find settings that make sense, offer them to Chris to try. He is very open to feedback. (That’s how the ‘Minimal’ configuration template came into existence.)

Well, fine maybe, but there should be a way to make it stop switching to card view people view just because you use cardview in relationship tab last time. Its very irritating. It seems like the only one of the tabs where this happens, the others stay where it was used last time. (Including used becuase you clicked something in another view).

Suggestion I would make is that in the default template, or maybe not but its an idea, its what I prefer. It is:

  • The Event Display type in settings, in the active type, let the standard be set to “Single line with Place”, but in groups tabs, let the standard be “Split Line”
    My reasons: The active tab is changing the top cards, aka one or two side by side colums depending on the view, so there is more width. The ones that are effected by groups are the ones in the columns at the bottom, where in relationship there is 3 of, and people might add more if you want to I think, so there is less width to play with. So I have it set up as mentioned.
  • I think I remember the images being small everywhere by default? I have at least now set it to large in the active tab, because again, there its more width to play with, and its the main focus point sort of. while the group tabs its set to small still.

This I tink fit better here than on Github tho.

CardView IS an experimental add-on. It has not been put into the Add-on Manager system yet. So the what support and feedback mechanisms are available will be through his GitHub Repository.

The CardView is the first & only feature in Gramps that navigates between views while simultaneously shifting object focus. So there are multiple degrees of freedom in the movement.

View switching is through the Navigator bar & the view modes via the toolbar/view menu. They use the last view mode and center on the active record. The other hotlinks open Object Editors or change the Active Record without changing views. These only change with one degree of freedom. (And they still have an idiosyncracy – they reset back to defaults. All the column resizing, sort orders, and tabs are reset.)

So the behavior has absolutely no guidelines. Naturally new behaviors will have idiosyncrasies.

1 Like

From within cardview navigation, navigating to a person will always open the Person cardview under People.even if you enter cardview through the cardview under Relationships.

Both People and Relationships are referencing the same Person Cardview. The file that loads these views loads the People version first so will select that view while navigating within the view.

Personally, I have hacked the card_view.gpr file and deleted the Person Card that loads under Relationships.

In your plugin directory \cardview\src\card_view.gpr.py

delete or comment out (add # to start of each line) lines 93-108.

register(
    VIEW,
    id="relationshipcardview",
    name=_("Relationships Card"),
    description=_("A browseable Relationships card view."),
    version=VERSION,
    gramps_target_version=GRAMPS_TARGET_VERSION,
    status=STABLE,
    fname="card_view_person.py",
    authors=AUTHORS,
    authors_email=AUTHORS_EMAIL,
    category=("Relationships", _("Relationships")),
    viewclass="PersonCardView",
    stock_icon="gramps-relationshipscard",
    order=END,
)

…or you can leave it under Relationships and delete the view under People.

1 Like

Thanks for pointing this out, a recent change introduced the problem.

This is fixed in 831b6378ff28a09748a313b8e921578612605e7d

Didn’t bump the version.

So this cross view global navigation mode is different and there are some limitations and idiosyncracies around how it works as has been mentioned.

I see @DaveSch shared one option as you can disable the person or relationship view entry in the .gpr file if you choose.

Another approach is in the options, under General, is a toggle for “Link people to relationships instead of people category” that you can enable.

Person is registered under both as some people asked for it to be available under both. Note you can choose to create custom option templates and associate a different template in each of the two views.

1 Like

That would require integration of either this or a similar global navigation mode into Gramps core. @Nick-Hall is open to that but no idea on timeline. This version of global navigation is an iteration on his original for the CombinedView, so I imagine if one is eventually added to Gramps core it will be a third iteration with lessons learned from both previous ones and perhaps work a little differently as well.

2 Likes

I wouldnt mind it being there if it didnt happen to end up switching away from people list automatically all the time. To me, People list is useful, but Cardview can replace everything I used relationship page for. (I think, I havent done actual work with it yet, I have just been testing stuff).

I did not know about that setting, nice.
Its still the case that when I have it set to Combined list in people view, then click on relationship view where CardVew is seleced, and then go back the People its no longer in Combined list but is in CardView mode. The same thing happens in reverse btw when I tested now.
Its like when the CardView is opened in one of them, its remembered as last used in both People and Relationship no matter what one you actually open it in.
Based on how you describe it work its probably something to do with that.

Interesting, Thanks for the info.

Interesting, with that option enabled I’m not seeing that behaviour. I can leave the Person category on one of the list views, navigate across the card views, and when I select the Person category it is still on the list view just with whomever the last active person was.

Uhm, I tried to start gramps and was about to screen record, but then it no longer happens?? Weird, maybe restarting my PC fixed it?? I dont get why that would fix it as Gramps is just a program but oh well. Will report back if it happens agan.

(Maybe it has something to do that yesterday was the day I installed 5.1.5 and the plugin, and I had run 5.1.3 earlier that day? I have no idea.)

It seems like the view’s configuration window is still too large even after reducing the font size. Perhaps implementing a scrolling panel for the larger tabs could help accommodate the limited screen space.

CardView’s configuration is massive. It is so huge that beta users have barely begun to explore it for documentation purposes. @cdhorn added the template option to name and save multiple Configurations so that people can compare the UX with different Configurations.

It needs a lot of feedback.

@cdhorn did a major revision of the config layout and size since I posted that message. The current version (0.99.110) now opens smaller than the size of my person edit window which all fits within my basic Gramps window.