Skip to content

Port to a responsive status-page friendly quick-settings box

Arun Mani J requested to merge arun-mani-j/phosh:quick-settings into main

This MR introduces two new widgets - PhoshQuickSettingsBox and PhoshQuickSettingChild.

PhoshQuickSettingsBox is a responsive box which can display status pages immediately below the respective quick-setting. PhoshQuickSettingChild is a child with native status widgets support.

There is also a tool, phosh-quick-settings-box-standalone, which can be used to stress test the new widgets.

Though the port of the existing quick-settings and the plugins is not done, I think we should start it once we confirm the API and structure of PhoshQuickSettingsBox and PhoshQuickSettingChild.

With the MR in draft, we can afford more time to test the new widgets thoroughly for edge cases.

This is how the standalone looks:

image

For the curious, this is how the new quick-settings look, if made to Phosh:

image

TODO:

  • Confirm the API and structure of PhoshQuickSettingChild.
  • Confirm the API and structure of PhoshQuickSettingsBox.
  • Port the existing quick-settings to the new one.
  • Port the quick-setting plugins to the new one.
  • Simplify the status page (like it no longer be a revealer as the box wraps them in a revealer anyway).

Closes: #1062 (closed) (as this isn't needed then anymore)

Edited by Arun Mani J

Merge request reports