Skip to content

[BUG]: Export Donations button state not updating #5744

Open

Description

@yashiyadav

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Currently you can export donations from the "All Donations" page. However, after the file is downloaded, the button remains in the "Please wait... " state

Expected Behavior

After downloading all donations export, button state remains at "Please wait..."

Image Image

Steps To Reproduce

  1. Log in as bank user
  2. Click on All Donations
  3. Click on "Export Donations"
  4. Observe file download but text remains "Please Wait..."

Environment

- OS:
- Node:
- npm:

Criteria for Completion

No response

Anything else?

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

Activity

  1. yashiyadav commented on Oct 22, 2026

    @yashiyadav
    Author

    I would like to take this

  2. owens106 commented on Oct 22, 2026

    @owens106

    Similar to #5633, the download action does not refresh the page so the "Please wait..." tag from the disable_with attribute remains on the button.

    This attribute is added through the chain of: download_button_to --> _link_to.

    The fix can be similar to #5633 and opt the download buttons out of the disable_with attribute
    OR
    The fix can be to have some code to listen for the completion of the download and manually reset the button to enabled, which will clear the disable_with text

  3. dorner commented on Oct 23, 2026

    @dorner
    Collaborator

    This should be covered by #5725 - the same approach can be taken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions