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

Add missing statuses to transaction details #340

Merged
merged 32 commits into from
Mar 27, 2023
Merged

Conversation

torztomasz
Copy link
Contributor

@torztomasz torztomasz commented Mar 9, 2023

Resolves L2B-998, L2B-996

This PR aims to implement correct logic for displaying transactions and resolve all TODOs in TransactionController.
Please pay special attention to this and this commit as it may break offers.

@linear
Copy link

linear bot commented Mar 9, 2023

L2B-998 Show full history in Perpetual Forced Withdrawal page

Make sure to display statuses like "Sent" (when initiated on our explorer) and all other possible states.

L2B-996 Display full history in Forced Buy/Sell Details page

Currently we only display two final phases (Mined 4/5 and Included 5/5).

Display all previous and all possible statuses. This will require fetching data from multiple DB tables.

In cases where the offer was initiated by our explorer, we must display "Sent" status as well. You can consult the legacy explorer on how this can be fetched and displayed.

Notes

  • In cases where previous states are unknown (happened off-chain, like offer created, accepted), we should display placeholders with timestamp unknown.

@torztomasz torztomasz marked this pull request as ready for review March 13, 2023 11:03
@torztomasz torztomasz marked this pull request as draft March 13, 2023 13:42
@torztomasz torztomasz marked this pull request as ready for review March 14, 2023 13:05
@torztomasz torztomasz requested review from adamiak and sz-piotr and removed request for adamiak March 14, 2023 13:05
@torztomasz torztomasz marked this pull request as draft March 14, 2023 13:06
@torztomasz torztomasz marked this pull request as ready for review March 14, 2023 13:43
@torztomasz torztomasz added this pull request to the merge queue Mar 27, 2023
Merged via the queue into master with commit 4c88a37 Mar 27, 2023
@torztomasz torztomasz deleted the add-missing-statuses branch March 27, 2023 17:00
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.

3 participants