www.fgks.org   »   [go: up one dir, main page]

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

Add visual feedback when updating list via My Books Droppers #8555

Merged
merged 1 commit into from Nov 22, 2023

Conversation

jimchamp
Copy link
Collaborator

Adds some visual feedback whenever an item is added to or removed from a list via the My Books Dropper.

If the server responds with a 4XX or 5XX status when updating a list, a toast message is displayed and the list item's initial state (checked or unchecked) is restored.

Technical

Testing

Screenshot

spinner
Loading indicator beside a list named "137"

Stakeholders

@mekarpeles

@codecov-commenter
Copy link

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (7569b11) 16.65% compared to head (0c082d6) 16.62%.

Files Patch % Lines
...library/js/my-books/MyBooksDropper/ReadingLists.js 0.00% 10 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8555      +/-   ##
==========================================
- Coverage   16.65%   16.62%   -0.04%     
==========================================
  Files          85       85              
  Lines        4406     4416      +10     
  Branches      765      767       +2     
==========================================
  Hits          734      734              
- Misses       3191     3199       +8     
- Partials      481      483       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jimchamp jimchamp added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Nov 22, 2023
@mekarpeles mekarpeles self-assigned this Nov 22, 2023
@mekarpeles
Copy link
Member

LGTM, tested on testing

@mekarpeles mekarpeles merged commit a3a6529 into internetarchive:master Nov 22, 2023
4 checks passed
@jimchamp jimchamp deleted the feedback-on-modify-list branch January 31, 2024 00:03
@jimchamp jimchamp removed the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Apr 2, 2024
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.

None yet

3 participants