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

Rewrite the Molang Autocomplete system to improve plugin extensibility. #2307

Open
wants to merge 8 commits into
base: next
Choose a base branch
from

Conversation

SnaveSutit
Copy link
Contributor

@SnaveSutit SnaveSutit commented Apr 29, 2024

This PR is a major rewrite of the Molang Autocomplete system in an attempt to allow plugins to modify it without overwriting it.

There are extensive comments throughout the code, and partial JSdoc typing.

I'm opening this PR now to allow Jannis and others to take a peek at it, and make suggestions.

If/when this PR is merged, I'll update the TS types to reflect these changes.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for blockbench-dev ready!

Name Link
🔨 Latest commit dfc8cba
🔍 Latest deploy log https://app.netlify.com/sites/blockbench-dev/deploys/66415a171962b5000833ad16
😎 Deploy Preview https://deploy-preview-2307--blockbench-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@IanSSenne IanSSenne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest adding a removeQueryGetter method

js/animations/molang.js Outdated Show resolved Hide resolved
Also added an `id` field to the addQueryGetter function, and changedquery_getters property to a Map instead of a Set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants