risedle / interface Goto Github PK
View Code? Open in Web Editor NEW✦ Risedle interface
Home Page: https://risedle.com
✦ Risedle interface
Home Page: https://risedle.com
The change
value should be updated to the percentage change between the latest NAV and the oldest nav for a specific timeframe.
For example: 1D timeframe change is (latestNAV - dailyTimeframeOldestNav)/dailyTimeframeOldestNav * 100
Currently, MyAssetCard show amount and total using toFixed
.
Update the display using tokenBalanceFormatter
Currently it only support Metamask, we should support wallet connect to at the minimum.
change /invest
to /products
Check the amount first before submitting the tx
Fix broken links on the homepage, esp in the feature cards
The Risedle USDC Vault page should contains the following information:
We need to create new service to record all the data first, so FE team can simply query the data.
Green
linear-gradient(180deg, rgba(37, 208, 171, 0.4) 0%, rgba(37, 208, 171, 0) 100%)
Red:
The existing open graph looks a bit flat. I try to make it more standout 🙂
The assets can be grabbed in here: https://drive.google.com/file/d/1E1VOSfb7BjM-pR7QiJk1276l7HOmY-du/view?usp=sharing
Currently, leveraged token chart is loading data from two different sources:
The current approach is using the following step:
It have a few drawbacks:
To solve this, we need to separate the loading information.
Instead of using one UI states variable showSkeleton
, we can use different UI states variable:
navResponse.isLoading
, navResponse.data
, navResponse.error
data.loading
, data.data
, data.error
If data (2) is loaded first, then we display the chart directly instead of waiting data (1) to resolve.
When user connect their wallet and if their wallet is connected to unsupported network, the user should be redirected to /networks
to select the network.
When user click one of the network, user's wallet should pop up and prompt user to switch the network.
Minor update, Product icon. Asset can be grabbed in here:
Currently, if user is connected via WalletConnect, they cannot switch network automatically due to behaviour of WalletConnect. If the user click "Switch Network" it will toast an error.
Here is what we want to achieve:
Maybe related to above, when I followed the below steps, UI showed strange behaviour as shown in below gif.
- Cancel mint transaction
- Close the Mint page
- Re-open the mint page
- Set the input amount using the slider
- Click Mint
ryu_hashi
The "not enough balance" should work on the following form:
Change /lend
to /vault
Suggestion, can we create entrance animation like this for every popup in the Risedle Interface?
Prototype Playground:
For library I think we can use this https://motion.dev/ for animating component
Already provided the portfolio page design in Figma.
The data that will be shown are:
Each asset will have this:
Design file:
Portfolio page design
Update the tooltip timestamp format to 20 Jan 2022, 9:00 PM
Minor update for popup/dropdown menu component. The update:
Design component can be seen here:
Prototype Playground:
Currently it display the underlying amount using toFixed
, update to use tokenBalanceFormatter
The new contract support minting ETHRISE using ETH directly.
Update the ETHRISE minting page to use ETH.
Currently ConnectWalletMobile component uses headless-ui. Migrate it to use radix-ui.
Here is the example of usage: https://github.com/risedle/interface/blob/v1/components/v1/MarketDetailPage/ButtonMintOrRedeem.tsx
When DepositForm
component is mounted, we fetch the following onchain data:
Currently this fetching process is blocking the whole form.
If the balance data is loaded, I think we can savely load the form then display exchange rate calculation as loading.
Github actions that run prettier --check
and npm run deploy
on every merge request.
Report from our community:
Hi, on Mint page, when I chose "MAX", the input amount became invisible. I think the font colour become the same colour as background as shown below. When I manually moved the slider, it worked fine.
ryu_hashi
This form need to be checked:
Currently ConnectWalletDesktop component uses headless-ui. Migrate it to use radix-ui.
Here is the example of usage: https://github.com/risedle/interface/blob/v1/components/v1/MarketDetailPage/ButtonMintOrRedeem.tsx
I also noticed that when I cancel the first mint transaction, then mint again(keeping the mint window open), the second transaction became very slow, meaning it took very long time until the metamask showed up(it was not slow for first mint)
ryu_hashi
This need to be checked:
More obvious
User should be able to switch to supported networks:
When user click the network name:
the user should directed to /networks
.
/networks
contains a list of networks.
When user click one of the network, the network wallet should be switched to that network.
Scenario that can make minting process failed:
Scenario that can make redeeming process failed:
Scenario that can make depoist USDC process failed:
Scenario that can make redeeming USDC process failed:
In the My Asset
section, we add Return
and Return Total Value
.
Figma Link:
Product Detail Page design
Latest design improvement for transactions modal.
background:
Figma:
https://www.figma.com/file/t4BnIO0LHqk10vmKZ4kRV4/Website-%E2%80%93-1.0?node-id=1791%3A152042
When user:
They should be able to quickly fill the amount form using pre-defined button.
Here is the example from Abracadabra
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.