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
Currently, the donation modal state is managed internally, without connection to the router, and thus providing the actual URL as callbackUrl to the donation callback in order to retrieve the transaction hash, will reload the page, effectively closing the modal.
The objective of this task is to place the donation modal under control of the router, so that the modal state can be preserved and / or restored via the URL parameters.
It became clear that not every NEAR wallet follows the scenario with callback URLs to return transaction hashes.
Further investigation needed to figure out an alternative solution that will allow retrieving transaction hashes regardless of the wallet specifics. Preliminary discussion conclusion implies adding adjustments to Naxios that would allow returning transaction metadata along with the function call result.
The text was updated successfully, but these errors were encountered:
Currently, the donation modal state is managed internally, without connection to the router, and thus providing the actual URL as
callbackUrl
to the donation callback in order to retrieve the transaction hash, will reload the page, effectively closing the modal.The objective of this task is to place the donation modal under control of the router, so that the modal state can be preserved and / or restored via the URL parameters.
UPD ( July 3, 2024, will be continued in #120 )
It became clear that not every NEAR wallet follows the scenario with callback URLs to return transaction hashes.
Further investigation needed to figure out an alternative solution that will allow retrieving transaction hashes regardless of the wallet specifics. Preliminary discussion conclusion implies adding adjustments to Naxios that would allow returning transaction metadata along with the function call result.
The text was updated successfully, but these errors were encountered: