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 #1660

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.
@JujuDel JujuDel force-pushed the Fix_16personalities_plugin_getComputedStyle branch from 65bb99e to 42674f3 Compare November 11, 2024 15:16
@JujuDel
Copy link
Author

JujuDel commented Nov 11, 2024

Closing this PR in favor of #1661

The .github/workflows/test.yml file does not authorize branches to start with uppercase letters and I don't have the rights to modify it

@JujuDel JujuDel closed this Nov 11, 2024
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