Invite the people the message was already between
Follow-up to #167: an event made from a mail now opens with the sender and everyone it was addressed to already in the guest list, so a thread becomes a meeting without retyping the room. Two things are deliberately left out. The reader's own addresses, since they are the organiser and an organiser among their own guests is an invitation to your own appointment. And a blind copy, on a message the reader sent: a guest list is visible to every guest, so promoting a Bcc to a guest would tell the room about a copy the sender chose to hide. That is not something a menu item may do quietly. *Send invitation emails to guests* now starts off when the guests were inherited rather than typed, and on everywhere else -- which is every event whose guests somebody chose one at a time. The reason is the case the issue opened with: a reminder made out of a bill carries the biller and everyone else on the mail. Left on, the primary button reads Send invites and the first press mails all of them an invitation to what was meant as a note to self. The switch sits right there under the list and says what it does, so inviting them is one deliberate click. Un-sending is not.
This commit is contained in:
@@ -77,8 +77,8 @@ export function CalendarView({ view: viewParam, date }: { view?: string; date?:
|
||||
*/
|
||||
useEffect(() => {
|
||||
if (!cal.draft) return;
|
||||
const { title, description, ...when } = cal.draft;
|
||||
setEditor({ ...when, seed: { title, description } });
|
||||
const { title, description, attendees, ...when } = cal.draft;
|
||||
setEditor({ ...when, seed: { title, description, attendees } });
|
||||
cal.setDraft(null);
|
||||
}, [cal.draft]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user