Overview

The loading animation on the "Review changes" button is distracting when editing content because it results in the color of the button changing and all of the buttons on the top right moving around. The loading animation there seems completely unnecessary, we should just load the changes without showing a loading state.

Proposed resolution

Remove loading animation from the "Review changes" button.

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lauriii created an issue. See original summary.

jessebaker made their first commit to this issue’s fork.

libbna’s picture

Assigned: Unassigned » libbna

I will review this.

libbna’s picture

Assigned: libbna » Unassigned
Status: Active » Needs review
StatusFileSize
new390.37 KB
new1.04 MB

I have reviewed MR #3, and it looks good to me.
I've also attached screen recordings showing the before and after states to demonstrate the expected outcome.

I am updating the issue status to NR so that the maintainer can review it and provide feedback.

jessebaker’s picture

Assigned: Unassigned » jessebaker
Status: Needs review » Active
jessebaker’s picture

Assigned: jessebaker » Unassigned
Status: Active » Needs review

@libbna - I see you already reviewed/tested this earlier.

My bad, I didn't correctly assign the ticket to me when I began first thing this morning so you tested before I was ready! I've had to refactor the code since you tested which unfortunately probably invalidates the test you did. If you have an opportunity to re-test, that would be hugely appreciated.

libbna’s picture

Assigned: Unassigned » libbna

Hi @jessebaker sure, no problem. I will re-test it :)

libbna’s picture

Assigned: libbna » Unassigned
StatusFileSize
new893.99 KB

I’ve re-tested the changes, and everything looks good to me (I don't see any loading animation on the review changes button). I had already uploaded the "before" screen recording earlier — now uploading the "after" screen recording again as proof that everything is working as expected.

lauriii’s picture

Status: Needs review » Reviewed & tested by the community

Nice one! Tested this manually as well and it works great.

hooroomoo made their first commit to this issue’s fork.

  • hooroomoo committed 1e5e9f54 on 0.x authored by jessebaker
    Issue #3535558 by jessebaker, libbna, lauriii: Remove loading animation...
hooroomoo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.