Skip to content

[FEATURE] Add a compact all day events option#363

Open
luscoma wants to merge 3 commits into
FamousWolf:mainfrom
luscoma:alusco/inline-entire-day
Open

[FEATURE] Add a compact all day events option#363
luscoma wants to merge 3 commits into
FamousWolf:mainfrom
luscoma:alusco/inline-entire-day

Conversation

@luscoma

@luscoma luscoma commented Apr 25, 2026

Copy link
Copy Markdown

This change adds an "Inline all day events" toggle in the Events section of the editor. When enabled, all-day events render as a single line with the time label and title side-by-side and the title ellipsized, independent of compact mode. Description and location are always hidden in inline mode since the goal is to prevent any wrapping.

I had a high number of all day events and wanted them to take less vertical space. This gave me a way to compact those down without forcing the entire UI into compact mode.

inline-all-day

Adds an "Inline all day events" toggle in the Events section of the editor.
When enabled, all-day events render as a single line with the time label and
title side-by-side and the title ellipsized, independent of compact mode.
Description and location are always hidden in inline mode since the goal
is to prevent any wrapping.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@luscoma

luscoma commented Apr 25, 2026

Copy link
Copy Markdown
Author

In retrospect maybe I should rename inline all day events to compact all day events to keep with "compact mode" let me know if you prefer that

Inline events broke additional color bars when calendars were collapsed due
to the parent switching to centering its items and the div creating the
bar having no height.  This changes that dif to use align-self: stretch
(the default) to restore it back.
@luscoma luscoma force-pushed the alusco/inline-entire-day branch from 4a6a79b to f805b4e Compare April 25, 2026 22:25
@FamousWolf

Copy link
Copy Markdown
Owner

I prefer "Compact all day events", but I also want to add an option to remove the "Entire day" text entirely. I'll see if I can add that to this PR today or tomorrow.

@luscoma

luscoma commented Apr 26, 2026

Copy link
Copy Markdown
Author

Happy to make that change if you want. I wa sthinking I could change the compact mode toggle in appearance to a dropdown that's like Default, Compact Events, Compact All Day Events. Then I can add a toggle to Entire day under texts that's like No Prefix for all day events that if checked disables the text box

Combine the existing `compact` boolean and the unreleased
`inlineAllDayEvents` boolean into a single mutually-exclusive
`displayMode` config: `default`, `compact`, or `compactAllDay`.
`compact: true` is still honored as a fallback for cards saved before
displayMode existed.

Also add `hideEntireDayLabel` to suppress the "Entire day" label
on all day events. The time wrapper is omitted entirely when set so
its margin doesn't affect layout.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@luscoma

luscoma commented Apr 26, 2026

Copy link
Copy Markdown
Author

Took a stab at this, it's now called compact all day events and I merged it with the compact apperance. This is now a dropdown in the editor and an enum (the boolean is checked for compatibility). I also added the hide entire day text prefix as a boolean next to where you can set the text prefix. Tested both options

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.

2 participants