Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display issues with middle names and suffixes #53

Open
jmegenealogy opened this issue Oct 15, 2022 · 2 comments
Open

Display issues with middle names and suffixes #53

jmegenealogy opened this issue Oct 15, 2022 · 2 comments
Labels

Comments

@jmegenealogy
Copy link
Contributor

Reported in wikitree/wikitree-browser-extension#45 (comment) by eweddington:

I'm seeing issues with displays of names:

  • Middle names. Some profiles I see nothing for a middle name. On other profiles I see a dot (.) displayed for the middle name when there should be nothing for those profiles.
  • Suffixes not displayed. I have a number of male lines that have a suffix, like "Sr" or "Jr". I don't see these displayed, when it would be helpful to see them to differentiate people at a glance.
  • Suffix sometimes displayed. I have a male line with the same name that goes up to 6 in a row, with roman numerals for the suffix. > For some odd reason, I do not see "VI" for one person's profile, but I see "V" on the other profile, but then nothing for "IV". I have confirmed that these are all in the Suffix field. You can see this if you start here (Cornelius Vanover VI): https://www.wikitree.com/wiki/Vanover-69 . It is also this line where I see the dot (.) for the middle name when there shouldn't be anything displayed. See below screenshot:

image

Comment from me:

Long names are shortened so they don't wrap.

But periods shouldn't be showing up if there isn't a middle name.

The function for shortening is getShortName() at https://github.com/wikitree/wikitree-dynamic-tree/blob/main/views/baseDynamicTree/WikiTreeDynamicTreeViewer.js#L601

@udjeni
Copy link
Contributor

udjeni commented Oct 16, 2022 via email

@udjeni
Copy link
Contributor

udjeni commented Oct 25, 2022

I have created a PR that (hopefully) addresses this issue: #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants