Skip to content

Redesign the Plasma Calendar applet

Carl Schwan requested to merge work/carl/calendar into master

This MR contains 5 commits, I tried to separate them the best I could, but they still all depend on each other:

  1. This removes the grid around the items
  2. The header component was moved to the MonthView instead of being contained in the DaysCalendar. It is also now optional and the API caller can disable it. It also now use buttons to navigate to year/month/decade view instead of a non-discoverable click on the heading
  3. It is now using a SwipeView to provide better touch navigation. I also added some convenient functions to manipulate the view and get its state and a bit of documentation
  4. Use a correct highlighting for the calendar view using PlasmaComponent2.Highlight
  5. Make the content size of the calendar views consistent. (taken from Jan's MR)

Original mockup:

Result with plasma workspace patch: image

Result without plasma workspace patch: image

The 4 first patchs are released under LGPL-2.0-or-later while being in a GPL module.

Edited by Carl Schwan

Merge request reports