Edwin Hoksberg
d5dfc255ed
Assistant: Add new URLProvider to open URL's in the browser
2021-07-03 15:27:19 +02:00
Spencer Dixon
e6f0b2d817
Assistant: Add a new FileProvider to assist in searching the filesystem
...
When searching in Assistant, we now dispatch some background jobs to
query the whole filesystem. Activating a result will use the Desktop
launcher's default way of opening that file or directory.
2021-07-02 16:47:14 +02:00
Andreas Kling
80cf8bb27c
Assistant: Use static_cast instead of dynamic_cast
...
When the type is guaranteed to be known, there's no need to use RTTI.
2021-06-30 11:44:52 +02:00
Andreas Kling
6c630437e9
Assistant: Don't add a subtitle label widget if we don't need it
2021-06-30 11:44:34 +02:00
Andreas Kling
3ecd1d603f
Assistant: Add subtitle field to the Result class
...
This allows providers to specify an appropriate subtitle instead of
making that something the UI layer has to figure out. :^)
2021-06-29 13:23:51 +02:00
Andreas Kling
9179a2ea73
Assistant: Fix crash when activating empty search result
...
If there are no search results in the list, we shouldn't do anything
when you try to active the selected result, since there isn't one.
Fix this by using an Optional<size_t> to store the selected index.
2021-06-29 13:08:21 +02:00
Spencer Dixon
b9d1ef99de
Assistant+Taskbar: Use AppFile::spawn() utility
2021-06-28 16:29:02 +02:00
Spencer Dixon
66c13edb98
Userland: Add new app called Assistant
...
'Assistant' is similar to macOS spotlight where you can quickly open a
text input, start typing, and hit 'enter' to launch apps or open
directories.
2021-06-28 16:29:02 +02:00