Skip to content
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

[STK-233][FIX] - Bug in UI order amount calcs #171

Closed
wants to merge 4 commits into from

Conversation

ElRodrigote
Copy link
Collaborator

Fixes: STK-233

Description

  • Update the logic on order creation flow for submitted dates
  • Something is still happening, I think it's an issue happening after we submit the data on the transaction sign

How to test the changes

image
image

  1. Pull this branch
  2. Run the project locally
  3. Go to Stackly dApp
  4. Connect your wallet
  5. Create a stack, take note of the number of orders to be executed in the Create Order modal
  6. Go to Your Stacks, then check the recently created Stack and it should have the same number of orders to be executed

Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stackly-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2024 9:19am

@ElRodrigote ElRodrigote marked this pull request as draft April 5, 2024 15:34
Comment on lines +592 to +594
isPastStartDate
? new Date(getDatePlus10Mins(startDateTime))
: startDateTime
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work if the user chooses the current date and hour and then only submits the tx 15 minutes after. This will be 5 minutes in the past and tx will fail.

@Diogomartf
Copy link
Collaborator

This PR is being slate for a while. We should finish it or close it.

berteotti and others added 3 commits June 7, 2024 14:01
* improve arbitrum token list assets with better custom images (#179)

- gmx
- uni
- compound

* show complete bar on orders when all funds are used (#181)

* [fix] replace yarn with bun (#180)

* Simplify confirm stack (#182)

* - simplify confirm modal

* - show TX instead of transaction on orders table on mobile

* - rename StackInfo to StackDigest
- Move StackDigest above orders

* refactor StackModal
- extract StackFrequencyAndDates
- Rename StackOrdersProgress and move related orders componentd there

* update github action node, bun versions

* 1.3.1
@ElRodrigote ElRodrigote force-pushed the fix/stk-233-bug-in-ui-order-amount-calcs branch from f87f539 to ceb46cb Compare July 5, 2024 09:17
Copy link

cloudflare-workers-and-pages bot commented Jul 5, 2024

Deploying stackly-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: ceb46cb
Status: ✅  Deploy successful!
Preview URL: https://98b2d971.stackly-ui.pages.dev
Branch Preview URL: https://fix-stk-233-bug-in-ui-order.stackly-ui.pages.dev

View logs

@ElRodrigote
Copy link
Collaborator Author

Closing this PR to re-do it after being a long time in Draft

@ElRodrigote ElRodrigote closed this Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants