Page MenuHomePhabricator

Create separate "Accept" and "Decline" transactions for Calendar
ClosedPublic

Authored by epriestley on Jul 11 2016, 10:16 PM.
Tags
None
Referenced Files
F14396012: D16272.diff
Sun, Dec 22, 6:07 AM
F14393586: D16272.diff
Sun, Dec 22, 12:03 AM
Unknown Object (File)
Wed, Dec 18, 7:02 AM
Unknown Object (File)
Sat, Dec 14, 2:17 PM
Unknown Object (File)
Sat, Nov 23, 4:03 AM
Unknown Object (File)
Nov 20 2024, 8:20 PM
Unknown Object (File)
Nov 20 2024, 8:51 AM
Unknown Object (File)
Nov 19 2024, 8:41 PM
Subscribers
None

Details

Summary

Ref T9275. Currently, there's a single "invite" transaction type for managing Calendar invites, and it takes a map of invitees to status.

This isn't great for EditEngine or API access, since it lets you set anyone else to any status and we can't reuse as much code as we can with a simpler API.

Make "Accept" and "Decline" separate actions which affect the actor's invite, so "invite" can be a simpler transaction which just invites or uninvites people.

Test Plan
  • Joined/accepted/declined an event invitation.
  • Edited event invitees.

Diff Detail

Repository
rP Phabricator
Branch
calendar4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13023
Build 16640: Run Core Tests
Build 16639: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Create separate "Accept" and "Decline" transcations for Calendar.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley retitled this revision from Create separate "Accept" and "Decline" transcations for Calendar to Create separate "Accept" and "Decline" transactions for Calendar.Jul 11 2016, 10:28 PM
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 11 2016, 10:32 PM
This revision was automatically updated to reflect the committed changes.