+
+
@context.Text
- @* *@
+
+
+
+
+
+ @context.Text
+
+
- @* *@
- @context.Text
- @* *@
+
+
+ @context.Text
+
+
@@ -225,6 +226,19 @@
}
}
+ private string GetEventTooltip(CalendarItemWrapper wrapper)
+ {
+ if (wrapper.ItemType == CalendarItemType.Event && wrapper.EventItem != null)
+ {
+ return GetEventTooltip(wrapper.EventItem);
+ }
+ else if (wrapper.ItemType == CalendarItemType.Meeting && wrapper.MeetingItem != null)
+ {
+ return GetMeetingTooltip(wrapper.MeetingItem);
+ }
+ return wrapper.Text;
+ }
+
private string GetEventTooltip(CalendarEventItem item)
{
List
parts = [];
@@ -257,6 +271,14 @@
return string.Join("\n", parts);
}
+ private string GetMeetingTooltip(CalendarMeetingItem item)
+ {
+ if (item.MeetingHistoryData == null)
+ return "Team Meeting";
+
+ return $"Team Meeting\nDate: {item.MeetingHistoryData.MeetingDate:g}";
+ }
+
private async Task OnItemClicked(CalendarItemWrapper wrapper)
{
if (_calendarItems == null)
diff --git a/WebApp/Components/Features/MeetingSchedule/MeetingHistoryDetailDialog.razor b/WebApp/Components/Features/MeetingSchedule/MeetingHistoryDetailDialog.razor
index 062e2ee..af94d5c 100644
--- a/WebApp/Components/Features/MeetingSchedule/MeetingHistoryDetailDialog.razor
+++ b/WebApp/Components/Features/MeetingSchedule/MeetingHistoryDetailDialog.razor
@@ -1,9 +1,5 @@
@namespace WebApp.Components.Features.MeetingSchedule
-@using Core.Entities
@using Core.Services
-@using Core.Utility
-@using WebApp.Services
-@using WebApp.Components.Shared.Components
@using WebApp.Models
@inject ITeamMeetingHistoryService TeamMeetingHistoryService
@inject INotesService NotesService
diff --git a/WebApp/wwwroot/app.css b/WebApp/wwwroot/app.css
index 667c645..4ca3478 100644
--- a/WebApp/wwwroot/app.css
+++ b/WebApp/wwwroot/app.css
@@ -265,4 +265,33 @@
.note-color-2 {
background-color: #f3e5f5;
+}
+
+/* Calendar event item styling */
+.calendar-event-item {
+ background-color: var(--mud-palette-primary);
+ color: var(--mud-palette-primary-text);
+ padding: 4px 8px;
+ border-radius: 4px;
+ font-size: 0.875rem;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ cursor: pointer;
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
+ margin: 2px 0;
+ min-height: 24px;
+ display: flex;
+ align-items: center;
+}
+
+.calendar-event-item:hover {
+ background-color: var(--mud-palette-primary-darken);
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
+}
+
+.calendar-event-item:active {
+ background-color: var(--mud-palette-primary-darken);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
\ No newline at end of file