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

[PWA-281] My Account: Wishlist (Skeleton) #2620

Merged
merged 13 commits into from Aug 24, 2020
Merged

Conversation

tjwiebell
Copy link
Contributor

@tjwiebell tjwiebell commented Aug 11, 2020

Should be merged after #2611, which includes left navigation auto close logic.

Description

As a shopper (authenticated), I want to view/modify/delete wishlists under my account.

In-scope:

Create Skeleton for

Favorites View
Single
Multiple
Saved Item View
Requirements:

CE: only support for 1 List per shopper/account
EE: allows for Multiple List per shopper/account
Ensure additional stories are created to link new favorites/wishlist feature to cart and PDP workflows

Endstate:
When the shopper is authenticated and selects the "favorites list" menu item they are directed to the favorites view/page.

Related Issue

  • [PWA-281] My Account: Wishlist (Skeleton)

Acceptance

Verification Stakeholders

Specification

Verification Steps

In the scope of this PR, wishlist data is currently mocked and will always return a single list with no items in it

  1. Login as a Customer
  2. Using either of the menus, select Favorites Lists
  3. Verify that skeleton is rendered with mocked data
  4. On CE, verify there is no Create a list button

Screenshots / Screen Captures (if appropriate)

wishlist-mobile
wishlist-desktop
wishlist-disabled
wishlist-fetchError

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have updated the documentation accordingly, if necessary.

- Stub out components that will be used in upcoming Stories
@m2-community-project m2-community-project bot added this to Ready for Review in Pull Request Progress Aug 11, 2020
@PWAStudioBot
Copy link
Contributor

PWAStudioBot commented Aug 11, 2020

Messages
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next nightly build run (assuming they are fixed).
📖

Associated JIRA tickets: PWA-281.

Generated by 🚫 dangerJS against 6429a65

@devops-pwa-codebuild
Copy link
Collaborator

devops-pwa-codebuild commented Aug 11, 2020

Performance Test Results

The following fails have been reported by WebpageTest. These numbers indicates a possible performance issue with the PR which requires further manual testing to validate.

https://pr-2620.pwa-venia.com : LH Performance Expected 0.85 Actual 0.34, LH Accessibility Expected 1 Actual 0.97, LH Best Practices Expected 1 Actual 0.93, WPT Cache Expected 90 Actual 38
https://pr-2620.pwa-venia.com/venia-tops.html : LH Performance Expected 0.75 Actual 0.35, LH Best Practices Expected 1 Actual 0.93
https://pr-2620.pwa-venia.com/valeria-two-layer-tank.html : LH Performance Expected 0.8 Actual 0.41, LH Accessibility Expected 0.9 Actual 0.89, LH Best Practices Expected 1 Actual 0.93, WPT Cache Expected 65 Actual 50

@tjwiebell tjwiebell added the version: Minor This changeset includes functionality added in a backwards compatible manner. label Aug 11, 2020
@schensley
Copy link

Thanks @tjwiebell things look really good. UX approved.

…leton

# Conflicts:
#	packages/venia-ui/lib/targets/venia-ui-intercept.js
Copy link
Contributor

@sirugh sirugh left a comment

Choose a reason for hiding this comment

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

Two minor requests, but otherwise great job!

@dpatil-magento
Copy link
Contributor

@tjwiebell Other than Safari link wrapping issue rest all looks good.

image

Co-authored-by: Stephen <sirugh@users.noreply.github.com>
@supernova-at
Copy link
Contributor

QA

Verification Steps

✅ Verification Steps complete

Other

The horizontal kebab menu

When there are no items in the list, this button doesn't do anything. I realize its functionality is probably included in a subsequent ticket but if the functionality really is "do nothing" when there are no items in the list, can we remove or disable it in that case?

Screen Shot 2020-08-24 at 11 47 29 AM

@tjwiebell
Copy link
Contributor Author

Other

The horizontal kebab menu

When there are no items in the list, this button doesn't do anything. I realize its functionality is probably included in a subsequent ticket but if the functionality really is "do nothing" when there are no items in the list, can we remove or disable it in that case?

Screen Shot 2020-08-24 at 11 47 29 AM

@supernova-at The upcoming mocks indicate this will have options for sharing, editing, and deleting a list; with the latter option being most relevant to an empty list. I think this is fine in scope of the skeleton, but a good observation that we should add to PWA-632. Open Source backends probably shouldn't have a delete or edit option, so up to UX if we want empty lists to be shareable.

@supernova-at supernova-at merged commit 35868d3 into develop Aug 24, 2020
@m2-community-project m2-community-project bot moved this from Review in Progress to Done in Pull Request Progress Aug 24, 2020
@supernova-at supernova-at deleted the tommy/wishlist-skeleton branch August 24, 2020 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:peregrine pkg:venia-ui version: Minor This changeset includes functionality added in a backwards compatible manner.
Development

Successfully merging this pull request may close these issues.

None yet

7 participants