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

tBTC stats on overview page #490

Merged
merged 16 commits into from
Apr 19, 2023
Merged

Commits on Apr 6, 2023

  1. Extract a common component

    Extract a common list item component with outline variant as we use them
    in several places in dapp. We can't add a new variant using chakra
    theming because the `ListItem` is a part of the `List` component and
    does not have separate theme. In that case we should pass the eg
    `variant="otuline"` to the `List` component but in my opinion does not
    fit here because list can be order or unordered.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    879bf68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c49e4ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f052046 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93933be View commit details
    Browse the repository at this point in the history
  5. Update useFetchTvl hook

    Take into account the tBTC v2 token total supply. Also here we fix unit
    test for this hook.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    9872656 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1dfd447 View commit details
    Browse the repository at this point in the history
  7. Fetch recent deposits from subgraph API

    And display data in component.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    060f20e View commit details
    Browse the repository at this point in the history
  8. Move common parts to a separate component

    To use some tBTC stats in other places in T dapp.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    fdb995a View commit details
    Browse the repository at this point in the history
  9. Update the empty state of the deposit page

    Display tBTC stats as an empty state if user is not connected with a
    wallet.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    721c248 View commit details
    Browse the repository at this point in the history
  10. Make protocol history item clickable

    We want to redirect users to transaction details in the blockexplorer.
    r-czajkowski committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    abdaa98 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Configuration menu
    Copy the full SHA
    64fbb14 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Rename tBTC stats component

    `DefaultProtocolHistory` -> `ProtocolHistory`
    r-czajkowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    e794f29 View commit details
    Browse the repository at this point in the history
  2. Fix typos in comments

    r-czajkowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    197bd1d View commit details
    Browse the repository at this point in the history
  3. Add comment to TransactionRawResponse type

    Clarify in comment that the `timestamp` field is in seconds.
    r-czajkowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    713bf2f View commit details
    Browse the repository at this point in the history
  4. Reneame subgraph api function

    We should write `TBTC` (started with capital `T`) when it's in the
    middle of the word that is writtne in camelCase convention. Everywhere
    else we should stick to `tBTC`.
    r-czajkowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c0b941f View commit details
    Browse the repository at this point in the history
  5. Fix typo in component name

    `TBTCBrdigeStats` -> `TBTCBridgeStats`
    r-czajkowski committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    4324da8 View commit details
    Browse the repository at this point in the history