Wubbadub / ClubHub

ClubHub is the best way to create and maintain university club websites.
http://www.tryclubhub.com/
Other
3 stars 1 forks source link

Fixed Logic in Team Editor Section #97

Closed okjuan closed 7 years ago

okjuan commented 8 years ago

resolves #95 resolves #93

hwkr commented 8 years ago

Does this code work?

okjuan commented 8 years ago

@hwkr Yes, it is tested. I looked at the React elements and console as I made changes and checked that the new data was saved by going to the corresponding /site page.

okjuan commented 7 years ago

...except that new changes were pushed to develop since my testing. Status TBD.

hwkr commented 7 years ago

Okay, what does the data look like for team people right now?

okjuan commented 7 years ago

Not terribly proud of the structure -- could have just been a list. The keys in the team object are arbitrary: they are just iterated over.

site: {
  sections: {
    ...
    team: {
      person1: {
        name: "Michael Scarn"
        position: "Regional Manager"
        email: "thatswhatshesaid@uvic.ca"
      }
      person2: {
        ...
      }
      ...
    }
  }
}
hwkr commented 7 years ago

Okay, let's make it a list the while we're still working on it?