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: text section for configurable products #1581

Open
wants to merge 30 commits into
base: dev
Choose a base branch
from

Conversation

ivan-kalachikov
Copy link
Contributor

@ivan-kalachikov ivan-kalachikov commented Feb 11, 2025

@ivan-kalachikov ivan-kalachikov marked this pull request as ready for review February 12, 2025 19:34
@ivan-kalachikov ivan-kalachikov requested a review from a team as a code owner February 12, 2025 19:34
@ivan-kalachikov ivan-kalachikov requested review from Andrew-Orlov, goldenmaya, NaMax66 and IrinaSer and removed request for a team February 12, 2025 19:34
</script>

<style lang="scss">
.configuration-option-product {
Copy link
Contributor

Choose a reason for hiding this comment

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

Bad idea to mutate product-card like this, it means ui-kit design does not cover your case. Try to use props only without any weird mutations.

Copy link
Contributor

Choose a reason for hiding this comment

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

BEM block === file name

Copy link
Contributor

Choose a reason for hiding this comment

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

BEM block === file name

Copy link
Contributor

Choose a reason for hiding this comment

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

  1. BEM block === file name
  2. Weird naming for component (not text only, you also have radio buttons and input here)

@apply flex flex-col gap-3;

&__field {
@apply flex gap-3 p-4 items-center odd:bg-[--bg];
Copy link
Contributor

Choose a reason for hiding this comment

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

do we realy need --bg variable?

/>
<VcProductImage />
</template>
Copy link
Contributor

Choose a reason for hiding this comment

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

add empty line to separate tags - check other places as well

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