Skip to content

Conversation

@yuskithedeveloper
Copy link
Contributor

@yuskithedeveloper yuskithedeveloper commented Oct 17, 2025

Description

"Saved for later" list page under the account section (only available for authorized users):
image
image

"See all" button in "Saved for later" cart block:
image

References

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-4084

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.34.0-pr-2008-ec9d-ec9da633.zip

@cursor
Copy link

cursor bot commented Oct 23, 2025

Bug: Route Constants Violation

According to the PR discussion, line 107 should use "ROUTES.SAVED_FOR_LATER.NAME" instead of the hardcoded string "SavedForLater". The reviewer @ivan-kalachikov specifically pointed this out. This violates the project's convention of using route constants instead of hardcoded strings.

Fix in Cursor Fix in Web

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@sonarqubecloud
Copy link

}
&__item {
&--desktop &__item {
Copy link
Contributor

@ivan-kalachikov ivan-kalachikov Oct 27, 2025

Choose a reason for hiding this comment

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

we usually use this way of writing selectors in similar cases:

.wishlist-products-skeleton {
  $desktop: "";

  &--mobile {
    @apply grid grid-cols-2 gap-x-4 gap-y-6;
  }

  &--desktop {
    @apply flex flex-col rounded border bg-additional-50 shadow-sm;

    $desktop: &;
  }

  &__item {
    #{$desktop} & {
      @apply even:bg-neutral-50;
    }
  }
}

Copy link
Contributor

Choose a reason for hiding this comment

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

could seem kind of mind breaking but will be resolved to .wishlist-products-skeleton--desktop .wishlist-products-skeleton__item

import { useShortCart } from "@/shared/cart";
import { ProductSkeletonGrid } from "@/shared/catalog";
import { useWishlists, WishlistLineItems, WishlistProductItemSkeleton } from "@/shared/wishlists";
import { WishlistProductsSkeleton } from "@/shared/wishlists";
Copy link
Contributor

Choose a reason for hiding this comment

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

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