You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filings UI: "Do Not Authorize" button should be spinner/disabled after clicking #23969
BTRBusiness Transparency RegisterDependencyTo highlight the dependency(intra team, external, third parties)Entities - Data MigrationA label to filter on the tickets for the Entities Data Migration effortPriority2bugSomething isn't working
A feature was implemented by another team to use the To Do List to authorize / not authorize a user affiliation.
It was observed that clicking the "Do Not Authorize" button took a long time to process. The issue is that the button was not disabled during this delay, so the user could click it multiple times.
The solution is to use the button's "loading" state to both display a spinner and disable the authorize / not authorize buttons during the process.
changed the title [-]Copy of Filings UI: spinner should pre-empt action button[/-][+]Filings UI: "Do Not Authorize" button should be spinner/disabled after clicking[/+]on Oct 22, 2024
@severinbeauvais Do we also want to make the "Authorize" button be spinner / disabled after clicking, to keep the behaviours consistent? Or just the "Do Not Authorize" button?
BTRBusiness Transparency RegisterDependencyTo highlight the dependency(intra team, external, third parties)Entities - Data MigrationA label to filter on the tickets for the Entities Data Migration effortPriority2bugSomething isn't working
Activity
[-]Copy of Filings UI: spinner should pre-empt action button[/-][+]Filings UI: "Do Not Authorize" button should be spinner/disabled after clicking[/+]eason-pan-bc commentedon Nov 5, 2024
@severinbeauvais Do we also want to make the "Authorize" button be spinner / disabled after clicking, to keep the behaviours consistent? Or just the "Do Not Authorize" button?
severinbeauvais commentedon Nov 5, 2024
Yes, good catch 🚀
We want to:
eason-pan-bc commentedon Nov 6, 2024
Notes for QA
Tested in Dev
Works as expected:
How to reproduce this scenario
This UI displays in Account-B's entity page, when Account-A is requesting for authorization to manage a business from Account-B.
What you need
Steps:
vishnup0422 commentedon Nov 7, 2024
Followed the same steps to verify this ticket
Account1: Vishnu Dev
BC0883664
Account2: Vishnu Dev2
Submitted a Request for the Business from Account2.
Switch to Account1. Search for the Business and Click on Manage Business
We can see the Pending Request
Click on Do not Authorize button. The loading spinner comes in place of the button.
Private Zenhub Video