Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add network switching capabilities to Truffle Dashboard #5045

Closed
wants to merge 80 commits into from

Commits on Mar 21, 2022

  1. Added initial comments to code.

    These markers are there for possible change points.
    michaeljohnbennett committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    c2fc3e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. added wagmi library.

    Also amended the browserlist as it causes an issue with craco and the current version of the library: wevm/wagmi#220 for more info.
    
    Committing yarn.lock file also as part of this install.
    michaeljohnbennett committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    3b48a9b View commit details
    Browse the repository at this point in the history
  2. Refactored code to use Wagmi hooks.

    Code and all elements changed to use wagmi features.
    
    Added new code into connector component to also use walletconnct.
    
    Tested connections to both metamask and walletconnect to infinity wallet and its working as expected.
    
    Still to fully test the transaction loading code from the CLI to the dashboard.
    michaeljohnbennett committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    c063777 View commit details
    Browse the repository at this point in the history
  3. Cleaning up package.json.

    added .idea folder to .gitignore file.
    
    reverting yarn.lock as some ursa-optional compiler errors were happening locally.
    michaeljohnbennett committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    8b2b516 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    9ea4fd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    295f507 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecf34be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ad17580 View commit details
    Browse the repository at this point in the history
  5. Reworking wagmi.

    Web3Provider is now fixed and working as it was with web3react.
    
    useProvider hook is not working, had to call connector.getProvider() instead.
    michaeljohnbennett committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    a54b6bf View commit details
    Browse the repository at this point in the history
  6. Reworking wagmi.

    Walletconnect RPC return variables are not transformed as they aren't the same as metmask ones.
    michaeljohnbennett committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    390742f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    73c3355 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #4923 from trufflesuite/dashboard/events

    Hook up example events -> dashboard communication
    gnidan authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    ac2f6c4 View commit details
    Browse the repository at this point in the history
  9. added in disconnect feature.

    button to allow disconnecting the wallet and resetting state in app.
    michaeljohnbennett committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    8de3637 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

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

Commits on Mar 25, 2022

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

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    719ce6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f95ce78 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

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

Commits on Mar 31, 2022

  1. Configuration menu
    Copy the full SHA
    3e1666c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15c4c9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f81709 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    25dc062 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cdc891b View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Merge pull request #4926 from trufflesuite/feature/4838_walletconnect…

    …_wagmi
    
    Allow connecting Truffle Dashboard via WalletConnect
    michaeljohnbennett authored Apr 3, 2022
    Configuration menu
    Copy the full SHA
    7b48ae8 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Added in new button code.

    Cleaned up imports to be all package relative.
    
    Also DashboardProvider.tsx renamed to be default packed export.
    
    Buttons cleaned up around site and disconnect button made a small red button.
    michaeljohnbennett committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    39075b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1452a92 View commit details
    Browse the repository at this point in the history
  3. Fixing the case sensitive folder common to be Common.

    The joys of MacOS Case Insensitive FS.
    michaeljohnbennett committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    04e5450 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a31a4c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3dbed79 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Merge remote-tracking branch 'origin/dash' into feature/4971_new_butt…

    …on_component
    
    # Conflicts:
    #	packages/dashboard/src/components/common/Button.tsx
    #	packages/dashboard/src/components/dashboardprovider/IncomingRequest.tsx
    michaeljohnbennett committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    039223b View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Merge pull request #4972 from trufflesuite/feature/4971_new_button_co…

    …mponent
    
    Unify Truffle Dashboard <Button /> component and provide new style properties - 4971
    michaeljohnbennett authored Apr 12, 2022
    Configuration menu
    Copy the full SHA
    d30bee1 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Configuration menu
    Copy the full SHA
    5dc000d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    781a991 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e77b2fa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96465a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b8c775 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ed6f83 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    66e1da3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    71bd823 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    75362df View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f0aec33 View commit details
    Browse the repository at this point in the history
  11. reformat emitted data

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    e10ac6a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1d526b7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    27a802d View commit details
    Browse the repository at this point in the history
  14. Publish init request from UI to Server

    UI - sets up publish socket. Renames `socket` to `subscribeSocket` to
    be more specific and allow room for the new `publishSocket`. Initialize both
    sockets. After the publish socket connects, make an "initialize" message
    to request data from server.
    
    Server - sets up subscribe socket. Renames `socket` to `publishSocket` to
    be more specific and allow room for the new `subscribeSocket`. Initialize both
    sockets. Set subscribe socket to respond to "initialize" requests.
    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    cffe73b View commit details
    Browse the repository at this point in the history
  15. Rename variables

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    452605c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0c14e93 View commit details
    Browse the repository at this point in the history
  17. remove unneeded logging

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    06d511b View commit details
    Browse the repository at this point in the history
  18. comment, cleanup

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    bb02040 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ad25875 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bb5eb5d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3ec0da1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2f6f6bb View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f63bace View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6b29c40 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d5b99e9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ec8ba30 View commit details
    Browse the repository at this point in the history
  27. remove/fix logging

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    453db77 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    75309c0 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    915ac10 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    a242383 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    690ae99 View commit details
    Browse the repository at this point in the history
  32. combine imports

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    6e63fad View commit details
    Browse the repository at this point in the history
  33. fix typo

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    057f2ac View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    02a5a88 View commit details
    Browse the repository at this point in the history
  35. remove logging

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    0204522 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    4470949 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    79f916b View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    fce33f5 View commit details
    Browse the repository at this point in the history
  39. add dropdown menu to header

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    a543529 View commit details
    Browse the repository at this point in the history
  40. fix merge conflict

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    3f062f9 View commit details
    Browse the repository at this point in the history
  41. fix merge conflict

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    a294dbc View commit details
    Browse the repository at this point in the history
  42. add event target to select element

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    e1f4300 View commit details
    Browse the repository at this point in the history
  43. remove logging and unused files

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    7eed095 View commit details
    Browse the repository at this point in the history
  44. add formatting to files

    leeftk authored and MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    aaa038e View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    562d2f2 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    d25b4b4 View commit details
    Browse the repository at this point in the history
  47. remove logging

    MicaiahReid committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    16387b2 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    69670ef View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    8adc8c0 View commit details
    Browse the repository at this point in the history