Giter VIP home page Giter VIP logo

honey-frontend-legacy's People

Contributors

bowtiedfirefox avatar bowtiedheron avatar bowtiedpyro avatar bowtiedswan avatar codemaster115 avatar eborrallo avatar fgrust avatar gonwi avatar janndriessen avatar oshioked avatar solberenson avatar tomjpandolfi avatar userdarius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

honey-frontend-legacy's Issues

Create SOL Faucet for the DevNet Network

Solana Frontend (MVP site first):

  • Build a button for the thats able to request "devnet" SOL from the programs (smart contracts on Solana) of SOLfaucet
  • If the above is not possible; see if you are able to console.log() the wallet address when connecting to your site with the phantom wallet and use the wallet address to send a request to solfaucet for 2 devnet sol; should not require a on chain tx
  • list it on https://app.honey.finance/playground/sol temporarily

General - Create global code structure - for internal reference and external contributors

We should maintain one single source of truth with respect to components / vanilla classes and inline styles structure.

Each page has a main css layout written in ~/styles/pageName.css.ts

Whenever a page includes a component, this component should always be written inside of the components folder and maintain a structure of;
~/components/ComponentName/
/ComponentName.css.ts
/ComponentName.tsx

This way we separate the concerns regarding global and local styles for pages and components.
Also - try to style as little as possible inside of the elements itself, this due to limitations from DegenUI / preference regarding Figma Designs

Create Matic Faucet for the Mumbai Network

ETH Frontend (MVP site first):

  • Build a button thats able to request "MATIC" on Mumbai Polygon from the smart contracts used by Polygon Faucet or build a faucet yourself!
  • If the above is not possible; see if you are able to console.log() the wallet address when connecting to your site with the metamask wallet and use the wallet address to send a request to the polygon faucet for however many MATIC; should not require a on chain tx
  • list it on https://app.honey.finance/playground/mumbai temporarily

Create dummy markets via CLI

In order to make all loan routes dynamic, dummy data sets should be created. Honey SDK provides an CLI for this matter

Loans page - Setup better component structure;

When implementing the SDK we should maintain one single source of truth with respect to components / vanilla classes and inline styles structure.

Each page has a main css layout written in ~/styles/pageName.css.ts

Whenever a page includes a component, this component should always be written inside of the components folder and maintain a structure of;
~/components/ComponentName/
/ComponentName.css.ts
/ComponentName.tsx

This way we separate the concerns regarding global and local styles for pages and components.
Also - try to style as little as possible inside of the elements itself, this due to limitations from DegenUI / preference regarding Figma Designs

Loans page - Alignment of card data

The alignment of the cards with respect to vault name / total borrowed / interest / available / your positions. We should consistently and equally divide between the space that we have. E.g. give a min width to each field and set a max char for each field. On hover we could display full amount of text and/or quantity;

Screenshot 2022-03-22 at 20 29 01

Tester issue

Describe the feature you'd love to see
A clear and concise description of what you'd love to see added to the HONEY frontend.

Additional context (optional)
Add any other context or screenshots about the feature request here.

Themeing!

Describe the feature you'd love to see
Themeing (with a default of orange/yellow).

Additional context (optional)
As per @BowTiedHeron suggestion in discord, theme could change when user clicks on "Honey Finance", similar to what happens on the Degen UI documentation.

Loans page - Integration of dynamic cards

We should call upon the honey SDK to Fetch the NFTs - this will probably cause for some styling changes / change in the looping that's currently being done.

  • Integration of dynamic data
  • Render NFTs in grid
  • Add active state to NFT

General - Clearer difference between clickable buttons vs non-clickable buttons

Governance looks like the same disabled button as Dashboard and Loans

If we want people to use Governance, we should make it clear that it's clickable.

If we want people to know Dashboard and Loans are coming soon but not clickable then label it as such( coming soon...) label. Don't fool users.

Additional context (optional)
Add any other context or screenshots about the feature request here
Screen Shot 2022-04-05 at 4 07 09 PM
.

Loans page - Dynamic search input

On the main lending / borrowing page make the search input field dynamic by actually filtering the list of vaults etc.
We should also make this input field error proof with respect to vulnerabilities in general (XSS / injection) but also datatypes input / max input char.

Farm page - Issue with initalized account

When user initializes the account the first time, the button should change from initialize to deposit.
Or else users will keep wasting sol to initialize given to initialize again will always result in failure!

Loans page - Build Loan lend/borrow second page layout

Implement second page (layout) with two main containers:
A. User NFTs available from vault
B. Interface to borrow/repay tokens based on NFT value

  • Open positions with NFT selection module
  • Borrow module
  • Repay module

image

Multi Language Support

Would be good to have a localization.json file or similar that can be dynamically referenced in the app and referenced on a per language selection basis ie:

///Json file:

[
   {
      "en-gb" : {
         "welcomeMessage": "Welcome"
      },
      "de-DE": {
         "welcomeMessage": "Willkommen"
      }
   }
]

///Used in the components/pages as:

import strings from './localization.json'

<h1>{strings.welcomeMessage}</h1>

General - Consistency with respect to buttons

We should have a consistent button state, meaning; when borrow or loan button is active - our wallet button should present the same state when our wallet is active. See screenshot; shame colour as the Loan button in this example.
Screenshot 2022-03-22 at 20 38 11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.