webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

Control panel - GEDCOM tags

Open webtrees-pesz opened this issue 2 years ago • 7 comments

Currently, only level 1 tags are supported via Control panel - GEDCOM tags. It would also be useful to support subtags on level 2. Example: MARR.TYPE

There should be the possibility to control all 'subtags‘ of events and facts in Control panel - GEDCOM tags

webtrees-pesz avatar Jul 01 '22 18:07 webtrees-pesz

There should be the possibility to control all 'subtags‘ of events and facts in Control panel - GEDCOM tags

There are probably a thousand separate tag/subtag/... combinations. It is not practical or desirable to make all of them configurable.

Example: MARR.TYPE

This has been removed from the list of tags that are "hidden by default".

fisharebest avatar Jul 04 '22 14:07 fisharebest

Greg, there are not thousands of combinations. If you follow the record structures and the substructures of the lineage-linked form, you can decide for each tag (or substructure) what should be hidden by default and what should not. webtrees can make a suggestion, but the user has the option to change it.

The highest form of flexibility can be achieved if additional exceptions can be defined. Example: TYPE in EVENT_DETAIL is "hidden by default". Exceptions: FAM.MARR or AGNC in EVENT_DETAIL is "hidden by default". Exceptions: INDI.OCCU, INDI.EDUC, ...

With such logic you are also able to handle different GEDCOM versions in the forms. The GEDCOM version of a tree is stored in the header information. Based on this information, version-dependent GEDCOM structures can be used to build the forms.

webtrees-pesz avatar Jul 04 '22 15:07 webtrees-pesz

I agree that everything should be configurable somehow, regardless of the number of options.

Is it desirable to have a large number of forum threads instead for all kinds of special cases, leading to solutions that still do not work for all users?

ric2016 avatar Jul 04 '22 15:07 ric2016

I agree that everything should be configurable somehow, regardless of the number of options.

There are approx 50 facts/events for FAM/INDI

Each of these can have TYPE/DATE/PLAC/CAUS/RELI/AGNC/ADDR/NOTE/SOUR/OBJE/RESN...

That's 550 configuration options.

There are about 50 tags under NAME.

Add in level 3 tags, and other object types, and we will easily have over 1000.

Do you really want a form with 1000+ options, most of which will never be used?

fisharebest avatar Jul 04 '22 18:07 fisharebest

There are different ways to make this manageable. It doesn't have to be all in a single form.

One possibility is to use separate forms, one per event. Mabe even add a configuration option (for admins only) to the edit dialogs themselves: So when I edit an event and miss a tag, or see a tag that is never used, I can change this directly for this type of event, within the event structure as presented (when editing with all gedcom tags, they all show up already anyway).

Another approach is to start with the tag, e.g. AGNC, and configure for which specific events to show it.

ric2016 avatar Jul 04 '22 20:07 ric2016

Greg, the idea was to mark infrequently used tags and their exceptions in a "structure oriented" list for the different levels.

See attached examples for 5.5.1 and 7.0: Lineage-Linked-Structure for 5.5.1 and 7.0.xlsx

The same lists can be used to build different forms for different GEDCOM versions or for error checks..

webtrees-pesz avatar Jul 04 '22 21:07 webtrees-pesz

See this forum thread for an example of how this could be handled.

ric2016 avatar Jul 18 '22 10:07 ric2016