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

[Backport] Redemption improvements #585

Merged

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    13ab22a View commit details
    Browse the repository at this point in the history
  2. s/Unmit/Unmint/g

    mhluongo authored and r-czajkowski committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    2a26f76 View commit details
    Browse the repository at this point in the history
  3. Fix issue with Link Overlay in tBTC Explorer

    We encountered an issue with the <LinkOverlay> component from chakra-ui while
    using it in the History table on the tBTC Explorer page. This component was
    intended to facilitate navigation for each row, directing the user to the
    corresponding etherscan link. However, we noticed an abnormal behavior
    specifically on real mobile devices, even though it worked correctly in the
    mobile view on Chrome.
    
    On mobile, the overlay for the last item appeared to cover the entire page. As a
    result, any other links on the tBTC Explorer page, such as "View on Dune
    Analytics" or "Start Minting," unintentionally redirected the user to etherscan.
    
    The cause of this was that the `LinkBox` component uses `position: relative` to
    contain the absolute positioned `LinkOverlay`.  Unfortunately `<Tr />`
    component, which we passed to the `as property, does not allow `position:
    relative`.
    
    As a hacky workaround we are applying `transform: scale(1)` to the tr element.
    michalsmiarowski authored and r-czajkowski committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    898a688 View commit details
    Browse the repository at this point in the history
  4. Update the copy on the Redemption page

    Currently 3 hours is quite optimistic and it often takes around 5 hours
    (experienced that during UATs several times). Here we update a copy
    saying that a redemption takes `3-5 hours`.
    r-czajkowski committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    1884a6a View commit details
    Browse the repository at this point in the history
  5. Fix typo

    `transacion` -> `transaction`
    r-czajkowski committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    ad5bf17 View commit details
    Browse the repository at this point in the history
  6. Count elapsed time on the Redemption details page

    The Elapsed Time should be a dynamic countdown. Here we update the
    elapsed time every one minute.
    r-czajkowski committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    d5ac3e9 View commit details
    Browse the repository at this point in the history