Skip to content

Conversation

@Dev-Time
Copy link

@Dev-Time Dev-Time commented Jun 25, 2025

This change introduces an 'initiallyHidden' option for calendars. When set to true, the calendar's events will not be displayed on the card by default, but the calendar will still appear in the legend. Clicking the calendar in the legend will toggle the visibility of its events.

Added initiallyHidden boolean option to calendar configuration in src/editor.js.
Modified setConfig in src/card.js to populate _hideCalendars based on this new option at startup.

closes #292

This change introduces an 'initiallyHidden' option for calendars.
When set to true, the calendar's events will not be displayed on the
card by default, but the calendar will still appear in the legend.
Clicking the calendar in the legend will toggle the visibility of its events.

- Added `initiallyHidden` boolean option to calendar configuration in `src/editor.js`.
- Modified `setConfig` in `src/card.js` to populate `_hideCalendars` based on this new option at startup.
@josvink66
Copy link

This is a nice to have. Any updates on this?

Thanks!

@agios
Copy link

agios commented Oct 9, 2025

👍
Nice to have indeed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Disable calendar on first view

3 participants