fix: AI loop prevention (no tools on last iteration), calendar button first, mail filter in toolbar, AI folder rename query invalidation
Check Cross-Plugin Imports / check (push) Has been cancelled
Check Cross-Plugin Imports / check (push) Has been cancelled
This commit is contained in:
@@ -327,6 +327,31 @@ export function CalendarPage() {
|
||||
|
||||
useEffect(() => {
|
||||
const items = [
|
||||
// New appointment — ganz links
|
||||
{
|
||||
id: 'new-appointment',
|
||||
plugin: 'calendar',
|
||||
label: t('calendar.newAppointment'),
|
||||
group: 'actions',
|
||||
onClick: () => {
|
||||
openWindow({
|
||||
title: t('calendar.newAppointment'),
|
||||
type: 'appointment-create',
|
||||
component: AppointmentEditForm,
|
||||
componentProps: {
|
||||
entry: null,
|
||||
prefillDate: null,
|
||||
calendars,
|
||||
defaultCalendarId: activeCalendarId,
|
||||
onSaved: handleSaved,
|
||||
onDeleted: handleDeleted,
|
||||
},
|
||||
});
|
||||
},
|
||||
icon: (
|
||||
<Plus className="w-3.5 h-3.5" strokeWidth={2} />
|
||||
),
|
||||
},
|
||||
// Navigation group
|
||||
{
|
||||
id: 'nav-prev',
|
||||
@@ -384,31 +409,6 @@ export function CalendarPage() {
|
||||
onSelect: (value: string) => setViewMode(value as CalendarViewMode),
|
||||
onClick: () => {},
|
||||
},
|
||||
// Actions group
|
||||
{
|
||||
id: 'new-appointment',
|
||||
plugin: 'calendar',
|
||||
label: t('calendar.newAppointment'),
|
||||
group: 'actions',
|
||||
onClick: () => {
|
||||
openWindow({
|
||||
title: t('calendar.newAppointment'),
|
||||
type: 'appointment-create',
|
||||
component: AppointmentEditForm,
|
||||
componentProps: {
|
||||
entry: null,
|
||||
prefillDate: null,
|
||||
calendars,
|
||||
defaultCalendarId: activeCalendarId,
|
||||
onSaved: handleSaved,
|
||||
onDeleted: handleDeleted,
|
||||
},
|
||||
});
|
||||
},
|
||||
icon: (
|
||||
<Plus className="w-3.5 h-3.5" strokeWidth={2} />
|
||||
),
|
||||
},
|
||||
{
|
||||
id: 'ics-import',
|
||||
plugin: 'calendar',
|
||||
|
||||
Reference in New Issue
Block a user