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

Reader Lists: improve error notices #47444

Merged
merged 1 commit into from Nov 16, 2020
Merged

Conversation

bluefuton
Copy link
Contributor

@bluefuton bluefuton commented Nov 16, 2020

Changes proposed in this Pull Request

As @nb notes in #47219, Reader lists often hands the API error straight back to the user when something goes wrong.

This PR adds more human-friendly error messages for scenarios where the API request has failed.

I've also removed error notices for list loading and list item loading - these are situations where the user hasn't taken a CRUD action and we should handle problems more quietly with just loading placeholders I think (like loading Reader feeds).

Testing instructions

On the development environment, create a new list and make sure the management UI works as expected:

http://calypso.localhost:3000/read/list/new

Fixes #47219.

@bluefuton bluefuton added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Feature] Reader The reader site on Calypso. labels Nov 16, 2020
@bluefuton bluefuton requested review from nb and jsnmoon November 16, 2020 03:05
@bluefuton bluefuton added this to Review in Reader List Management via automation Nov 16, 2020
@bluefuton bluefuton self-assigned this Nov 16, 2020
@matticbot
Copy link
Contributor

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@bluefuton bluefuton merged commit 87b7a35 into master Nov 16, 2020
Reader List Management automation moved this from Review to Done Nov 16, 2020
@bluefuton bluefuton deleted the fix/reader-list-error-messaging branch November 16, 2020 22:07
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Nov 16, 2020
@a8ci18n
Copy link

a8ci18n commented Nov 16, 2020

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/5209367

Hi @bluefuton, could you please edit the description of this PR and add a screenshot for our translators? Ideally it'd include all of the following strings:

  • Unable to delete list.
  • Unable to add feed to list.
  • Unable to create new list.
  • Unable to follow list.
  • Unable to unfollow list.
  • Unable to update list.
  • Unable to add tag to list.

Thank you in advance!

@a8ci18n
Copy link

a8ci18n commented Nov 25, 2020

Translation for this Pull Request has now been finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Reader The reader site on Calypso.
Projects
Development

Successfully merging this pull request may close these issues.

Reader Lists: Cleaner errors
4 participants