Git Product home page Git Product logo

near-oracle-client's People

Contributors

irene-bbox avatar michaelbrink avatar yoon-bbox avatar

Watchers

 avatar

near-oracle-client's Issues

Internal QA run for milestone #1

Things to test:

  1. WALLET

    • does the Near wallet connect well?
    • does it disconnect well?
    • does disconnecting wallet return user to the home page?
  2. APPLICANT

    • generate a score (Plaid & Coinbase)
    • query score
  3. PROVIDER

    • query latest score
    • is score description grammatically correct / legible ?
  4. SMART CONTRACT

    • a user can store a max of 7 scores (> 8 scores --> returns error)
    • a user can store at most 1 score per minute (> 1 score/min --> returns error)
  5. UI IMPROVEMENTS

    • test every page on web, ipad and mobile sizes - anything weird
    • are layouts consistent?
    • are fonts consistent (and sizes)?
  6. STATE MANAGEMENT

    • does state work okay - ie when you refresh on a page does it remember?
    • can there be any improvements here?
  7. MILESTONE FULFILLMENT

    • are M#1 requirements fulfilled?
    • is the testnet url (test.nearoracle.com) functioning properly?

Feedback from the Milestone #3 - QA 1

Applicant

  • Coinbase throwing an error on the first attempt.
  • Covalent bug on the first attempt.
  • After selecting “I don’t have a specific amount in mind yet.”, then changing your mind and adjusting the bar, the checkbox keeps being checked. Shouldn’t it uncheck itself unless max? Which amount is being sent to the app?
  • Fix the speedometer needle issue
  • Display the eligible loan amount and risk indicator on the score page. (Mike's feedback)
  • Calculating your score.. => Retrieving your transaction data..
  • A connection error occurred for Plaid ($50k & $100k) => throwing a different error message for not qualified ones.

Provider

  • The amount the user ACTUALLY qualifies for should be displayed below the amount they requested to apply for. Not intuitive for user to have to click on “Explain my score” to see what they qualify for in the text blurb.
  • When the provider queries a user’s score, the dApp displays the timestamp when that score was minted. We need to add a timezone to the timestamp (otherwise the time is ambiguous). For example, 8/11/2022, 10:52:37 UTC. I also think we should use a 24 hours clock instead of using AM/PM which is mostly a North American convention.
  • Change the language on the feedback. (you => this score) reference: SCRTsibyl

NFT Minting

  • Add a link to redirect to the NEAR wallet collectible tab
  • Implement the whitelist flow
  • Create a public url
  • Make the metadata consistent (title, description..)

UI Improvement

  • Favicon issue
  • Landing page
  • Learn more page
  • Link to the learn more page on the summary modal
  • Edit some language
    • In the page where you choose your templates (25-50-100) → replace:
      ”How much are you looking to borrow?” with
      “How much would you like to borrow?”
      “$0 ~ $25K” with
      “$0 - $25K”
      The tilde symbol (~) usually means “approximately”, whereas here we want to indicate a range
      “To proceed with the Ethereum wallet, you need to install Metamask browser extension.” with
      “To proceed with your Ethereum wallet, you need to install the Metamask browser extension.”
    • In the page to mint an NFT
      center the title, custom attributes, and mint nft button (see pix above)
      replace the title
      “Create an NFT” with
      “Custom design your NFT”
      The word create can be misleading

Save the score to the blockchain

Integrate with smart contract

  1. Error handling
  • Insufficient balance
  • User rejected
  • Network issue..

=> Redirect back the DApp when the errors above are thrown.

  1. Chain Activities

Track the chain activities and store it if the score has already been saved or not

Internal QA run for milestone #3 (iteration 1)

Things to test:

  1. WALLET

    • Does Near wallet connect/disconnect well?
    • Does disconnecting wallet redirect you to home page?
  2. APPLICANT

    • Generate a score (Plaid, Coinbase, Covalent)

      • Does it render different providers based on the selected price range?

      • If the checkbox ('I don't have a specific amount in mind yet) is checked, does it set the amount to the max value of each bracket? (i.e. if $25K-50K selected, it should be set to $50K)

      • [Covalent] Does calculating score with Covalent redirect you to the Metamask sdk?

        • If the Metamask extension is not installed in your browser, it should throw an error saying "Install Metamask extension'
        • Once you successfully connect your wallet to our dapp, it should automatically start calculating the score. (Displaying the loading spinner)
    • Score page

      • Does it show you the correct amount you selected in the previous stage?
      • Does the score speedometer needle point to the right exact spot that matches the score?
      • Is score description correct? (Click 'Explain my score' to check)
    • Score saved page

      • See transaction in block explorer and check if the information stored is correct.
      • Does it show you the 'Mint your score as an NFT' button?
  3. PROVIDER

    • Query a score
    • Is score description correct?
  4. SCORE CONTRACT

    • Store a score to Near blockchain
    • After you successfully stored a score and go back to the generate a score page ('applicant/generate'), does the modal pop up saying you've already submitted a score?
    • After you successfully stored a score and go back to the score page ('applicant/score'), does it say 'Your score has already been saved to the blockchain.' with the button to mint your score as an NFT?
  5. NFT CONTRACT
    ⚠️ Currently, the media URL in the metadata is hardcoded to the random image generator one, so it will mint a random image, not your custom NFT design you generate on the frontend. For now, please focus on testing the functionality of smart contract.
    🚫 Beware: you can mint at most 1 score every 30 seconds --> else raise error
    ⛔ Beware: you cannot mint the same uri twice --> else raise error
    ☢️ Beware: you can mint a maximum of 15 NFTs per user --> else raise error

    • Mint your score as NFT
    • When you close the NEAR wallet SDK (= click 'cancel' button) in the middle of signing a transaction, does it throw an error saying 'Near wallet window was closed. Please try again'?
    • Does it redirect to the dapp (from the NEAR wallet SDK) and show you the 'NFT minted' page with the confetti, once you successfully mint your NFT?
  6. UI IMPROVEMENTS

    • Custom design your NFT look
    • test every web page - anything weird?
    • are layouts/fonts consistent?
  7. STATE MANAGEMENT

    • If you stored your score but not minted it as an NFT, you should see the 'mint your score as an NFT' button
    • does state work okay - can you refresh?

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.