enabledao / enable-ui Goto Github PK
View Code? Open in Web Editor NEWFrontend app for Enable
Frontend app for Enable
Currently, refreshing the page on myloan
and checkout
results in routing error
Current:
The Balsamiq Interactive Wireframes hold the concept wireframes. It basically consists of 4 pages:
PDF version of clickable prototype
Balsamiq Wireframe of Loan Offer Step 1
Page purpose:
The "email / name" step is purposefully brought forward, because it captures intent to lend for a loan:
Balsamiq Wireframe of Loan Offer page
Page Purpose:
Notes:
This page has received very little user testing vs. its importance to the process. We need to user test the wireframes!
Some thoughts after looking at the UI more closely.
https://practicaltypography.com/line-length.html
https://pearsonified.com/golden-ratio-typography-intro/
Site should have a modal that states:
This refactor will basically earn back the time spent passing simulateReturns down and up the component chain
I'm going to hack it together for the 5pm deadline tomorrow but I insist that this is the next thing we do once we are at functional
As a user, I want to see the list of contributors to Ines's Loan from the highest contributor to the lowest contributor.
To give lenders a useful insight about contributors to Ines's loan.
The current list of contributors comes from mocked data
Display real contributors to Ines's loan since no loan hasn't started there should be no contributors.
See above
The Balsamiq Interactive Wireframes hold the concept wireframes. It basically consists of 4 pages:
PDF version of clickable prototype
Balsamiq Wireframe of Main Loan Page
Page purpose:
This page is similar to Kiva's "loan" page. The purpose is to allow potential lenders to find out more about the loan details, and the borrower.
Notes:
react-final-form
, but use mutators to change it based on button inputSee: https://medium.com/@erikras/final-form-arrays-and-mutators-13159cb7d285
See 'isaConstants' file and Daniel's comments
Most importantly, we need to ask for users' consent before we do this
prepBigNumber (what is this?)
Curreently, it is initialized in
This should be a store and a redux method
I think we should help to guide the user as much as possible once they are making the actual donation
A big one is that users need to know that they need to click 2 metamask windows (i.e. approve, and then transfer). I think we have lost a few users who clicked, but didn't approve the 2nd transaction
Explain:
Spec:
Resources:
https://medium.com/metamask/https-medium-com-metamask-breaking-change-injecting-web3-7722797916a8
simulationReturn
such as salaryMin, salaryMax should be refactored into isaConstants as these are what students' salaries are based onCurrently, there are 2 issues:
On desktop, there is a ~1 second delay between the time when the initial values (i.e. 0) load, and when they load the constants
On my mobile phone (on dev site), the constant values do not load (i.e. show 0)
These are not due to Infura, as these are all loan constants. Currently, we return them in metadata.js
.
config/ines.fund.js
)fetchLoanMetadata
in metadata.js
(we can replace these with getter functions in the future, but it is likely that most of these will be stored in databases + IPFS, and not on-chain)As a borrower or lender, I want investment details on my investment page to load faster so that I can quickly see my investment details.
The investment details on my investment page should load faster to provide the desired user experience
There is a very little delay or no delay at all when users access my investment page
We should have a conditional render based on what network we are part of
Balsamiq Wireframe of Loan Offer page
Page Purpose:
Todos
The wireframes have been optimized for mobile as we anticipate most first-time visitors will be hearing of this through Twitter or reddit. However, most Ethereum app interaction happens on desktop through Metamask, so the site should be desktop responsive.
A possible example that balances functionality with simplicity is Balance, an open finance wallet. I have attached 2 screenshots below of how it utilizes container width to be usable on both mobile and desktop.
As a user that has not connected to any wallet, I want the connect to Metamask button to show up on the investment page so that I connect to my wallet and see the investment details
Non-login users should log in to their wallets before able to see their investment details.
Metamask will appear to ask the user to log in into his/her wallet.
See above
Currently, page content is blocking on some async action (see gif below)
We should show spinners in each of the individual data fields, instead of render blocking the entire page
Related story: #57
sliderValue
call toString() of integerRight now, the component is way too bloated. Let's move out the 3 sub-components into their own component and import them
const FALLBACK_WEB3_PROVIDER = "http://localhost:8545";
getWeb3.js
See simulationReturn.tsx
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.