Commit graph

136 commits

Author SHA1 Message Date
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
Aleix Pol
8335934aef As an acronym, SIM should be upper-case
It stands for Subscriber Identity Module
2021-09-29 01:01:39 +02:00
Aleix Pol
d238aa3031 Do not show "Sim Locked" when there's no SIM card
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
2021-09-29 01:01:39 +02:00
Devin Lin
1330bb6a0b lockscreen: Fix text input not working because of predictive text 2021-09-25 12:57:07 -04:00
Tobias Fella
89dbff8995 Port signal strength indicator to ModemManager 2021-09-15 16:19:47 +00:00
Aleix Pol
4bba6ac402 units -> PlasmaCore.Units 2021-09-13 18:59:35 +02:00
Aleix Pol
fb57087470 Specify some defaults for the LnF 2021-09-02 15:19:51 +02:00
Aleix Pol
d332582328 Port away from the global "theme" object to PlasmaCore.Theme
Like we've done for the rest of Plasma
2021-06-10 16:14:41 +02:00
Devin Lin
b7525e4196 lockscreen: handle all cases for lockscreen keyboard focus 2021-06-07 16:58:23 -04:00
Devin Lin
7921eacaae lockscreen: explicitly tell keyboard to open rather than relying on focus 2021-06-07 16:52:12 -04:00
Devin Lin
19e3840a23 lockscreen: don't make password bar go off the screen if keyboard reports height larger than screen height 2021-06-01 18:32:09 -04:00
Bhushan Shah
51c540c1a7 lockscreen: do not show percentage for signal strength
streamline with what we do in unlocked phone in top panel
2021-05-14 15:01:01 +05:30
Bhushan Shah
4511a2d62f indicators: clean-up useless debug 2021-05-14 15:01:01 +05:30
Bhushan Shah
7bac59549d indicators: do not needlessly scan again
When putting modem in online state it would already make it scan for
operator, we have no need to make it scan for operators again and waste
time for operation takes long time.
2021-05-14 15:01:01 +05:30