diff --git a/frontend/app.vue b/frontend/app.vue index 2c1f0f4..a023f4f 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -1909,13 +1909,6 @@ const calendarViewOptions: { value: CalendarView; label: string }[] = [ { value: "agenda", label: "Agenda" }, ]; -const calendarZoomOptions: Array<{ value: number; label: string }> = [ - { value: 1, label: "400%" }, - { value: 2, label: "250%" }, - { value: 3, label: "100%" }, - { value: 4, label: "50%" }, -]; - const calendarZoomLevel = computed({ get() { if (calendarView.value === "day") return 1; @@ -1941,6 +1934,13 @@ const calendarZoomLevel = computed({ }, }); +const calendarZoomLabel = computed(() => { + if (calendarView.value === "day") return "Day"; + if (calendarView.value === "week") return "Week"; + if (calendarView.value === "month" || calendarView.value === "agenda") return "Month"; + return "Year"; +}); + const monthCells = computed(() => { const year = calendarCursor.value.getFullYear(); const month = calendarCursor.value.getMonth(); @@ -3649,15 +3649,20 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
Zoom - - {{ option.label }} - - + + {{ calendarZoomLabel }} + +
@@ -3711,10 +3716,14 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")