djeck1432 / spotnet

6 stars 40 forks source link

[FRONTEND] Add pop-up window if position is already created #213

Open djeck1432 opened 3 hours ago

djeck1432 commented 3 hours ago

šŸšØ Attention: Please read the guidelines before applying; otherwise, you will be ignored. šŸš«šŸ“‹

  1. Please, join the telegram group to keep in touch https://t.me/+m0IGRiBvLtsyMzIy
  2. Read guideline here
  3. Create new pop-up window follow the figma (text me in telegram dm(djeck_vorobey1) your email, I will share it with you)
  4. If user has already opened position, please, show user this pop-up
  5. To get data if user has opened position, call /api/has-user-opened-position this endpoint which will return:
    {"has_opened_position": True or False}
  6. If user click on Close active position redirect to Dashboard page
  7. Pop-up view Screenshot 2024-11-18 at 10 39 38
0xdevcollins commented 3 hours ago

I like šŸŽ Can I get this one @djeck1432

Benjtalkshow commented 3 hours ago

can i take this? I like šŸŽ

Jagadeeshftw commented 3 hours ago

I would like to work on this issue @djeck1432

djeck1432 commented 3 hours ago

@PoulavBhowmick03 you were assigned, please, text me to dm your email, to grant access to figma

PoulavBhowmick03 commented 3 hours ago

I like šŸŽ Would love to work on this!

Michaelkingsdev commented 3 hours ago

can i work on this? I like šŸŽ

PoulavBhowmick03 commented 3 hours ago

@PoulavBhowmick03 you were assigned, please, text me to dm your email, to grant access to figma

Sure ser

Iwueseiter commented 3 hours ago

Hi @djeck1432 can I work on this? I like šŸŽ Iā€™m a new contributor to the project.

omsant02 commented 3 hours ago

I would like to work on this issue @djeck1432, I like šŸŽ

I would use the has_opened_position and data from the api to check and use logical conditions to conditionally render the output on the frontend

OWK50GA commented 3 hours ago

Can I work on this, @djeck1432? I like šŸŽ I would just call the endpoint, get the Boolean returned value and create the popup (or not) based on the value. I will also watch the Close Position button, and redirect the user based on their input (when the click on it)

ikemHood commented 3 hours ago

I can get this done in 12hrs, @djeck1432? I like šŸŽ

Kaminar-i commented 3 hours ago

hey @djeck1432 can i work on this issue I like šŸŽ

Akshola00 commented 3 hours ago

Hi @djeck1432 , I would like to workk on this issue. I will create the pop-up window based on the Figma design. This window will show if the user has an active position by calling the /api/has-user-opened-position endpoint. If the user clicks "Close Active Position," they will be taken to the Dashboard page. I will implement this and efficiently for other devs to understand I like šŸŽ.

wheval commented 3 hours ago

Hello @djeck1432, Can i fix this? I like šŸŽ. ETA is 1 day.