Skip to content

feat(calendar): add Agenda command to show events on demand - #336

Merged
ospfranco merged 2 commits into
ospfranco:mainfrom
menisadi:feat/agenda-command
Nov 24, 2026
Merged

ospfranco merged 2 commits into
ospfranco:mainfrom
menisadi:feat/agenda-command

Conversation

@menisadi

@menisadi menisadi commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Add an Agenda command to show calendar events on demand

Today the in-app calendar is all-or-nothing: calendarEnabled either renders the event list under the search bar on every launch, or it's hidden and there's no way to reach it at all.

This adds an Agenda command that temporarily shows the calendar for the current launcher session. The flag is runtime-only. It isn't added to PORTABLE_KEYS and is cleared in onHide, so it never touches config.json and doesn't survive closing the launcher. Events are already fetched regardless of calendarEnabled, so nothing new is queried.

Lets you keep the launcher clean by default and still pull up your day when you want it.

@ospfranco

Copy link
Copy Markdown
Owner

ehh... one you pull it up, you have to toggle the calendar again to dismiss it, that's a weird implementation

@menisadi

menisadi commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Oh dammit I missed that.
I guess I need to make it disappear when pressing Esc and/or when you type something.
I think that other launchers implement this as a widget, like the emoji picker we have here. But this feels more involved and a larger behavior change for Sol.
I'll look into it later on.
Thanks.

@menisadi
menisadi force-pushed the feat/agenda-command branch from 5b5cc7f to c40203e Compare October 19, 2026 10:30
@menisadi

Copy link
Copy Markdown
Contributor Author

@ospfranco I updated it.
Esc now dismisses the agenda first (a second Esc closes the launcher, same as the confirm dialog), and typing hides it for good.
Running Agenda again no longer toggles it, it only shows it. Tested locally with the in-app calendar off.

@ospfranco
ospfranco merged commit a50347b into ospfranco:main Nov 24, 2026
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.

3 participants