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

Feat: Migrate query suggestions module to composition api #1497

Merged

Conversation

andreadlgdo
Copy link
Contributor

@andreadlgdo andreadlgdo commented May 30, 2024

Pull request template

Describe the purpose of the change, the specific changes done in detail, and the issue you have fixed.

Motivation and context

  • Dependencies. If any, specify:
  • Open issue. If applicable, link: EMP-4163

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to not work as expected)
  • Change requires a documentation update

What is the destination branch of this PR?

  • Main
  • Other. Specify:

How has this been tested?

Tests performed according to testing guidelines:

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review on my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

@andreadlgdo andreadlgdo self-assigned this May 30, 2024
@andreadlgdo andreadlgdo requested a review from a team as a code owner May 30, 2024 15:49
Copy link
Contributor

@victorcg88 victorcg88 left a comment

Choose a reason for hiding this comment

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

I added some minor suggestions, but great job!

victorcg88
victorcg88 previously approved these changes Jun 4, 2024
Copy link
Contributor

@victorcg88 victorcg88 left a comment

Choose a reason for hiding this comment

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

LGTM!

victorcg88
victorcg88 previously approved these changes Jun 7, 2024
@@ -16,7 +16,7 @@
"@vueuse/core": "~10.7.1",
"vue": "^3.4.22",
"vue-router": "^4.3.0",
"vuex": "^4.1.0"
"vuex": "4.0.2"
Copy link
Member

@joseacabaneros joseacabaneros Jun 11, 2024

Choose a reason for hiding this comment

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

Reactivity of vuex getters is broken in 4.1.0 when registering store modules dynamically. vuejs/vuex#2217
vuejs/vuex#2197
It caused emitters didn't work when the trigger is a getter and not the state (request getter of QuerySuggestions x-module).
Downgraded to 4.0.2

@diegopf diegopf merged commit 4a9c742 into main Jun 12, 2024
1 of 3 checks passed
@diegopf diegopf deleted the feat/EMP-4163-migrate-query-suggestions-module-to-composition-api branch June 12, 2024 11:30
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.

4 participants