Commit graph

214 commits

Author SHA1 Message Date
Devin Lin
0bc1607893 statusbar: Rename WifiIndicator to InternetIndicator, and consolidate 2022-08-14 11:34:46 -04:00
Devin Lin
30312c4e7a taskswitcher: Bold clear button text 2022-07-22 20:17:02 -04:00
Yari Polla
7f78cc4ff6 taskswitcher: implement close all button
Hi, this implements a close all button for the task switcher.

Regarding the double check (`Clear All` -> `Are you sure?`), as far as I know, no system has such a feature for this kind of operation, at the moment, so take it as a proposal.
2022-07-21 15:13:42 +00:00
Yari Polla
b8bdcdd825 widgets/krunner: add ability to close the widget with a tap on an empty area 2022-07-13 21:17:44 +00: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
Aleix Pol
169cfc6354 QuickSettings: Make it possible for them not to be available
Makes it possible to QuickSettings components to only get listed if it
makes sense on the specific system.
2022-07-07 14:09:24 +00:00
Devin Lin
b7f1a5b379 homescreens/halcyon: Add drag and drop reordering of favourites 2022-06-29 00:22:42 -04:00
Devin Lin
4f3b9a1fae homescreens/halcyon: Fix gridview alignment, rename file to be more descriptive 2022-06-28 13:43:55 -04:00
Devin Lin
02bcf78742 homescreens/halcyon: Use ExtendedAbstractButton 2022-06-28 13:26:36 -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
Devin Lin
c4806c6fb5 navigationpanel: Cap width of buttons at 80% of panel 2022-06-27 21:47:15 -04:00
Devin Lin
e18d5f73ed osd/volume: Don't use padding in SwipeListItem to fix warnings 2022-06-27 17:29:34 -04:00
Devin Lin
5519abd82c navigationpanel: Properly cap width for wide screens 2022-06-27 17:28:41 -04:00
Devin Lin
eff9d3df9a homescreen: Don't play zoom animation when going between maximized window states 2022-06-27 16:53:40 -04:00
Devin Lin
d9fd104e08 lockscreen: Fix margins of notifications and centering 2022-06-25 14:38:47 -04:00
Devin Lin
0a76701af5 widgets/notifications: Use smaller button text, and adjust sizing
Fixes an issue where the ListView was sometimes not tall enough to hold the content despite the list not overflowing.

Also adjusts button text to be smaller.
2022-06-25 14:37:56 -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
74285d9261 mmplugin: Check for nullptr 2022-06-23 19:45:47 -04:00
Aleix Pol
7b163661d5 PipeWireThumbnail, Record: Wayland handling doesn't belong in KPipeWire 2022-06-23 11:25:08 +02:00
Devin Lin
0deef11ba7 components: Attempt to fix some cyclic dependencies 2022-06-22 11:48:46 -04:00
Devin Lin
c3835b9a3b components: Use consistent documentation 2022-06-22 11:14:30 -04:00
Devin Lin
304ba155b6 components: Fix ExtendedAbstractButton pressAndHold 2022-06-22 10:48:59 -04:00
Devin Lin
9922c8d5d2 components: Introduce ExtendedAbstractButton, port homescreen to it 2022-06-21 18:38:21 -04:00
Devin Lin
6ed9a7d65a quicksettings: Move related files into folder 2022-06-18 17:14:21 -04:00
Devin Lin
b41e1f2b8a homescreen: Start refactoring and cleaning
fix
2022-06-18 15:42:39 -04:00
Yari Polla
131c3bd911 taskswitcher/lockscreen: trim flick containers and optimise 2022-06-09 19:17:47 +02:00
Devin Lin
a173cf9b9d homescreens/halcyon: Add new homescreen 2022-06-08 18:09:35 -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
d6cc2918e0 widgets/notifications: Specify InvokeBehavior when invoking action 2022-06-06 20:39:16 -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
Aleix Pol
ecd1515217 Add a Record QuickSetting
Allows to record the current output conveniently from the drop-down.
2022-05-30 00:07:52 +00:00
Aleix Pol
b0e2065a63 PipeWireThumbnail: Port to KPipeWire
It's the same components just in a different place. No need to do much
porting.
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
2c61bb1723 kcm & taskswitcher: Add option to toggle application previews 2022-05-21 10:54:51 -04: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
0368834d2c components/marqueelabel: avoid useless double binding 2022-05-18 00:54:01 +00: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