Adopted Relationships #388
-
|
Hello. I found your plugin last week and have been testing it for use in keeping track of families in a story I'm working on. Technically, a story set in the Star Wars universe... I noticed your mentioning of that use case ;) though I haven't yet started setting up the dating system yet, as I wanted to test out the relationship tracking first. So far, I think it could be exactly what I'm looking for in terms of visually keeping track of the family trees I've been developing for my world-building. I have a question regarding how adopted children are displayed... also, I may have encountered a few bugs. From the documentation (wiki) as well as the relationships management panel, it would appear that an adopted child would be indicated with a dotted line and cyan color. However, while I have found the cyan color used in the relationships pane, I have yet to figure out how to get the dotted line to display. I have looked in both the "Family Chart" and the generated Canvas Tree Chart. As to the possible bugs... When I created the family via the wizard, I realized after the fact that one of the children was adopted, so I went to "edit person" and swapped the child's parents to their birth parents and moved the adopting parents to the appropriate section. While I got the notice that the information has been saved, the parents updated, but the adoptive parents were not added to the properties. I tried several times, thinking perhaps it was a glitch. Each time I received the notice that the information was updated, but checking the properties revealed the adoptive parents still missing. I then noticed the "relationships" > "add custom relationship" and could add the parents that way but it lumped both parents into a "adopted parents" property, which seems to be similar to what happened with #365 (comment) with step-parents? I also created a "test child" that was identical to the first adopted child, to see if it was a glitch with the child having been created through the wizard, creating the test "from scratch" with the "create person" action and the test child's properties filled correctly. I have also noticed that when I go "edit person" that while the links to the parents and birth location remain, the adopted parents disappear from that page every time, even if they are still listed in the properties. I hope this makes sense. From a world-builder's perspective, this plugin has great potential. I've been looking for years to find something like this, and I'm glad to have found it. Thank you for developing it! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
Welcome @DigitalDreamn! Glad Charted Roots fits the worldbuilder use case. A Star Wars family tree is exactly the kind of scenario where proper adoption handling matters (adopted characters carry distinct in-universe weight, not just a structural footnote). Thanks for the detailed report. Almost everything you've hit is a genuine bug, and the documentation has been promising behavior that isn't fully shipping. I've confirmed each from the code and filed tracking issues: 1. Adopted child not appearing in Family Chart -> #389 The Family Chart currently treats adoptive parents as a fallback. Only shown when no biological parents exist. When both are set (the normal case for adoption), biological parents win and the adoptive relationship is silently dropped. The chart also has no distinct visual styling for adoptive edges, even though the docs imply otherwise. Both gaps tracked in #389. Adoption is a distinct additional relationship, not a replacement, and the fix will render both sets of parents with visually distinguishable edges. 2. Edit Person modal silently dropping adoptive parent updates -> #390 This is the most serious one. The modal shows a "saved" notice but doesn't actually write adoptive parent fields to frontmatter, and it also fails to display existing adoptive parents when reopened. Two related defects, same likely root cause. 3. "Adopted parents" lumping both into one field -> #391 Exactly the same bug class as #365 (step-parent assignment, previously fixed). The custom-relationship path doesn't check the target's sex to split into 4. Adoptive parents missing from child's relationships dynamic block -> #392 Asymmetric rendering: the adopted child shows on the adoptive parents' block, but adoptive parents don't show on the child's block. Inverse-inference logic for the Plus one wiki correction (already shipped): the Custom Relationships wiki page now notes that dashed/dotted line styles on Canvas Tree only render with the Advanced Canvas community plugin installed; vanilla Obsidian Canvas ignores edge style attributes and draws solid lines. Colors work in both. Install Advanced Canvas if you want visual distinction between relationship types on Canvas output. The Family Chart SVG view can render line styles natively once #389 is fixed, so that gap is closable inside the plugin (unlike the Canvas one, which depends on Advanced Canvas). A quick ask to help with the edit-modal bug (#390): would you mind sharing the frontmatter of the adopted child's note (just the properties block, redacted if needed)? That'd help reproduce the modal behavior quickly without my having to guess at the exact setup. Thanks again for the structured report. This is genuinely helpful, and several of these bugs had been quietly misleading users for a while. |
Beta Was this translation helpful? Give feedback.
-
|
Happy to help @banisterious 😊 I hadn't expected to find a bug in purposefully unlinking, but it is a good one to find, especially since we world-builders can be known for changing relationships as we go 😂 Or at least I do. On the subject of changes being made and the information not changing in the properties, I have noticed that if I change a person's "universe" that it doesn't actually clear the field if I set it back to "none". I think I've encountered that in a few other fields, but can't remember which ones at the moment. I know the universe one isn't doing that because I was going through this evening changing that and setting characters/persons to the appropriate collection and then noticing that the universe field wasn't clearing; and checking to determine if changing something had disconnected children or spouses from the #403 bug. When I was first exploring the plugin, I had for some reason thought that it was a good idea to use "universe" as a way of marking my OCs; having learned more about the plugin, I think collections or groups would be better for that so I've been working to correct my earlier odd choice. |
Beta Was this translation helpful? Give feedback.
Welcome @DigitalDreamn! Glad Charted Roots fits the worldbuilder use case. A Star Wars family tree is exactly the kind of scenario where proper adoption handling matters (adopted characters carry distinct in-universe weight, not just a structural footnote). Thanks for the detailed report.
Almost everything you've hit is a genuine bug, and the documentation has been promising behavior that isn't fully shipping. I've confirmed each from the code and filed tracking issues:
1. Adopted child not appearing in Family Chart -> #389
The Family Chart currently treats adoptive parents as a fallback. Only shown when no biological parents exist. When both are set (the normal case for adoption), biolog…