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: implement ship-to-selector #1633

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

Conversation

goldenmaya
Copy link
Contributor

@goldenmaya goldenmaya commented Mar 12, 2025

@goldenmaya goldenmaya requested a review from a team as a code owner March 12, 2025 10:03
@goldenmaya goldenmaya requested review from Andrew-Orlov, ivan-kalachikov, NaMax66 and IrinaSer and removed request for a team March 12, 2025 10:03
@goldenmaya goldenmaya marked this pull request as draft March 12, 2025 10:03
@ivan-kalachikov ivan-kalachikov marked this pull request as ready for review March 18, 2025 17:24
Base automatically changed from VCST-2775-dropdown to dev March 19, 2025 05:10
<template>
<div class="ship-to-selector">
<VcPopover
v-if="allAddresses.length > 0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Move this condition to the parent tag, please

Copy link
Contributor

Choose a reason for hiding this comment

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

there is v-else below, it needs to show add new button at once, when there are no added address yet
image
image

<component :is="customSlots.default" />
</div>
<div ref="headerElement" class="fixed z-40 w-full shadow-md print:hidden">
<div class="relative z-[2] flex border-b bg-[--header-top-bg-color] px-5 py-2.5 text-xs max-sm:justify-center">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need some condition here to be added here OR add "empty:hidden" class.

Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need that? looks that there is always something will be rendered in ShipToSelector

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