Closed
Bug 1024537
Opened 11 years ago
Closed 11 years ago
Event Platfrom update: Add event contact/email field
Categories
(Webmaker Graveyard :: Events, defect)
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.
| Reporter | ||
Updated•11 years ago
|
Assignee: nobody → matt
Whiteboard: [events2]
Updated•11 years ago
|
Assignee: matt → gavin
Whiteboard: [events2] → [events] [june27] [events2]
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•11 years ago
|
||
I'd propose adding a checkbox to opt in to making your email address public when creating or editing an event.
Updated•11 years ago
|
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [events] [july11] [events2] → [events] [june27] [events2]
Updated•11 years ago
|
Whiteboard: [events] [june27] [events2] → [events] [july11] [events2]
| Assignee | ||
Comment 2•11 years ago
|
||
Note: We'll need to make a schema change. Just let me know what you need for that...
Attachment #8450647 -
Flags: review?(jon)
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8450649 -
Flags: review?(kate)
Comment 4•11 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+
Updated•11 years ago
|
Attachment #8450649 -
Flags: review?(kate) → review+
| Assignee | ||
Comment 5•11 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•11 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•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•