joshma91 / avocado

3 stars 0 forks source link

Find a Teacher Page #3

Open kendricktan opened 7 years ago

kendricktan commented 7 years ago

Picking a tutor (see slide 5)

adrianmcli commented 7 years ago

From slide 5: screen shot 2017-11-14 at 5 41 36 pm

joshma91 commented 7 years ago

New wireframe with comments for SC functions Note on student flow: After a student registers, selecting 1+ tags and hits submit, I think it should land them on this page. We should iterate on each of those tags using filterByTag and get all of the teachers relevant to their selected tags back.

image

joshma91 commented 7 years ago

after clicking on a teacher give ability to message them image

Example datetime picker from: https://www.npmjs.com/package/react-datetime-calendar Alternative:

  1. Store the message on the blockchain:

    function sendMessage(address to, string content) // last argument must be {from: msg.sender}
    // 'to' address will be the teacher's address
  2. Create a Meeting:

    function newMeeting (address teacher, address student, string description, uint timestamp) 
    // function call must include {value: maxSpend}
    // description can be null for now