*BZZT* Your 12 o’clock is next on your schedule — Kalendar week 6 (GSoC 2021)

It’s hard to believe, but we are now half-way through Google Summer of Code. Wow, does time fly. 6 weeks ago Kalendar let you view events from your local and online accounts — now, it does a lot more than that!

This week brings quite a few big changes. We don’t have one merge request, but three!! They’re all in the polishing phase, and they each should get merged over the coming days. You can find each of the MRs here:

  1. !8: Improved event info drawer, event collection editing, attachments
  2. !9: Add undo/redo functionality
  3. !10: Add a schedule view to Kalendar

There’s a lot of ground to cover, so let’s get started:

Improving the event information drawer/sidebar

Last week, we introduced the event information component, which appears on the right-hand side of Kalendar’s window. This week, we are adding more information to this component. With these additions, the event information drawer should display all the information you need!

You can now expect to see, on top of what you could already view:

  • Fancy descriptions of the recurrence rules for your chosen event
  • Glanceable icons at the top of the event info describing the type of the event as well as if it recurs or has reminders set
  • Files attached to your calendar event, with clickable names that will open said attachment

That conveniently leads us to…

The event editor’s new capabilities

The event editor has also been upgraded to allow you to add new attachments to or remove existing ones from your chosen calendar event. This is done with a UI that is similar to and consistent with the rest of the things you can add to an event, like reminders or attendees.

Clicking the ‘Add attachment’ button pops up a dialog that, upon file selection, will attach your chosen file to your event.

The event editor now also correctly lets you change an event’s parent calendar, which means you can move an event from one calendar to another even if the event has already been created.

Undo/redo

Several people have asked for some way to prevent potentially destructive actions such as event deletion and modification from being permanent. With MR !9, there is now a way to undo these changes in your calendar with simple undo/redo actions (or the shortcuts you’re used to — CTRL+Z and CTRL+SHIFT+Z). Now you can undo event creations, changes, and deletions… or redo them!

A new view for Kalendar!

Since its creation, Kalendar has supported a month view that provided you with a clean view of all events in a given month, much like a traditional calendar would.

We are now working on a new view that will be able to use alongside the month view. This view is a schedule view.

The schedule view lets you view your current and upcoming events in a simple and attractive list of cards. It opens on the current day so you can see what you need to take care of over the next 24 hours. This will be especially useful for mobile devices, where the month view might be a bit cramped.

The schedule view’s cards contain all the basic information you’ll need to know about these events. Name, time, recurrence, if the event is multi-day — you got it.

You can interact with this view as you’d expect to. Double clicking an empty day opens the event editor so you can quickly create a new event; you can also right-click on a day and create a new event from the context menu.

This view is still under development, and it will take some time to merge. Still, it is quite exciting and I couldn’t help but share on the progress that has been made!

Coming up next

The next big change we are looking forward to is adding support for more calendar items besides events — mainly journals and to-dos. This should make Kalendar a much more versatile productivity tool, though it will require some wrangling behind the scenes to get everything working well.

Is there anything you’d like to see added to Kalendar? Get in touch! I’m @clau-cambra:kde.org on Matrix.