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

Revise text component replacement #144

Merged
merged 5 commits into from
Aug 29, 2020
Merged

Revise text component replacement #144

merged 5 commits into from
Aug 29, 2020

Conversation

zml2008
Copy link
Member

@zml2008 zml2008 commented Aug 28, 2020

This now properly handles non-TextComponent children, plus traverses TranslatableComponents and hover events.

At some point the logic in this and in TranslatableComponentRenderer should be abstracted out into a common component visitor. There's also potential to expand the exposed replacement api -- this PR doesn't expose any new functionality.

@zml2008 zml2008 added this to the 4.0.0 milestone Aug 29, 2020
@zml2008 zml2008 merged commit 557865c into master Aug 29, 2020
@zml2008 zml2008 deleted the feature/text-replacement branch August 29, 2020 18:34
zml2008 pushed a commit that referenced this pull request Dec 7, 2021
Includes simple tests for the new placeholder resolvers
Includes a test for #140 which is fixed now thanks to #144
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.

None yet

2 participants