Event Platfrom update: Add event contact/email field

RESOLVED FIXED

Status

Webmaker
Events
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: lucyeoh, Assigned: gvn)

Tracking

Details

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

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
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.
(Reporter)

Updated

4 years ago
Assignee: nobody → matt
Whiteboard: [events2]
Assignee: matt → gavin
Whiteboard: [events2] → [events] [june27] [events2]
Status: NEW → ASSIGNED
(Assignee)

Comment 1

4 years ago
I'd propose adding a checkbox to opt in to making your email address public when creating or editing an event.

Updated

4 years ago
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
(Assignee)

Updated

4 years ago
Whiteboard: [events] [july11] [events2] → [events] [june27] [events2]
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
(Assignee)

Comment 2

4 years ago
Created attachment 8450647 [details] [review]
https://github.com/mozilla/webmaker-events-service/pull/49

Note: We'll need to make a schema change. Just let me know what you need for that...
Attachment #8450647 - Flags: review?(jon)

Comment 4

4 years ago
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+
(Assignee)

Comment 5

4 years ago
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)

Comment 6

4 years ago
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)
(Assignee)

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.