Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Mutation for editing seminars #115

Merged
merged 23 commits into from
Nov 28, 2018
Merged

Conversation

alliyya
Copy link
Contributor

@alliyya alliyya commented Nov 26, 2018

Note

editSeminar(seminarID: Int!, seminar: SeminarUpdateInput!): Seminar!

Event ID of a seminar cannot be changed as this will has a cascading effect on users, that is a more involved interaction.

Makes use of SeminarUpdateInput

  input SeminarUpdateInput {
    name: String
    description: String
    
    start_time: String!
    end_time: String!
    
    capacity_type: capacity_type!
    max_capacity: Int
    
    organizer_ids: [Int!]
    
    location: String
    location_link: String
    picture_path: String
    website: String
  }

Sample Call

mutation editSeminar($myid:Int!, $mySeminar:SeminarUpdateInput!) {
  editSeminar(seminarID:$myid ,seminar: $mySeminar) {
    name
    description
    start_time
    end_time
    current_capacity
    max_capacity
    capacity_type
    organizers {
      first_name
      id
    }
  }
}
# sample query variables
{  
  "myid": 2,
  "mySeminar": {
    "description": "Slay thanos",
    "max_capacity": 10,
    "start_time": "2019-10-31T14:50:00.000Z",
    "end_time": "2019-10-31T15:50:00.000Z",
    "capacity_type": "FFA",
    "organizer_ids": [7,8,9]
  }
}

tests

Similar to event edit mutation, but time validation is with its parent event

Close #66

Tamara Charchoghlyan and others added 22 commits November 12, 2018 13:44
* Validates seminar start/end datetimes with each other and corresponding event #59, closes #46

* Ignore frontend package-lock file
…entByTypeID to return all parts of announcements (#82)
* Seminar mutation (#78)

* Validates seminar start/end datetimes with each other and corresponding event #59, closes #46

* Ignore frontend package-lock file

* Connect api (#80)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* Closes #79, Added announcement root resolver and fixed queryAnnouncementByTypeID to return  all parts of announcements (#82)

* Delete clg


closes #77 
closes #54 
closes #61 
closes #79
* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[
* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* show add semianr bug
* Seminar mutation (#78)

* Validates seminar start/end datetimes with each other and corresponding event #59, closes #46

* Ignore frontend package-lock file

* Connect api (#80)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* Closes #79, Added announcement root resolver and fixed queryAnnouncementByTypeID to return  all parts of announcements (#82)

* Delete clg

* Connect api (#85)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* Connect api (#86)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* show add semianr bug
* Seminar mutation (#78)

* Validates seminar start/end datetimes with each other and corresponding event #59, closes #46

* Ignore frontend package-lock file

* Connect api (#80)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* Closes #79, Added announcement root resolver and fixed queryAnnouncementByTypeID to return  all parts of announcements (#82)

* Delete clg

* Connect api (#85)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* Connect api (#86)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* show add semianr bug
* throws error if start time of event proceeds end time

* Closes #79, Added announcement root resolver and fixed queryAnnouncementByTypeID to return  all parts of announcements

* Adding website for Events #59

* Adding website for seminar #59

* Adding Location link to event/seminars closes #73

* Closes #90, adds the event organizers as organizers to seminar
* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* show add semianr bug

* attend  bug
* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* Vivian branch seminar (#49)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch (#71)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* Vivian branch seminar (#49) (#60)

* Parses input for create event page

* Create event will add to the datebase

* not broken

* Transfer div kind of works

* transfer model should add organizers to db

* fixes for transfer model

* create page event works

* create seminar page can pull event names from database

* trying fetch stuff

* please take the fetch attempt things

* calendar changes that apparently did not get pushed

* create seminar page displays events and it is selectable

* create seminar page connects to the database

* fixes for createSeminar dropdown for events reflect selection and seminar created succesfully

* transfer data div is fixed now it displays last name and it does not display yourself as a selectable user

* create event fixed, pushes two of the current user before

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Transfer data component is fixed, you as the user won't appear on the available organizer list. Event duration is ordered in terms of start date and time then end date and time.

* Create event page now works like the seminar page with the date picker, time picker and transfer component fixed.

* News are no longer all the same date. Newsfeed completed. Create event and seminar has default of FFA if nothing is chosen and decimals are rounded to whole numbers.

* merge fixes 2

* Changes to make newsfeed work that were deleted in last commit of VivianBranch

* helper functions and big fixes

* Connect api (#76)

* search page done

* view seminar and event

* Fix query string construction

* displayed dates and follow/attend both events/seminars

* scroll fix and my events

* manage events done

* suggestions done and scroll 2.0

* helper functions and big fixes

* bugs and profile

* bug fixes[

* show add semianr bug

* Add about me field for users

* attend  bug

* Add picture_path to User and UserInput types

* Return picture_path from login resolver

* Add mutation to edit user profile

* Add resolver to get user by ID

* Allow empty object as input

* edit profile done

* edit profile show social links

* Fix bug with undefined bindings (#95)
* Resolver to test if calendar conflicts exist when attending event/sem

* Delete clg

* Optional eventID if the user wants to attend seminar (don't check associated event)

* conflict dialog

* Check seminars against seminars and events against events

* Check seminars against seminars and events against events (#96)

* conflict detector and middle stuff

* text fix for conflict detector in evet

* add semianr button fix
* updating current capacity that's in the sample data

* Adding waitlist mutation for Event + update current capacity for events.

* Updating current capacity for seminars as well #94

* Fixing casing of sql statements in sample data, styling

* updating casing for consistency

* Fixing to add to event for following

* package-lock.json being a dick

* committing my life before I die

* Putting update current capacity  in a loop and adding a 5th seminar

* Checking if user is already attending event when adding user to waitlist

* Revising add user to eventwaitlist

* Adding/removing user to/from seminar waitlist

* More sample data for seminar participation (Full seminar:5)

* Removing clg

* Creating resolver for retrieving waitlist closes #99

* Fix to sample data for event participation

* User will now unattend seminars+waitlist when unattending an event closes #101

* removing small comment
* waitlist started

* updating current capacity that's in the sample data

* Adding waitlist mutation for Event + update current capacity for events.

* Updating current capacity for seminars as well #94

* Fixing casing of sql statements in sample data, styling

* updating casing for consistency

* Fixing to add to event for following

* adding to wait list complete

* package-lock.json being a dick

* committing my life before I die

* Putting update current capacity  in a loop and adding a 5th seminar

* Checking if user is already attending event when adding user to waitlist

* Revising add user to eventwaitlist

* Adding/removing user to/from seminar waitlist

* More sample data for seminar participation (Full seminar:5)

* Removing clg

* Creating resolver for retrieving waitlist closes #99

* Fix to sample data for event participation

* User will now unattend seminars+waitlist when unattending an event closes #101

* removing small comment

* waitlist completed
@alliyya alliyya added this to the 3: Pre-Release Candidate milestone Nov 26, 2018
@alliyya alliyya requested review from tcharcho and VivianNg November 26, 2018 00:35
@tcharcho tcharcho changed the title Mutation for editing seminars WIP: Mutation for editing seminars Nov 26, 2018
@tcharcho tcharcho changed the base branch from dev to edit-event-frontend November 26, 2018 19:57
@VivianNg VivianNg merged commit 705a4f5 into edit-event-frontend Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants