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

Fix color, personality, traits raw data extraction #1661

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JujuDel
Copy link

@JujuDel JujuDel commented Nov 11, 2024

The 16Personalities plugin is currently giving an error. See #1601

I don't really know much about JS and EJS but tried to propose a fix over the weekend. Here is an example of the correction on my repo -> https://github.com/JujuDel/JujuDel/blob/master/metrics/metrics.plugin.16personalities.svg

I'll be happy to learn more about JS and best practices if I made something weird !

If I find time to implement + test it, I'll change the static SVG to a dynamic one (if that's even possible) because one of the figure is moving (e.g. here https://www.16personalities.com/profiles/7fd4a3833c7be)

The banner were different for the personality and the traits, so the
extraction was not working properly.

Not sure about the color extraction, but added fallback colors for each
types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant