Skip to content

kcms/notifications: modernize Application Settings page

@iasensio you knew it was coming... 😅

This commit modernizes the design of the page, emulating some of the recent VDG-directed changes to the Baloo KCM. The changes include:

  • Use KCM.AbstractKCM as the root component
  • Make it frameless
  • Move the search field above everything else, since its scope is everything on the page, not just the apps list
  • Center the app icon and name, and increase the outer margins, because I just couldn't find a way to make them look good when left-aligned in this new layout
  • Use an inline header in the list view, rather than a label above it
  • Move the app icon/name/controls into the list view header too, so that it can scroll out of view and you have more space to see the events
  • When the app doesn't support per-event configuration, don't hide the list view where that stuff would appear; instead just use it as a place to show the placeholder message
  • Remove unnecessary full stops from placeholder messages
Before After
App not supporting per-event configuration

Before, no per-event.png

After, no per-event.png

KDE app with per-event configuration scrolled to top

Before, per-event, top.png

After, per-event, top.png

KDE app with per-event configuration scrolled down a bunch

Before, per-event, scrolled down.png

After, per-event, scrolled down.png

If folks like the list view header like the one the Baloo KCM has, I plan to turn it into a library component that both KCMs can share.

@teams/vdg

Merge request reports