Is your feature request related to a problem? Please describe.
When viewing a family, the Children list shows each child's relationship to the father and mother (e.g. "Father: Adopted / Mother: Birth"), as added in #1132. These relationship types (Birth, Adopted, Stepchild, Foster, …) can be set when adding a child — both the "add new child" and "link existing child" dialogs include Relationship to Father / Mother selectors.
However, once a child is part of the family there is no way to edit these relationship types from the web UI. If a child was added with the wrong type, or the relationship later needs to change (e.g. recording that a child was adopted while keeping the biological parent in a separate family), the only options today are to delete and re-add the child, or to edit the child reference through the API.
Describe the solution you'd like
Enable the standard edit (pencil) action on the children list. Selecting a child and clicking the pencil would open the child-reference form pre-filled with the current frel/mrel, exactly like editing an existing place reference in GrampsjsPlaceRefs. The GrampsjsEditableList base already provides the edit affordance (hasEdit, the pencil button, the _handleEdit hook) — it is used by place references, names, attributes, etc., but is simply not enabled for the children list.
Describe alternatives you've considered
- Deleting and re-adding the child with the correct relationship — loses ordering and is error-prone.
- Editing via the REST API — not accessible to non-technical users.
Additional context
I have a small implementation ready that mirrors the existing GrampsjsPlaceRefs edit flow and can open a PR.
Is your feature request related to a problem? Please describe.
When viewing a family, the Children list shows each child's relationship to the father and mother (e.g. "Father: Adopted / Mother: Birth"), as added in #1132. These relationship types (Birth, Adopted, Stepchild, Foster, …) can be set when adding a child — both the "add new child" and "link existing child" dialogs include Relationship to Father / Mother selectors.
However, once a child is part of the family there is no way to edit these relationship types from the web UI. If a child was added with the wrong type, or the relationship later needs to change (e.g. recording that a child was adopted while keeping the biological parent in a separate family), the only options today are to delete and re-add the child, or to edit the child reference through the API.
Describe the solution you'd like
Enable the standard edit (pencil) action on the children list. Selecting a child and clicking the pencil would open the child-reference form pre-filled with the current
frel/mrel, exactly like editing an existing place reference inGrampsjsPlaceRefs. TheGrampsjsEditableListbase already provides the edit affordance (hasEdit, the pencil button, the_handleEdithook) — it is used by place references, names, attributes, etc., but is simply not enabled for the children list.Describe alternatives you've considered
Additional context
I have a small implementation ready that mirrors the existing
GrampsjsPlaceRefsedit flow and can open a PR.