feat(events): configurable visibility

This commit is contained in:
Kiyomichi Kosaka
2025-06-20 07:49:34 +02:00
parent 47d4a66b0f
commit 7bfee30e71
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -10,6 +10,8 @@
// 2 = every second unit, ...).
// label - short description displayed on the calendar.
// duration - optional length of the event in seconds.
// showMega - optional boolean, show label on the megasequence view (default true).
// showDetail - optional boolean, show event in the detail view (default true).
window.SPECIAL_EVENTS = [
{ start: '49f4.9332', label: 'Afina', unit: 'cosmocycle', interval: 1 },
@@ -19,5 +21,5 @@ window.SPECIAL_EVENTS = [
{ start: '330d.d4ae', label: 'Zusammentag', unit: 'cosmocycle', interval: 1 },
{ start: '11de.0c52', label: 'Anna', unit: 'cosmocycle', interval: 1 },
{ start: '467f.ae61', label: 'Iris', unit: 'cosmocycle', interval: 1 },
{ start: '6854.7a75', cobie: '6854.7a75', label: 'Sleep', unit: 'second', interval: 86400, duration: 28800 }
{ start: '6854.7a75', cobie: '6854.7a75', label: 'Sleep', unit: 'second', interval: 86400, duration: 28800, showMega: false }
];