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

dApp - adapt UDC withdrawal information to timestamps #3051

Closed
weilbith opened this issue Feb 11, 2022 · 0 comments
Closed

dApp - adapt UDC withdrawal information to timestamps #3051

weilbith opened this issue Feb 11, 2022 · 0 comments
Assignees

Comments

@weilbith
Copy link
Contributor

Description

We have a visual component that informs the user that a UDC withdrawal was planned and is waiting to become finally withdrawn. The included counter was based on block numbers. Due to this, the dApp is actually not even "compiling" anymore, as the new SDK version does not provide a block property for planned withdrawal events anymore.
First this needs to be adapted from a target block number to a target timestamp. The challenge is now how to adapt the visual part. Before, the new block event was causing the reactive update that result into a new "remaining block numbers" and thereby a countdown. As there is no such event for this use-case anymore as it is purely time based, we need to find an alternative.
One would be to use a countdown of the seconds. This is very similar to the old visuals, but not very nice. An alternative would be to render the actual date when the withdraw becomes possible.

Acceptance criteria

Tasks

  • [ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant