Financial-Times / x-dash

:x::heavy_minus_sign::newspaper: shared front-end components for FT.com and the FT Apps
https://financial-times.github.io/x-dash
38 stars 6 forks source link

ENTST-445: user journey flow changes advanced sharing #717

Closed abshirahmed closed 1 year ago

abshirahmed commented 1 year ago

https://github.com/Financial-Times/x-dash/assets/10318770/85561382-48ce-4b9c-8a6e-6c0c93c2570d

If this is your first x-dash pull request please familiarise yourself with the contribution guide before submitting.

If you're creating a component:

fabiosikansi commented 1 year ago

The story "Share this article (without credit)" image

looks to me exactly like sharing with credits, not the expected behaviour

EDIT: Same with Free article

fabiosikansi commented 1 year ago

When creating a link I see the message "Link can be viewed undefined times and is valid for 90 days." this doesn't look right to me image

fabiosikansi commented 1 year ago

I'd suggest renaming stories "with enterprise sharing" to "with advanced sharing" for consistency image

if possible I'd also add a note explaining what Advanced Sharing is because we can expect devs for teams outside FT Professional to browse this code

fabiosikansi commented 1 year ago

Story with enterprise sharing (no credits) doesn't seem to be working as expected for me, I don't see any error message when clicking on "Create link", it is just a broken form

image

fabiosikansi commented 1 year ago

Unsure what was expected in "With enterprise sharing (first time access)" and "with enterprise sharing (request access)", both look the same as the standard advanced scenario story

fabiosikansi commented 1 year ago

The message "Only FT subscribers will be able to see the full article using this link." is not the expected message when an user creates an advanced sharing link (story "with enterprise sharing (link generated)"

image

fabiosikansi commented 1 year ago

"Error response" also doesn't show any error so it doesn't look right to me

abshirahmed commented 1 year ago

@fabiosikansi the previous stories may not work as expected because we're still building out the behaviour for each scenario as we go along. To reduce the confusion, all previous storybook stories have been commented out. The current stories are Share article dialog (B2B), Share article dialog (B2C) and Share article dialog (B2B with Advanced Sharing). The remaining sub-tasks in ENTST-439 should hopefully cover the other scenarios.