Skip to content

WIP: Restructure top drawer and add quick settings to it.

Administrator requested to merge add-features-base into master

Based on https://source.puri.sm/Librem5/phosh/merge_requests/416 which introduces the quicksettings base class.

This MR tries to move closer to design proposed here for the top drawer

Out of scope for this MR:

  • Notification
  • User Menu
  • Power Menu
  • Kill switch status
  • Implement quick settings other then the current existing (wifi, wwan, battery)

Things still to do:

  • Hide user menu button or (show correct avatar)
  • Add clock and date
  • More descriptive git commits
  • Description for wwan
  • General margins and padding
  • General style
  • Testing on the phone
  • Add volume slider (since hardware button don't work,yet)

The behavior for the each quicksettings button is:

  • Normal click: toggles enabled/disabled (for wifi and nothing for others)
  • Longpress: opens g-c-c panel
Edited by Administrator

Merge request reports