-
Notifications
You must be signed in to change notification settings - Fork 20
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
Labels
Comments
There is code in my (now old branch) of the dynamic tree that reworked the
name construction to some degree to fix some of these issues and improve
the display, especially in the case where the middle name field is not
used. You are welcome to use that code as a starting point.
…On Sat, 15 Oct 2022, 22:39 Jamie Nelson, ***@***.***> wrote:
Reported in wikitree/wikitree-browser-extension#45 (comment)
<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: image]
<https://user-images.githubusercontent.com/6730063/195979898-af12ac6d-aad9-4486-97e4-5d526ac0bdce.png>
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
—
Reply to this email directly, view it on GitHub
<#53>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZWMMSINTMCXTYJ5D2E5CTLWDMB5TANCNFSM6AAAAAARGBCXZE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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
Reported in wikitree/wikitree-browser-extension#45 (comment) by eweddington:
Comment from me:
The text was updated successfully, but these errors were encountered: