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: migrating base-rating component using defineComponent sintax #1419

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

albertjcuac
Copy link
Contributor

@albertjcuac albertjcuac commented Feb 20, 2024

Pull request template

In order to migrate X components to vue3, we need to use the 2.7 sintax.

Motivation and context

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

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?

Tested using this component in a test view: https://docs.empathy.co/develop-empathy-platform/ui-reference/components/base-components/x-components.base-rating.html

@albertjcuac albertjcuac requested a review from a team as a code owner February 20, 2024 15:48
Copy link
Contributor

@annacv annacv left a comment

Choose a reason for hiding this comment

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

Hi! We should define the computed properties inside the setup function

@annacv annacv self-requested a review February 21, 2024 14:26
Copy link
Contributor

@annacv annacv left a comment

Choose a reason for hiding this comment

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

gj!

@annacv annacv merged commit 3fb116a into main Feb 21, 2024
4 checks passed
@annacv annacv deleted the feature/EMP-3377-Migrate-base-rating-component branch February 21, 2024 14:28
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.

2 participants