Making Kalendar pretty — Kalendar week 9 (GSoC 2021)

This week, we spent some time making Kalendar more pleasant to look at. We took some of your feedback from last week (thank you for your ideas!), and we think you will like what we have in store for you in this post.

There’s another feature some of you have asked for that you will also see here. 😉

Improved the appearance of the month view and visual consistency across views

!14: Improve month view and schedule view visually

Here’s a comparison of the old (left) month view, and the new (right) month view:

Better, right? Well, a lot of little visual tweaks do add up to make a big difference. We started with the event ‘lines’, which were previously not very contrast-y and sometimes tough to read. Now, we have given these event lines more vibrancy and ensured that the text colour changes depending on the colour for better contrast.

We have also given these lines slightly more padding, making them feel less cramped. Adjustments to the border radius now also make their shape match those of the incidence cards in the schedule view.

More changes for consistency include the separation lines between the cells in the month view grid, which are now the same colour as the Kirigami separator components used in the schedule view.

The most noticeable change is the differential colouring of the month view cells. Cells that correspond to months other than the selected month are now darker, and their events have less contrast. For the cell corresponding to the current day, the background is now highlighted, and the day number is bolded with “Today” text being featured alongisde it. This should make it much easier for you to locate the current day on the grid.

By the way, we also added the “Today” highlight to the schedule view. 🙂

Added location map to incidence information drawer

No MR yet: code can be found on branch work/location_map

We are also working on including a map in the incidence information drawer for incidences that have a set location. I know some of you asked for this, and I’m glad you did: it looks pretty cool!

When opening the drawer, Kalendar fetches data from OpenStreetMaps to display the area where your event or todo is taking place, overlaying a blue circle for the exact location. In cases where a location can’t be found from the event’s set location information, you’ll see a dismissible warning instead.

If you like exploring around the map, that’s fine: as soon as the location leaves the map’s viewable area, a button will show up that will take you right back to the location.

This feature, unfortunately, comes with a big caveat. There are several reports of QtLocation Map components crashing QtQuick applications on some systems (including my own!). We are going to keep working on this feature, and hopefully most of you will be able to enjoy it — but it will be opt-in so that users with machines affected by these crashes can still use Kalendar as normal.

If you know about this issue and know of a workaround/fix, please let me know!! It’ll make me very, very, very happy. 😀

Added “Today” button in all views

!14: Improve month view and schedule view visually

Both the month view and the schedule view now feature an action that lets you quickly return to the current day. This should make it easier to get back to where you want to be in your calendar.

Day drop-down menu now also available in the month view

!14: Improve month view and schedule view visually

Right-clicking on a day in the month view now popups a helpful drop-down menu that lets you quickly and easily add incidences of your choice to your calendar.

To be honest, this should have been working before, but it wasn’t. Now it is. Yay!

Added additional icons to the schedule view

!14: Improve month view and schedule view visually

Previously, the cards on the schedule view displayed an icon when an incidence had a set reminder. Now, the cards in the schedule view also display whether an event is recurring or not.

Bug-fixes

Two important bugs have been squashed over this past week.

These fixes should go a long way to letting more of you test Kalendar!

Coming up next

Work on the location map will continue over the course of next week. Fingers crossed, we’ll be able to find a fix for the map crashes and get that feature rolled out to everyone. We’re also in the process of making a todo view, which should let Kalendar take care of much of your time-related productivity needs.

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

Meeting with your mates — Kalendar week 8 (GSoC 2021)

Last week’s large merge request added the ability for Kalendar to add, edit, view and delete todos alongside events. That MR was merged on Friday and you can now play around with it on Kalendar’s master branch!

This week, a lot of time was spent polishing that MR as well as adding a few additions to make it even nicer for you to use todos. A new MR has also been added this week which adds a convenient new feature to the incidence creation process.

Let’s go through what’s new!

Making todo completion more granular and accessible

!12: Add support for more incidence types

Since last week, you were able to create and view new todos and mark them as complete or incomplete from the incidence information drawer. That was nice, but it didn’t offer much granularity over setting exactly how complete a todo was.

This week, the incidence view component now includes a slider that lets you easily change how complete an ongoing todo is. The completion of a todo is also clear and easily visible near the top of the drawer.

Adding support for todo-specific features

!12: Add support for more incidence types

Kalendar now also lets you adjust the priority level of a task. Priority levels will let you quickly see how important a task is, and to manage your schedule in accordance to the importance of different todos. Priority levels can be set on a scale of 1-9 (descending order of importance). This is then presented to you in the information drawer, with a short description of what that priority level means.

Another new feature specific to todos is the ability to create todos without a set due date. This currently makes the todo invisible on Kalendar, as it won’t show up on the currently-supported time-based views… but this will not be the case forever. 😉

Making incidences’ right-click drop-down menus more useful

!12: Add support for more incidence types

Whereas in past weeks right-clicking on an event or todo only presented you with the choices ‘Edit’ and ‘Delete’, the drop-down menu is now a little more useful. Two new options have been added: the first is ‘View’, which opens the information drawer in much the same way that left clicking an incidence would do. On todos, you are also presented with the option to mark the todo as complete or incomplete depending on its status, which should make it easy for you to quickly alter that todo’s status.

Adding a contact picker

!13: Add a contact picker for easy attendee addition

Kalendar’s incidence editor now features a convenient contact picker. You are given the choice of using it when choosing to add new attendees to an incidence, helping you add guests more quickly and easily than doing so manually.

The contact picker features a list of your contacts (including those in your synchronised online accounts), letting you select them, remove them, or search through them as you please. Adding a contact as an attendee is as simple as tapping them, with their addition indicated by a checkmark next to their names. Doing the same on a contact that has already been added will remove them from your attendees.

The contact picker’s user interface is heavily based on the work done by the Plasma Mobile Phonebook team, so a big thanks to them for making such a nice-looking app. 🙂

Coming up next

Remember when I said that those todos without due dates won’t be inaccessible forever? Well, work is ongoing on a todo view that will let you view, edit, and sort through your todos exclusively. Thanks to comments from readers like you, we also have some ideas about new additions we can make to areas such as the information drawer.

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