OFFLINE MODE TESTING

// Interactive testing playground for offline-first calendar functionality

[⏳] INITIALIZING CALENDAR SYSTEM...
[●] NETWORK: ONLINE

TESTING PROTOCOL

  1. Perform CRUD operations below (create, update, delete events)
  2. Open DevTools → Network tab → Check "Offline" to simulate offline mode
  3. Continue performing operations → they will be queued
  4. Open Sync Visualization to monitor the queue
  5. Uncheck "Offline" to go back online → operations will sync automatically
  6. Press F5 while offline → verify data persists from IndexedDB
CREATE OPERATIONS
Create Timed Event
// Creates a new timed event in the calendar
Create All-Day Event
// Creates a new all-day event
UPDATE OPERATIONS
Update Event Title
// Update the title of an existing event
Toggle All-Day Status
// Convert between timed and all-day event
DELETE OPERATIONS
Delete by ID
// Permanently delete an event
UTILITY OPERATIONS
EVENT PREVIEW