Commit graph

50 commits

Author SHA1 Message Date
Devin Lin
ff51677daa quicksettings: Fix scrollview indicators 2022-09-24 17:34:57 -04:00
Devin Lin
1830b9dd2a quicksettings/donotdisturb: Move do not disturb button to quick setting 2022-09-10 12:41:08 -04:00
Devin Lin
620fd8a433 quicksettings: Fix row count calculation 2022-07-10 23:18:34 -04:00
Devin Lin
fbc644fced mobileshell: Implement base flickable with higher maximum swipe speed 2022-07-08 21:59:55 -04:00
Devin Lin
ba597e1de2 homescreens/halcyon: Turn off layer, and use handlers for grid delegates 2022-06-28 12:31:18 -04:00
Devin Lin
3a0a744051 quicksettings: Fix brightness slider alignment, and forced row count 2022-06-27 23:47:51 -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
ee13948d37 tests: Add new folder for test snippets, and add QuickSettingsTest 2022-06-06 21:26:37 -04:00
Devin Lin
f8049783af quicksettings: Add simple and performant shadow to delegates 2022-06-03 19:36:44 -04:00
Devin Lin
221799828d kcm: Add ability to customise mode of action drawer swipe down 2022-05-30 23:37:00 -04:00
Aleix Pol
55eadf0377 QuickSettings: Provide a small test app to run QuickSettings
It's useful to limit what you are testing.
2022-05-30 00:07:52 +00:00
Devin Lin
7ecb92d3dd actiondrawer: Improve openToPinnedMode to have drawer already maximized when dragging 2022-05-26 18:11:01 -04:00
Yari Polla
aa4ddf8afd change property name 2022-05-25 18:13:29 +02:00
Yari Polla
fb8494fec4 actiondrawer: add ability to open and expand quicksettings with one stroke 2022-05-25 03:03:21 +02:00
Devin Lin
427c177a44 quicksettings: Remove debug message 2022-05-20 23:44:02 -04:00
Devin Lin
3e22b962f2 quicksettings: Fix enabled text always displaying "On" 2022-05-20 09:59:58 -04:00
Yari Polla
a2a9384bea quicksettings: few other corrections 2022-05-17 00:55:31 +00:00
Yari Polla
47845000a7 quicksettings: bring back notification glow and well-positioned clock 2022-05-17 00:55:31 +00:00
Yari Polla
fa759eb79e remove useless parameter 2022-05-17 00:55:31 +00:00
Yari Polla
b429b9c34e quicksettings: few corrections for landscape view 2022-05-17 00:55:31 +00:00
Yari Polla
ab91a42e9e quicksettings: fix media widget in landscape view 2022-05-17 00:55:31 +00:00
Yari Polla
ed0030eea3 quicksettings: fix landscape view 2022-05-17 00:55:31 +00:00
Yari Polla
ee951627b3 quicksettings: discern between portrait and landscape view 2022-05-17 00:55:31 +00:00
Yari Polla
166460f4c2 quicksettings: almost graphics fixes 2022-05-17 00:55:31 +00:00
Yari Polla
0f7dc0cf05 quicksettings: implement swipe view 2022-05-17 00:55:31 +00:00
Yari Polla
863485075c quicksettings: remove unused rightPadding property in MarqueeLabel 2022-04-30 15:16:02 +00:00
Devin Lin
ce06af0e8a Fix some animations not following setting 2022-04-30 11:07:07 -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
151bb9dbfc quicksettings: Fix delegate text size regression 2022-04-28 20:15:13 -04:00
Yari Polla
8f1289139f quicksettings: use MarqueeLabel for quicksettings status label 2022-04-28 21:04:19 +00:00
Devin Lin
2deea1b4d0 components: Port Direction enum to c++ to improve load times
According to flame graph testing with qmlprofiler, this caused quite some overhead in QML.
2022-04-10 13:28:32 -04:00
Devin Lin
b3884be926 actiondrawer: Dismiss on click on empty background area 2022-04-07 20:23:36 -04:00
Devin Lin
57192b772b actiondrawer: Add restricted permission mode, and implement on lockscreen 2022-04-07 14:11:08 -04:00
Devin Lin
b905bafcb5 taskswitcher: Improve zoom animation and add cursor shape on tasks 2022-04-06 22:08:47 -04:00
Devin Lin
6830370b55 quicksettings: Scale animation on delegate tap 2022-04-06 21:55:06 -04:00
Devin Lin
192d36da46 quicksettings: Improve text contrast 2022-04-06 20:32:38 -04:00
Devin Lin
cec4f412d7 actiondrawer: Use higher quicksettings text contrast 2022-04-06 13:48:17 -04:00
Devin Lin
210042a6bf libmobileshell: Move back to QML plugin
Move from a C++ library + QML plugin to a QML plugin only for simplicity, since the homescreen switching architecture will be done from Plasma, and so use of the shell library only needs to be from QML.
2022-03-21 10:00:09 -04:00
Devin Lin
cf7e48e65c components/mobileshell: Move to libmobileshell library 2022-03-16 23:20:51 -04:00
Devin Lin
5cb056dd3e actiondrawer: Darken landscape drawer background to be easier to read 2022-02-19 22:08:58 -05:00
Devin Lin
6d6b38ac46 quicksettings: Add status for mobile data not being available 2022-02-12 23:08:28 -05:00
Devin Lin
0131710c23 mmplugin: Use NM autoconnect instead of wwanEnabled for mobile data
Add supported function
fix
fix
fix
fix
fix
fix
fix
fix
cleanup
fix
fix
fix
fix
2022-02-12 23:08:23 -05:00
Devin Lin
dca8064ca2 actiondrawer: Use passed in notifications model and settings 2022-02-11 17:50:17 -05:00
Devin Lin
b323a83add quicksettings: Make mobile data quick setting use NM API directly 2022-02-10 22:50:09 -05:00
Devin Lin
8f732c330f actiondrawer: Fix widget references 2022-01-03 00:36:58 -05:00
Devin Lin
906c169f26 startupnotifier: Import and integrate into homescreen for performance 2021-12-29 00:08:32 -05:00
Devin Lin
516c690038 actiondrawer: Fix non-existent function call 2021-12-27 19:59:25 -05:00
Devin Lin
484e088508 actiondrawer: Reduce background opacity if no notifications are shown 2021-12-27 19:13:35 -05:00
Devin Lin
7adea6fd3d actiondrawer: Ensure that new swipes always re-open the overlay 2021-12-27 19:03:00 -05:00
Devin Lin
6653ad6e54 panel: Refactor panel and implement blue ocean mockups 2021-12-22 23:29:00 +00:00