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

Vue3 Query Builder - Logic Editor #250

Closed
JhumanJ opened this issue Dec 1, 2023 · 7 comments
Closed

Vue3 Query Builder - Logic Editor #250

JhumanJ opened this issue Dec 1, 2023 · 7 comments

Comments

@JhumanJ
Copy link
Owner

JhumanJ commented Dec 1, 2023

Hi,
We're in the process of migrating the project to version 3 of Vue. For the field logic editor, we use this package who only has support for vue 2. They aren't too many files in this package, so I believe that it shouldn't be too hard to fork it and to add support for Vue3.

How to reproduce the compatibility errors

  • Check out vue-3 branch, npm install, npm run dev
  • Open the form editor in the browser
  • Click on the blue cog to open field settings for any of the fields
  • Open console to see trigger warnings (still working since on vue-3 branch we still run @vue/compat)

Example errors:

[Vue warn]: onActivated is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement. 
  at <QueryBuilderGroup config= {operators: Array(2), rules: Array(3), colors: Array(6)} query= 

or

[Vue warn]: onUpdated is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement. 
  at <QueryBuilderGroup config= 

Acceptance criteria

  • We need an open-source fork of this vue-query-builder package
  • And a PR to the vue-3 branch, replacing the rtucek/vue-query-builder dependency with the new query builder, essentially fixing these issues!

Thank you!

@JhumanJ
Copy link
Owner Author

JhumanJ commented Dec 1, 2023

/bounty $150

Copy link

algora-pbc bot commented Dec 1, 2023

💎 $75 bounty created by JhumanJ
🙋 If you start working on this, comment /attempt #250 to notify everyone
👉 To claim this bounty, submit a pull request that includes the text /claim #250 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to JhumanJ/OpnForm!

Attempt Started (GMT+0) Solution
🟢 @rishi-raj-jain Dec 1, 2023, 7:08:16 PM #251

@JhumanJ
Copy link
Owner Author

JhumanJ commented Dec 1, 2023

@rishi-raj-jain sure, please go ahead!

Copy link

algora-pbc bot commented Dec 1, 2023

💡 @rishi-raj-jain submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Copy link

algora-pbc bot commented Dec 1, 2023

🎉🎈 @rishi-raj-jain has been awarded $75! 🎈🎊

Repository owner deleted a comment from algora-pbc bot Dec 1, 2023
@JhumanJ
Copy link
Owner Author

JhumanJ commented Dec 1, 2023

Closing this! @kwesterfeld2 can I also pay you via algora?

@JhumanJ JhumanJ closed this as completed Dec 1, 2023
@kwesterfeld2
Copy link

kwesterfeld2 commented Dec 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants