tangle-network / webb-experiences

Dedicated repository for discovery, exploration, and inspiration of the Webb ecosystem.
3 stars 0 forks source link

[TASK] Hubble Bridge Statistics Widget #114

Closed dutterbutter closed 1 year ago

monaiuu commented 1 year ago

Widget Handoff

Please see below for the handoff for the UI widget integration within Hubble Bridge. This widget will encompass two views: the education stepper view & bridge stats data view that can be toggled back and forth. In the default state, we will render the Hubble Overview instead of the education view -- assuming most would find that more helpful if they are not first-time users.

Hubble Overview (Default State)

The bridge stats data view will provide users with the Hubble Overview or the Pool View. In the default state, the Hubble Overview will be displayed to showcase general data of Hubble Bridge.

Screenshot 2023-03-23 at 5 59 22 PM

Pool View (Bridge Token Selected)

Once the bridging token (pool) has been selected, the interface will render the specified pool data to inform users of the activity of the selected pool.

Screenshot 2023-03-23 at 5 59 12 PM

Transaction in Progress (Collapsed View)

Once the transaction is in progress, the interface will remove the display of the widget altogether.

Education Stepper View

The education stepper view will provide a step-by-step walkthrough to users, as initially implemented in various states (deposit, transfer, withdrawal), but with an updated stepper component to improve status visibility.

Screenshot 2023-03-23 at 6 02 43 PM

Design System Updates

To address this issue, the following components have been added/updated within the design system:

Wireframes

The end-to-end wireframes have been updated the reflect the latest addition of the widget view. Please reference to above wireframes for a more detailed look at how the components interact holistically. The end-to-end prototype has also been updated to reflect the latest changes.

Walkthrough

https://user-images.githubusercontent.com/109539270/227401928-1080255a-87d4-4eea-883a-8e2c7027c505.mp4

Notes

dutterbutter commented 1 year ago

Closing. To view dev handoff task here: https://github.com/webb-tools/webb-dapp/issues/1084