Closed Bug 1024537 Opened 10 years ago Closed 10 years ago

Event Platfrom update: Add event contact/email field

Categories

(Webmaker Graveyard :: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lucyeoh, Assigned: gvn)

Details

(Whiteboard: [events] [july11] [events2])

Attachments

(2 files)

Giving organizers a field to insert a contact email/phone number so people can contact them for more information, directions etc. will make it easier for people to attend events they learn about solely from the events platform. 

Note: we probably should not make a contact phone number mandatory for privacy reasons but I think it might be alright to require a contact email? Even if people just had the option to list a contact email I think would make events more accessible.
Assignee: nobody → matt
Whiteboard: [events2]
Assignee: matt → gavin
Whiteboard: [events2] → [events] [june27] [events2]
Status: NEW → ASSIGNED
I'd propose adding a checkbox to opt in to making your email address public when creating or editing an event.
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
Whiteboard: [events] [july11] [events2] → [events] [june27] [events2]
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
Note: We'll need to make a schema change. Just let me know what you need for that...
Attachment #8450647 - Flags: review?(jon)
Comment on attachment 8450647 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/49

r+, but add an sql migration file to the migrations folder, like https://github.com/mozilla/webmaker-events-service/blob/master/migrations/20140624-add-mentor.bio.sql (it'll be a different column type though)
Attachment #8450647 - Flags: review?(jon) → review+
Attachment #8450649 - Flags: review?(kate) → review+
Ok, added the migration:

https://github.com/mozilla/webmaker-events-service/blob/master/migrations/20140707-add-is-email-public.sql

Jbuck, can you run it?
Flags: needinfo?(jon)
Migration run:

CREATE TABLE `Events` (
  `title` varchar(255) DEFAULT NULL,
  `description` text,
  `address` varchar(255) DEFAULT NULL,
  `latitude` float DEFAULT NULL,
  `longitude` float DEFAULT NULL,
  `attendees` int(11) DEFAULT NULL,
  `beginDate` datetime DEFAULT NULL,
  `endDate` datetime DEFAULT NULL,
  `beginTime` datetime DEFAULT NULL,
  `endTime` datetime DEFAULT NULL,
  `registerLink` varchar(255) DEFAULT NULL,
  `picture` varchar(255) DEFAULT NULL,
  `organizer` varchar(255) DEFAULT NULL,
  `organizerId` varchar(255) DEFAULT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL,
  `city` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `featured` tinyint(1) NOT NULL DEFAULT '0',
  `ageGroup` varchar(255) DEFAULT NULL,
  `skillLevel` varchar(255) DEFAULT NULL,
  `areAttendeesPublic` tinyint(1) NOT NULL DEFAULT '0',
  `isEmailPublic` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3667 DEFAULT CHARSET=utf8;
Flags: needinfo?(jon)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: