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: wishlist sharing #1590

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open

Conversation

fgiesske-intershop
Copy link

@fgiesske-intershop fgiesske-intershop commented Feb 29, 2024

PR Type

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

The wishlist sharing feature is missing in the PWA.

What Is the New Behavior?

The wishlist sharing (B2C only) functionality is now added to the PWA

  • share wish lists with other users with a link
  • automatically opens the user email client with a pre-prepared message and the link to the shared wishlist
  • display the shared wishlist

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

requires ICM-AS 11.10.0

AB#94495

@fgiesske-intershop fgiesske-intershop self-assigned this Feb 29, 2024
@fgiesske-intershop fgiesske-intershop added the feature New feature or request label Feb 29, 2024
@SGrueber SGrueber self-requested a review March 5, 2024 13:45
Copy link
Collaborator

@SGrueber SGrueber left a comment

Choose a reason for hiding this comment

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

  • replace the feature toggle by a server configuration attribute or remove it
  • move your code to the wishlist extension if possible

@SGrueber SGrueber added the wait Waiting for something (e.g. new ICM release) label Mar 8, 2024
@SGrueber SGrueber removed the wait Waiting for something (e.g. new ICM release) label Apr 5, 2024
@SGrueber SGrueber added this to the 5.2 milestone Apr 5, 2024
@shauke shauke modified the milestones: 5.2, 5.3 Aug 16, 2024
@SGrueber SGrueber requested review from a team, iwiederhold and M-Behr September 27, 2024 10:50
Copy link

@M-Behr M-Behr left a comment

Choose a reason for hiding this comment

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

Copy link
Collaborator

@SGrueber SGrueber left a comment

Choose a reason for hiding this comment

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

Pls let's discuss ui fixes before you start to work on it

@mglatter
Copy link
Contributor

Ami will review French, so please do not merge beforehand.

mglatter
mglatter previously approved these changes Oct 15, 2024
Copy link
Contributor

@mglatter mglatter left a comment

Choose a reason for hiding this comment

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

Localization has been approved (including French checked by Ami). Please let us know if you make any later changes to the wording. Then we will have another look.

- floating buttons changed to normal icon buttons and tooltip with text added
- added a label in the wishlist list to indicate that the wishlist is shared
- fixed the problems when the wishlist is no longer shared -> redirect to error page
- fixed the problem with duplicate requests
- added a separate state for the shared wishlist so that logged in users can use the link to the shared wishlist
mglatter
mglatter previously approved these changes Oct 16, 2024
Copy link

Azure Demo Servers are available:

@iwiederhold
Copy link

iwiederhold commented Oct 22, 2024

The status Shared should not be appended to the name.

image

image

@M-Behr
Copy link

M-Behr commented Oct 23, 2024

Thanks for the fixes.

  • The button group should be in one line with the heading.
    wishlist_buttongroup
  • Please check the link in the e-mail. The b2c is not mentioned there, so it links to the B2B theme.
  • If the wishlist is no longer shared, the "friend" can already open the link and see the list because it's cached.

- fix padding left for shared and preferred
- button group is in one line with the heading
- use the base url for link, but consider multi-channel baseHref configurations
- fix e2e test
Copy link

Azure Demo Servers are available:

Copy link

Azure Demo Servers are available:

Copy link

@M-Behr M-Behr left a comment

Choose a reason for hiding this comment

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

Design issues are fixed. Well done!

@SGrueber follwing problem still exists:
I share my wish list to a friend. The friend can open it via link. I unshare my wish list. My friend can open it again with the link. If the friend uses another browser, the error page appears (this is correct). It looks like a caching problem. Could you check this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants