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

Ratings Tweaks #1531

Open
wants to merge 2 commits into
base: esds-3.0-vue3-primevue
Choose a base branch
from

Conversation

tomleo
Copy link
Member

@tomleo tomleo commented Sep 18, 2024

Mehhh

Copy link

swarmia bot commented Sep 18, 2024

✅  Linked to Task CED-1822 · EsRating follow-up TODOs
➡️  Part of Epic CED-1339 · Build Vue 3 design system [MC]

Copy link
Contributor

@hroth1994 hroth1994 left a comment

Choose a reason for hiding this comment

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

Mentioned this on Slack - the change event is still triggering twice, you just can't tell anymore without the alert. I do like the new experience in your PR, but I'm not sure removing the alert is ideal since it's a good way of observing that PrimeVue has this issue

<es-rating :rating="4.5" />

<div class="my-500">
<h2>Background Variations</h2>
Copy link
Contributor

Choose a reason for hiding this comment

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

Sentence case - Background variations

</script>

<template>
<div
v-if="readOnly"
:aria-label="`${roundedRating} out of 5 stars`"
v-if="props.readOnly"
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need props. and can use the props explicitly

@nathanielwarner
Copy link
Collaborator

@tomleo can you add the PR description and address formatting errors?

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.

3 participants