Commit graph

149 commits

Author SHA1 Message Date
Yari Polla
91bec04d9d use IntervalAlignment from P5Support 2023-03-09 16:45:30 +01:00
Marco Martin
acd8605a4f Port dataengine usage to plasma5support
DataEngines are deprecated and are being splitted in a (temporary lived)
compat library called plasma5support
2023-03-08 14:26:36 +01:00
Yari Polla
8b5ec57d0b explicitly declare signal handlers params 2023-03-06 14:09:54 +01:00
Devin Lin
f0c756214a Port QtGraphicalEffects 2023-03-03 06:01:23 +00:00
Devin Lin
d2b5416513 kded: Add startup settings manager
This adds a new component that manages Plasma Mobile specific configuration on every session startup. It also restores configuration when logged into a desktop session. 

This allows us to remove https://invent.kde.org/plasma-mobile/plasma-phone-settings, as well as configuration that was set in the look and feel. This also gives us an easy way to control configuration upgrade paths, and in the future, add ways for the configuration to easily be reset for debugging purposes.
2023-02-23 16:43:38 +00:00
Devin Lin
917a972e83 lockscreen: Remove wallpaper workaround 2022-12-09 16:53:52 -05:00
Devin Lin
2a779900f3 lockscreen: Refactor and lazy load notifications 2022-12-09 10:54:13 -05:00
Devin Lin
79fe77eaea actiondrawer: Use Expo animations for pane movement 2022-12-04 12:09:00 -05:00
Devin Lin
5be3445187 look-and-feel/logout: Cleanup and fixup animations 2022-11-27 21:44:53 -05:00
Seshan Ravikumar
67b01ec231 Make button darker, increase contrast on press 2022-11-16 21:46:31 -05:00
Seshan Ravikumar
f882058800 power menu: New power menu design
This MR introduces a redesigned power menu ("logout" look-and-feel). The design has been changed to (imo) be more inline with the rest of the recent Plasma Mobile design changes, and a bit more professional (ex. removing the scale animation in favor of just a fade). 

Design suggestions are greatly appreciated!

<img src="/uploads/8534b89984ca24abb163ac04cfff6d8d/image.png" alt="New Power Menu Design" width="40%"/>


Comparison (left is new design, right is the current one):

<img src="/uploads/5fa75374e2b01ca5bb90e2c44ef86510/image.png" width="40%"/>
2022-11-16 21:20:51 +00:00
Devin Lin
baae6133cb Revert "look-and-feel: Switch to Breeze Dark by default"
This reverts commit cf756bba6d.
2022-11-13 15:52:18 -05:00
Devin Lin
df65a0e0f2 mobileshell: Remove compile time QtFeedback dependency, and make it optional 2022-11-12 11:15:36 -05:00
Devin Lin
7d3bf39750 mobileshell: Refactor and extract state to mobileshellstate plugin
This avoids mixing plasmashell state with our MobileShell component library (which really shouldn't have state at all).
2022-11-12 11:15:36 -05:00
Devin Lin
cf756bba6d look-and-feel: Switch to Breeze Dark by default 2022-11-11 21:19:25 -05:00
Devin Lin
11aaad0546 lockscreen: Refactor and cleanup keypad 2022-10-27 20:37:31 -04:00
Devin Lin
06de6e416e statusbar: Don't use fractional font sizes 2022-10-27 20:01:16 -04:00
Devin Lin
be5acaf8a9 lockscreen: Use bold text for clock to improve contrast 2022-10-27 19:48:05 -04:00
Volker Krause
74b61890f2 Remove unused QQC1 imports 2022-08-04 19:00:20 +02:00
Devin Lin
baabcfe335 lockscreen: Only show widescreen mode for short height devices 2022-07-11 22:11:33 -04:00
Devin Lin
75e5b79103 lockscreen: Use temporary fix for black background 2022-07-11 09:37:56 -04:00
Devin Lin
d563e1b1f8 look-and-feel: Move settings from plasma-phone-settings to defaults
See https://invent.kde.org/teams/plasma-mobile/issues/-/issues/148

Haven't tested it yet, and I believe that some settings might not apply, have to investigate the whitelist in https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/lookandfeel/lookandfeelmanager.cpp

CC: @apol @mart @bshah
2022-07-07 22:00:42 +00:00
Devin Lin
6824e2d2b9 lockscreen: Use simpler logic for blur 2022-06-28 12:45:48 -04:00
Devin Lin
d9fd104e08 lockscreen: Fix margins of notifications and centering 2022-06-25 14:38:47 -04:00
Yari Polla
d8399e88be toppanel/notifications: add clean all and do not disturb
Hi, this MR adds "clear all" and "do not disturb" buttons to `NotificationsWidget`.

Few other corrections have been made:
 - Transitions should now work correctly, plus they can be disabled via `MobileShell.MobileShellSettings.animationsEnabled`;
 - Loaders are now asynchronous;
 - List items have now their own margins, in order to not clip their shadows.\

It only remains to implement a context menu to set do not disturb mode for a given period of time. I think it's a secondary feature on which we can work later, but in case tell me what to do.

Unfortunately I can't test the lockscreen on a phone at the moment, and I cannot take a performance test as well. It would be great if someone tested all these things, otherwise I'll provide as soon as possible.

Closes: https://invent.kde.org/plasma/plasma-mobile/-/issues/134
2022-06-25 12:35:15 -04:00
Devin Lin
9f1b76c4cf lockscreen: Improve physical keyboard input 2022-06-23 23:35:54 -04:00
Devin Lin
0787904ed5 lockscreen: Add support for passwordless logins 2022-06-18 16:47:41 -04:00
Yari Polla
131c3bd911 taskswitcher/lockscreen: trim flick containers and optimise 2022-06-09 19:17:47 +02:00
Devin Lin
d21dd792d0 logout: Fix window not loading
Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/149

It seems that importing mobileshell here causes it to not load? ksmserver doesn't give any useful error logs though...
2022-05-27 10:16:22 -04:00
Devin Lin
e606551d7b lockscreen: Port to kscreenlocker interface v3 and cleanup 2022-05-20 23:41:11 -04:00
Devin Lin
3353cfc498 kcm: Add vibration setting for shell, and add vibrations
We can control shell vibrations from here, which can be replaced once there is a mechanism to control system-wide vibrations for QtFeedback.
2022-04-29 16:15:59 -04:00
Devin Lin
6a31709897 lockscreen: Use more loaders to improve load times 2022-04-10 13:44:37 -04:00
Devin Lin
17f582a150 lockscreen: Fix drawer not closing when notification button clicked 2022-04-07 14:15:13 -04:00
Devin Lin
57192b772b actiondrawer: Add restricted permission mode, and implement on lockscreen 2022-04-07 14:11:08 -04:00
Devin Lin
c55500fba0 lockscreen: Fix clock not adhering to time format settings 2022-04-07 10:35:35 -04:00
Aleix Pol
234dc12901 Ensure we have a default wallpaper
Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/125
2022-02-19 03:10:09 +01:00
Devin Lin
d26464172a lockscreen: Refactor and use loaders to speed up lockscreen load time 2022-02-17 00:52:34 -05:00
Devin Lin
cdb0c91236 lockscreen: Remove testing component 2022-02-12 00:31:05 -05:00
Devin Lin
d9719b8845 lockscreen: Refactor swipe and use mobileshell notification component 2022-02-12 00:19:44 -05:00
Devin Lin
f4f743a868 lockscreen: Use smaller up icon 2022-01-13 20:50:36 -05:00
Devin Lin
d4c3c29608 look-and-feel/lockscreen: Remove missing imports 2021-12-24 10:51:21 -05:00
Devin Lin
4a3f855173 REUSE compliance, add check to CI, drop unused components 2021-12-23 16:02:41 +00:00
Devin Lin
6653ad6e54 panel: Refactor panel and implement blue ocean mockups 2021-12-22 23:29:00 +00:00
Aleix Pol
7f9a9ca60c Add a mobile-specific dialog 2021-12-22 15:07:20 +00:00
Devin Lin
fefcec06c6 homescreen: Change default favourites apps 2021-12-12 12:05:19 +00:00
Aleix Pol
0cd4f91ec4 Port away from PlasmaComponents 2.0 on most places 2021-10-22 16:34:03 +00:00
Aleix Pol
9a6e70f5c3 LockScreen: Support entering the password from the physical keyboard, without flicking
Always get the focus, if the password changes, ensure we show what's
changing.
2021-10-18 10:43:30 +00:00
Aleix Pol
04e1cc1d58 lockscreen: Support clearing the password with ctrl+backspace 2021-10-18 10:43:30 +00:00
Devin Lin
7df05e09be panel: Rework panel layout, and refactoring 2021-10-12 13:50:36 +00:00
Rodney Dawes
b7cac91ef5 PasswordBar: Use input-dialpad icon when normal keyboard is opened
When the normal keyboard is selected by tapping on the keyboard icon
in the PasswordBar, change the icon to the dialpad icon, to indicate
tapping will return to the numeric entry.
2021-10-08 15:02:26 -04:00