mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-25 08:01:16 +00:00
Address GitHub issue #13 (events not spanning real duration, hour label alignment) and add five standard calendar UX features: - Click-drag on empty time slots to create events with pre-filled time range - Resize events by dragging bottom edge handle (15-min snap, optimistic JMAP update) - Recurring event edit/delete scope dialog (this/following/all occurrences) - Double-click quick create with inline title input (PT1H default) - Event duplication button in modal (clones +1 day, opens for editing) Shared interaction logic extracted to hooks/use-time-grid-interactions.ts. All features include i18n (8 locales), accessibility (ARIA, pointer events), and proper error handling with toast feedback.
13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
turbopack: {
|
|
root: import.meta.dirname,
|
|
},
|
|
};
|
|
|
|
const withNextIntl = createNextIntlPlugin();
|
|
export default withNextIntl(nextConfig);
|