Commit graph

114 commits

Author SHA1 Message Date
Devin Lin
0dae893cd2 taskswitcher: Remove global variable calls 2022-02-11 13:09:19 -05:00
Devin Lin
6607c8e6a7 homescreen: Fix broken binding 2022-01-03 01:14:17 -05:00
Devin Lin
f22a1e0b8c homescreen: Add search widget 2022-01-03 00:25:44 -05:00
Devin Lin
aff0064b62 homescreen: Fix favourites strip swipe 2021-12-30 21:11:21 -05:00
Devin Lin
57a4a28fe3 homescreen: Extract out state management to HomeScreenState and use single flickable 2021-12-30 19:49:08 -05:00
Devin Lin
906c169f26 startupnotifier: Import and integrate into homescreen for performance 2021-12-29 00:08:32 -05:00
Devin Lin
4057122fb0 taskswitcher: Move component to homescreen and remove popup window 2021-12-24 22:31:33 -05:00
Devin Lin
e407e76233 homescreen: Refactor and split out homescreen component 2021-12-24 20:17:08 -05:00
Aleix Pol
f81271d303 homescreen: Fix silly type name error 2021-11-10 12:55:41 +01:00
Devin Lin
dcbdf8f101 Add overswipe gesture 2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442 Revamp task switcher 2021-10-28 22:08:36 -04:00
Devin Lin
25e0f99f43 homescreen: Add swipe down panel gesture 2021-10-28 21:54:52 -04:00
Devin Lin
0100d26024 Fix broken reset homescreen position signal, and minor refactor
Closes #122
2021-10-28 20:11:01 -04:00
Devin Lin
b091ce2ac3 Rework app drawer layout and open/close behaviour logic 2021-10-22 15:48:31 +00:00
Aleix Pol
1eb7965fca HomeScreen: Support the meta key
While using the shell, add some value to the Meta key so the shell is
more useful when using a keyboard.
2021-10-18 11:12:43 +00:00
Aleix Pol
46305ae4db Don't let the drawer under right side panels either 2021-08-30 14:47:59 +00:00
Marco Martin
690abebfd5 Make components out of the homescreen
Move most of the homescreen pieces in a QML import
that can be reused making it easier to do alternative homescreens
2021-05-05 12:31:08 +02:00
Marco Martin
8483bcbe0f fix controlling from the bottom panel 2021-05-04 12:46:27 +02:00
Marco Martin
b98c7ec224 remove dead code 2021-05-04 12:46:27 +02:00
Marco Martin
7c9dbf08f2 proepr positioning of fav strip 2021-05-04 12:46:27 +02:00
Marco Martin
c8078b8288 make the favorites slide together all the rest 2021-05-04 12:46:27 +02:00
Marco Martin
86b8269b55 proper margin for the nav pages 2021-05-04 12:46:27 +02:00
Marco Martin
73efc8a59d show last page with a + when dragging 2021-05-04 12:46:27 +02:00
Marco Martin
7b59670deb put the footer in the scroll away area 2021-05-04 12:46:27 +02:00
Marco Martin
434ec6fdf9 clicking panel home button goes to page 0 2021-05-04 12:46:27 +02:00
Marco Martin
66bf27b9e4 let LauncherRepeater know about thefavorite strip 2021-05-04 12:46:27 +02:00
Marco Martin
e27cdfdf55 mode droparea and appletslayout in own component
still casuses warnings and not fully functional but mostly works
2021-05-04 12:46:27 +02:00
Marco Martin
e27b45574c support auto scroll with actual dnd 2021-05-04 12:46:27 +02:00
Marco Martin
dff5809c59 better management of dragging to new pages 2021-05-04 12:46:27 +02:00
Marco Martin
70805d04eb finished moving the horizontal flicking in component 2021-05-04 12:46:27 +02:00
Marco Martin
5393452390 move the main flickable in own file 2021-05-04 12:46:27 +02:00
Marco Martin
401efee30f make containment a focusscope 2021-05-04 12:46:27 +02:00
Marco Martin
9c080a2676 snap for horizontal page scrolling 2021-05-04 12:42:26 +02:00
Marco Martin
e4d297dd73 multi page horizontal scrolling
possibility of dragging icons and applets beyon the horizontal screen
boundaries, creating multiple pages that can be horizontally flicked
2021-05-04 12:42:14 +02:00
Marco Martin
66f13653ae remove code pushed by mistake 2021-03-05 14:37:17 +01:00
Marco Martin
5814fd9696 apporder reflects favorites
keep in sync the first items of apporder which will always be favorites.

this should fix the favorites spontaeous reordering that sometimes
happen
2021-03-05 14:37:17 +01:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Marco Martin
40f6abd78e enable the drag handler only when the containment has focus
this way it doesn't steal events anymore from the widget explorer
2021-02-22 14:59:15 +01:00
Marco Martin
ed91354960 respect max favorite count when dropping 2021-02-16 13:37:50 +01:00
Marco Martin
00d63af2da More familiar behavior for the App Drawer
This makes the behavior of the app drawer a bit more familiar and
slightly more similar to Android for now:

* The drawer always contains every application
* Applications are always alphabetically ordered
* The drawer opens completely, not staying stuck in "in between" states
* is possible to drag more copies of a single app on the homescreen/favorites
* possible to remove an icon from the homescreen or favorites

Two things have been prepared in there (but are material for 5.22 only,
so not finished)

* Things have been reordered such in a way that makes easy for most of
the qml files to become components to make easy for people to build
their own customized homescreen
* basic infrastructure is there to allow for multiple horizontal pages
scroll, though not implemented yet as needs changes to plasma-workspace
layouting code beforehand
2021-02-15 16:25:39 +05:30
Marco Martin
4458d7355e delay scroll reset after launch 2021-02-03 17:19:53 +01:00
Marco Martin
bb3225d4b5 bigger hit area for the up arrow 2020-08-20 17:15:56 +02:00
Marco Martin
54bb4a3946 no side borders 2020-08-13 12:07:46 +02:00
Marco Martin
b71adfeef3 custom look for scroll indicator 2020-08-13 11:52:53 +02:00
Marco Martin
93d8e2c130 up arrow becomes down 2020-08-13 11:45:05 +02:00
Marco Martin
f30008b3d9 a dark overlay over the main icons 2020-08-13 11:17:06 +02:00
Marco Martin
0eed8d3a90 add margin before search bar 2020-07-27 11:58:22 +02:00
Marco Martin
12c34a7a6a things go under the top panel 2020-07-23 17:12:19 +02:00
Marco Martin
ece092bf98 croll up homescreen when there are no tasks 2020-07-23 17:09:37 +02:00
Marco Martin
3f32a18b62 make use of HomeScreenControls 2020-07-22 17:17:10 +02:00