Florian Müllner
105abab1e4
js: Remove modelines
...
We already include an .editorconfig that is supported by many
editors, including emacs, so no need to repeat an emacs-specific
modeline in every source file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3431 >
2024-07-30 18:20:55 +00:00
Julian Sparber
d54219c098
messageTray: Only take params in Notification
constructor
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
34f05b075b
messageTray: Let the tray decide whether to show a banner
...
Always use the same code path to add new messages to a source, and
let the `MessageTray` decide whether it shows a banner.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173 >
2024-03-03 01:33:16 +00:00
Julian Sparber
c1ff00c01b
notification: Use the same Source for showing system notifications
...
This drops all subclasses of `MessageTray.Source` that were used to
display system notifications. Now the `Source` returned from
`MessageTray.getSystemSource()` is used.
Ensure also that properties and methods that where set on the `Source`
are moved to the `Notification` object itself.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3156 >
2024-02-06 17:25:01 +00:00
Evan Welsh
a751e213f6
js: Port to modules
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-06 13:02:49 +02:00
Evan Welsh
3f12f3a87c
scripting: Convert to ES module and migrate tests
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822 >
2023-07-15 02:35:56 +00:00
Florian Müllner
26e018206d
tests/shell: Fix remaining ESlint errors
...
All tests are currently excluded from linting, so errors can sneak
in more easily.
We should change that, so quickly fix up any remaining errors.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822 >
2023-07-15 02:35:56 +00:00
Florian Müllner
0929b2a307
tests/shell: Import introspected libraries as modules
...
Since commit 5e93791708 tests scripts are loaded as modules,
so we can (and should) use "proper" imports.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2835 >
2023-07-11 15:59:18 +02:00
Florian Müllner
e7d290bbfb
tests: Stop bundling "perf" tests with gnome-shell
...
Now that scripts are loaded as external modules, there's no reason
anymore for bundling them with the gnome-shell executable. Just
move the scripts into a dedicated folder in tests/ and run them
from there.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2812 >
2023-07-07 19:43:28 +02:00