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

refactor(cxl-ui): cxl-star-rating remove _updateReadonlyAndValue #410

Merged
merged 1 commit into from
May 7, 2024

Conversation

paulkirspuu
Copy link

This is necessary to prevent the component from saving default value on each usage case.
We prefer it being zero at all times.

https://app.clickup.com/t/86azy6kx9?comment=90140034479841&threadedComment=90140035014093

…lyAndValue

This is necessary to prevent the component from saving default value on each usage case.
We prefer it being zero at all times.

https://app.clickup.com/t/86azy6kx9?comment=90140034479841&threadedComment=90140035014093
Copy link

github-actions bot commented May 7, 2024

size-limit report 📦

Path Size
packages/cxl-ui/pkg/dist-web/cxl-ui.js 75.87 KB (-0.02% 🔽)
packages/cxl-ui/pkg/dist-web/cxl-ui-jwplayer.js 11.89 KB (0%)
packages/cxl-ui/pkg/dist-web/cxl-ui-playbooks.js 28.85 KB (-0.06% 🔽)
packages/cxl-ui/pkg/dist-web/vendor.js 140.5 KB (0%)
packages/cxl-ui/pkg/dist-web/cxl-ui-jwplayer.js, packages/cxl-ui/pkg/dist-web/cxl-ui-playbooks.js, packages/cxl-ui/pkg/dist-web/cxl-ui.js, packages/cxl-ui/pkg/dist-web/manifest.js, packages/cxl-ui/pkg/dist-web/unresolved.js, packages/cxl-ui/pkg/dist-web/vendor.js 258.27 KB (-0.02% 🔽)

@lkraav
Copy link

lkraav commented May 7, 2024

This is necessary to prevent the component from saving default value on each usage case.

What did we save the value for - so user would know they've already rated something?

@paulkirspuu paulkirspuu force-pushed the paul/refactor/star-rating-remove-readonly branch from 1b66e85 to 0627569 Compare May 7, 2024 10:14
@paulkirspuu paulkirspuu requested a review from pawelkmpt May 7, 2024 10:15
@pawelkmpt
Copy link

What did we save the value for - so user would know they've already rated something?

Component was developed for playbooks and I don't remember if ever used. There was an alternative thumbs up/down component too.

@pawelkmpt pawelkmpt merged commit ee5fa06 into master May 7, 2024
5 checks passed
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