-
Notifications
You must be signed in to change notification settings - Fork 27
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
SEP-24 popup window closes immediately #9
Comments
I will love to work on this @ElliotFriend kindly assign |
Hi @ShantelPeters! |
i would love to work on this issue @ElliotFriend please assign me |
Hi @martinvibes! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello, i am Dprof-in-tech, an experienced Full Stack Blockchain Developer and I am excited to contribute my skills to this project in this ODHACK 8. With a strong background in Next.js, TypeScript, JavaScript, React, Node.js, Rust and Cairo, I've honed my technical skills across the blockchain development landscape. My journey with OnlyDust began at Edition 2, and I've since made 34 contributions across 11 projects. This extensive experience on the platform has allowed me to develop a keen understanding of delivering high-quality solutions under tight deadlines. Below is a link to my OnlyDust public profile. How I plan on tackling this issueBased on the code provided and the issue described, here's an approach to solve the problem of the SEP-24 deposit/withdraw popup closing prematurely:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedMy name is Collins Ikechukwu. I'm a full stack blockchain developer developer. How I plan on tackling this issue
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedFullstack developer How I plan on tackling this issueThis is a simple bug,I will inspect the code base and add logic to only close the popup after the post message |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedMy name is Benjamin, and as a full-stack JavaScript developer with experience in creating responsive and user-friendly components, I understand the importance of a smooth user experience. I have made 18 contributions to the OnlyDust project and am confident in my ability to resolve the current issue with the SEP-24 popup. How I plan on tackling this issueThe current problem is that when users click the deposit or withdraw buttons, the popup appears briefly and then closes right away. This can be frustrating for users, as they don't have enough time to read the important transaction status messages. To fix this, I suggest we update the event listener that handles the messages sent by the popup. We should make sure that the popup only closes when it receives specific messages, such as “transfer initiated,” “successful,” or “aborted.” This way, the popup can stay open longer for any messages that don’t indicate it should close. I'll also conduct thorough testing to ensure the popup behaves correctly with different status messages, giving users ample time to read them. By making these changes, we can significantly improve the user experience and ensure that important transaction information is communicated clearly. I'm eager to hear your thoughts and get started on this solution. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello i am a frontend dev and blockchain developer How I plan on tackling this issueProposed Solution: Possible Cause: |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHelloo, my name is Hellen. I´m currently a computer science student and a web3 developer. I have been working on different exercises on different platforms like Exercism and Starklings in the past weeks so I can get my knowledge about the different languages better . I am hopeful to contribute on this repository!! How I plan on tackling this issueTo fix the issue where the popup closes immediately when users click on the button is to modify the event listener by implementing a check within the listener using "handlePopupMessage" so it closes to a specific message. (In this case to "transfer initiated", "successful", or "aborted".) |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello @ElliotFriend I am Joseph I am a Software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. How I plan on tackling this issueTo fix this, I will add logic to the event listener that checks the postMessage content before triggering popup.close(). I'll ensure that the popup only closes when the message contains specific status values like "transfer initiated", "successful", or "aborted". This will prevent the popup from closing prematurely by only reacting to valid status updates. After making the change, I will test the functionality to ensure the popup behaves correctly based on the messages received. |
When a user clicks the SEP-24 deposit/withdraw buttons on the
/dashboard/transfers
page, the popup displays for a moment, and immediately closes. I suspect the window is picking up a stream of events in the eventListener part now.We should add some kind of testing logic that only does
popup.close()
in the event that the postMessage says something like "transfer initiated" or "successful" or "aborted" or whatever the status messages might be.The text was updated successfully, but these errors were encountered: