hackthenorth / hackthenorth-android

Hack the North Android App (2014 Version)
26 stars 2 forks source link

Features #8

Open KartikTalwar opened 10 years ago

KartikTalwar commented 10 years ago

lists

mentors

[
  {
    "name" : "John doe",
    "organization" : "company",
    "availability" : [["2014-09-21 18:30:11", "2014-09-21 18:40:11"]],
    "skills" : ["python", "java"]
  }
]
[
  {
    "type" : "event|workshop|talk|speaker|update",
    "speaker" : "Ariel Garten",
    "start_time" "2014-09-21 18:30:11",
    "end_time" "2014-09-21 19:30:11",
    "name" : "",
    "description": "",
    "location": ""
  }
]

prizes

[
  {
  "name" : "",
  "prize" : ["x", "y"],
  "description" : "",
  "company" : "",
  "contact" : ""
  }
]

team

[
{
  "name" : "",
  "role" : "transportation|organizer",
  "phone" : "",
  "twitter": "",
  "email" : "",
}
]
KartikTalwar commented 10 years ago

@hackthenorth/commiters another app to look at

https://itunes.apple.com/us/app/hackillinois/id855018191?mt=8 https://play.google.com/store/apps/details?id=org.hackillinois.android

sitefeng commented 10 years ago

Such a cool app, especially the Nearby feature and the rocket ship progress bar.

sitefeng commented 10 years ago

Hey, wondering if I can make 2 changes to the JSON above. One is "role" element under "team" should be an array since there can be many roles for a person. And also Notification Feed is probably separate from Schedule and has it's own data format

KartikTalwar commented 10 years ago

can you type out the propose json?

sitefeng commented 10 years ago

sure thing

updates

[
{
  "name" : "Mark Smith",
  "description" : "Wifi is currently being interrupted by malicious attacks. Our secret agents are working hard to resolve this issue.",
  "time" : "2014-08-26 13:12:42"
}
]

team v2.

[
{
  "name" : "Jack iVolunteer",
  "role" : [ "transportation" , "organizer" ],
  "phone" : "6472019384",
  "twitter": "@jackInBoxes",
  "email" : "jackolantern@gmail.com",
}
]
KartikTalwar commented 10 years ago

@sitefeng I guess I totally misread the comment and only just realized what you meant. We can go ahead with that but I think theres not that much overlap with roles. If there is someone there for transportation listed, thats all we want them to deal with

srcreigh commented 10 years ago

How should we display the list of prizes in the app? I was thinking we'd want first/second/third at the top with the other prizes after, in which case we should add another field to the Prize model to help with sorting, i.e. sort: first, sort: second, sort: api, etc.

srcreigh commented 10 years ago

The mentors schema is lacking in how we specify contact information. I propose the following update, same as team:

[
  {
    "name" : "John doe",
    "organization" : "company",
    "availability" : [["2014-09-21 18:30:11", "2014-09-21 18:40:11"]],
    "skills" : ["python", "java"],
    "twitter": "@[TWITTER_ID]" | null,
    "email": "foo@bar.baz" | null,
    "phone": "1234567890" | null
  }
]
sitefeng commented 10 years ago

I agree