RSVP options.

This commit is contained in:
Burak Kaan Köse
2026-01-03 19:33:36 +01:00
parent a64627e7d6
commit 9877656eea
28 changed files with 968 additions and 115 deletions
@@ -1,5 +1,6 @@
using System;
using SQLite;
using Wino.Core.Domain.Entities.Shared;
using Wino.Core.Domain.Interfaces;
namespace Wino.Core.Domain.Entities.Calendar;
@@ -22,4 +23,7 @@ public class AccountCalendar : IAccountCalendar
public string TextColorHex { get; set; }
public string BackgroundColorHex { get; set; }
public string TimeZone { get; set; }
[Ignore]
public MailAccount MailAccount { get; set; }
}
+1 -1
View File
@@ -3,7 +3,7 @@
public enum CalendarItemStatus
{
NotResponded,
Confirmed,
Accepted,
Tentative,
Cancelled,
}
+3
View File
@@ -26,6 +26,9 @@ public enum CalendarSynchronizerOperation
CreateEvent,
UpdateEvent,
DeleteEvent,
AcceptEvent,
DeclineEvent,
TentativeEvent,
}
// UI requests
@@ -1,4 +1,5 @@
using System;
using Wino.Core.Domain.Entities.Shared;
namespace Wino.Core.Domain.Interfaces;
@@ -12,4 +13,5 @@ public interface IAccountCalendar
string RemoteCalendarId { get; set; }
bool IsExtended { get; set; }
Guid Id { get; set; }
MailAccount MailAccount { get; set; }
}
@@ -7,7 +7,8 @@ namespace Wino.Core.Domain.Models.Calendar;
/// <summary>
/// Encapsulates the options for preparing calendar operation requests.
/// </summary>
/// <param name="Operation">Calendar operation to execute (Create, Update, Delete).</param>
/// <param name="Operation">Calendar operation to execute (Create, Update, Delete, Accept, Decline, Tentative).</param>
/// <param name="CalendarItem">Calendar item to operate on.</param>
/// <param name="Attendees">List of attendees for the calendar event.</param>
public record CalendarOperationPreparationRequest(CalendarSynchronizerOperation Operation, CalendarItem CalendarItem, List<CalendarEventAttendee> Attendees);
/// <param name="ResponseMessage">Optional message to include with event responses (Accept, Decline, Tentative).</param>
public record CalendarOperationPreparationRequest(CalendarSynchronizerOperation Operation, CalendarItem CalendarItem, List<CalendarEventAttendee> Attendees, string ResponseMessage = null);
@@ -84,14 +84,26 @@
"CalendarDisplayOptions_Color": "Color",
"CalendarDisplayOptions_Expand": "Expand",
"CalendarEventResponse_Accept": "Accept",
"CalendarEventResponse_AcceptedResponse": "Accepted",
"CalendarEventResponse_Decline": "Decline",
"CalendarEventResponse_DeclinedResponse": "Declined",
"CalendarEventResponse_NotResponded": "Not Responded",
"CalendarEventResponse_Tentative": "Tentative",
"CalendarEventResponse_TentativeResponse": "Tentative",
"CalendarEventRsvpPanel_Accept": "Accept",
"CalendarEventRsvpPanel_AddMessage": "Add a message to your response... (optional)",
"CalendarEventRsvpPanel_Decline": "Decline",
"CalendarEventRsvpPanel_Message": "Message",
"CalendarEventRsvpPanel_SendReplyMessage": "Send a reply message",
"CalendarEventRsvpPanel_Tentative": "Tentative",
"CalendarEventRsvpPanel_Title": "Response Options",
"CalendarEventDetails_Attachments": "Attachments",
"CalendarEventDetails_Details": "Details",
"CalendarEventDetails_EditSeries": "Edit Series",
"CalendarEventDetails_Editing": "Editing",
"CalendarEventDetails_InviteSomeone": "Invite someone",
"CalendarEventDetails_JoinOnline": "Join Online",
"CalendarEventDetails_Organizer": "Organizer",
"CalendarEventDetails_People": "People",
"CalendarEventDetails_ReadOnlyEvent": "Read-only event",
"CalendarEventDetails_Reminder": "Reminder",