Florian Müllner
1667b36abd
extensions-app: Overhaul search
...
Instead of awkwardly filtering two different lists, use a separate
search page that filters a single list, similar to what libadwaita
does for preference windows.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
7907b9754b
extensions-app: Use ListModel to track extensions
...
Manually adding and removing rows to dynamic lists is rather
old-fashioned, GTK 4 strongly encourages the use of models.
Modernize the code by exposing extensions as ListModel, and
bind it to the two lists with appropriate filters.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
2c592059bc
extensions-app: Use property bindings in row
...
Now that extensions are represented as GObjects, we can update
the UI via property bindings instead of manually handling the
logic in the code.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
1f7ca2bf38
extensions-app: Bind actions' enabled properties
...
Most properties that determine the availability of an action are
not expected to change, but now that extensions are represented
as a GObject, we can just generically set up bindings for all
actions instead of explicitly tracking the properties that we
expect to change.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
198c7bbd9c
extensions-app: Turn Extension into a GObject
...
This makes the Extension class usable as item-type in models,
and allows us to use property bindings.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
f7ded3e509
extensions-app: Split out ExtensionManager
...
The extension handling is currently intertwined with the UI.
Splitting it out provides a clearer separation, and will allow
us to switch to a model-based UI later.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
3d070fdc6b
extensions-app: Move classes to their own files
...
Using a single source file is getting unwieldy, so start
splitting it up.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
ee5b428232
extensions-app: Stop simulating Shell.global
...
ExtensionUtils no longer relies on the global object, so we don't
have to simulate it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
fa587b4b9e
extensions-app: Use console for logging
...
This allows us to use different log levels, and an appropriate
log domain.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3067 >
2023-12-21 15:24:23 +00:00
Florian Müllner
f7c739ae4e
extensions-app: Stop setting description tooltip
...
We no longer ellipsize the description label, so the tooltip
no longer has a purpose.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
628e41890f
extensions-app: Use details popover
...
Showing all the extension info and possible actions in every
row is fairly noisy, and doesn't match the usual list patterns.
Streamline the UI by moving the actions and most of the info into
a details popover, so the rows themselves get closer to the
standard pattern.
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7119
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
82d3e55b68
extension-app: Remove tooltips from row suffixes
...
The updates/error icons are now interactive, and have more information
in the corresponding popover than could be covered
by a tooltip.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
e252887731
extensions-app: Use less concise error strings
...
Now that the error information is displayed in a separate popover,
we can afford to be more verbose.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
ed3394a953
extensions-app: Make error/update icon interactive
...
Both icons are not immediately obvious, and the context provided
by the tooltip can be hard to discover.
Address this by making the icons interactive, and provide further
information in a popover.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
b2040b20c7
extensions-app: Set labelled-by relation for lists
...
We use our own lists so we can do filtering, but that means we
lose the built-in relation with the group's title.
Set the relation ourselves, so the two lists are described correctly
in screen readers.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
a6d991b8f2
extensions-app: Update group headers
...
Change titles to the clearer "User/System Extensions" and drop the
description.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
e064c2a785
extensions-app: Make kill switch more compact
...
Instead of using a subtitle, move the stability warning into an
information popover.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
592ad186c6
extension-app: Use mnemonics in confirmation dialog
...
Mnemonics (aka "access keys") should be used whenever possible:
https://developer.gnome.org/hig/guidelines/keyboard.html#access-keys
They are currently missing from the confirmation dialog, add them.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
05c4db4372
extensions-app: Add shortcuts window
...
There aren't many shortcuts and all of them are standard, but
documenting them is still good practice, and our main menu is
a tad bit less empty.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Florian Müllner
fdb7700535
extensions-app: Remove Help menu item
...
The app has been around for quite a while now, but there still
isn't any user documentation. Time to remove a menu item that
doesn't do anything.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051 >
2023-12-21 15:06:11 +00:00
Automeris naranja
8bf52109b0
extensions-window: Add placeholder text to the search entry
...
"Text fields should have placeholder text or a label".
https://developer.gnome.org/hig/patterns/controls/text-fields.html
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2653 >
2023-12-12 16:53:48 +00:00
Automeris naranja
ee5a26593e
extensions-window: Add tooltips to headerbar buttons
...
"Controls in the header bars of primary windows should all have tooltips".
https://developer.gnome.org/hig/patterns/feedback/tooltips.html
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2653 >
2023-12-12 16:53:48 +00:00
Automeris naranja
c925446723
extensions-window: Allow opening Main Menu with F10
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2653 >
2023-12-12 16:53:48 +00:00
Florian Müllner
2d34fbe2e7
extensions-app: Use banner instead of action bar
...
Action bars have largely gone out of fashion, and Banner is an
appropriate replacement in our case, so switch to that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3048 >
2023-12-11 14:24:01 +00:00
Aryan Kaushik
6db55eaea6
extensions-app: Support "version-name" metadata field
...
The extensions site recently added support for a custom
"version-name" string in metadata:
gitlab.gnome.org/Infrastructure/extensions-web/-/merge_requests/154
This allows developers to control the version that is exposed to
users. As the version according to the developer is almost always
more relevant than the automatic version assigned by the website,
use it instead of the "version" field if set.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2995 >
2023-11-30 14:10:27 +01:00
Florian Müllner
2127c62b21
Bump version to 45.0
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2960 >
2023-09-16 20:27:58 +02:00
Florian Müllner
54d68344a2
extensions-app: Update metainfo screenshots
...
With the new libadwaita widgets, the overall look has changed,
so it's time to retake the screenshots.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2960 >
2023-09-16 20:27:58 +02:00
Florian Müllner
f83dae197f
Bump version to 45.rc
...
Update NEWS.
2023-09-06 13:55:22 +02:00
Carlos Garnacho
412fad5643
Bump version to 45.beta.1
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2882 >
2023-08-11 01:22:08 +02:00
Florian Müllner
071f92cfb6
cleanup: Remove spaces in object literals
...
We only adopted this style relatively recently, so there's a bit
more to adjust. Still, it's manageable and another step towards
getting rid of the legacy style.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866 >
2023-08-09 15:10:37 +00:00
Florian Müllner
add49bcba1
Bump version to 45.beta
...
Update NEWS.
2023-08-08 12:36:03 +02:00
Florian Müllner
3f80470e26
extensions-app: Port config to ESM
...
The app uses a different Config module than the rest of the code
base, so we can port it separately.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2868 >
2023-08-07 19:05:50 +00:00
Evan Welsh
e48ff53a78
extensions: Port app to ESM
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-05 22:16:23 +02:00
Evan Welsh
64aa871a8a
js: Add JSDoc to exported functions and fix incorrect JSDoc formatting
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-05 22:16:23 +02:00
Florian Müllner
f0ba468664
extensions-app: Stop setting VERSION in config
...
We set it because it was referenced by (here unused) code
in ExtensionUtils. This changed in commit 4a0b0e26c70, so
stop setting it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2844 >
2023-07-23 15:36:10 +02:00
Florian Müllner
27ffc37668
extensions-app: Style development window
...
Libadwaita includes a standard style class to distinguish
nightly/development versions from regular instances, but
we never to around applying it.
Do that now.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841 >
2023-07-13 15:33:06 +00:00
Florian Müllner
c67614b522
extensions-app: Include a non-fake Config
...
We currently include a fake config.js file to satisfy the indirect
import from ExtensionUtils. However we're about to need to pass
build-time information into the program ourselves, so generate
a proper file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841 >
2023-07-13 15:33:06 +00:00
Florian Müllner
0c6c45d426
Bump version to 45.alpha
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2817 >
2023-07-06 19:23:10 +02:00
Florian Müllner
80ac32a268
extensions-app: Port to ESM
...
The extensions app is another part of the code base that is largely
separate from the main code base, and can therefore be ported to
ESM before the big switch.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2786 >
2023-06-21 13:26:42 +02:00
Christopher Davis
1d1e2b2313
window: Move search button to the start
...
Matches AdwPreferencesWindow.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 21:33:06 -04:00
Christopher Davis
382434103c
window: Port to AdwToolbarView
...
Applications should use AdwToolbarView going forward to contain
their headerbar and content.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 20:55:38 -04:00
Christopher Davis
55ae4c0806
window: Port to AdwApplicationWindow
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 20:53:30 -04:00
Martin Zurowietz
9e5dfa2221
extensions-app: Extend build instructions
...
Related to #6575
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2799 >
2023-06-13 21:44:53 +02:00
Florian Müllner
b0ca64e777
Bump version to 44.1
...
Update NEWS.
2023-04-24 10:26:56 +02:00
Florian Müllner
6398ee8dc5
subprojects: Stop running meson without subcommand
...
Invoking meson with no command is deprecated in favor of
`meson setup`.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2712 >
2023-04-20 15:59:55 +00:00
Florian Müllner
b6a7cac28f
Bump version to 44.0
...
Update NEWS.
2023-03-19 11:58:32 +01:00
Florian Müllner
c4f36eefd6
Bump version to 44.rc
...
Update NEWS.
2023-03-06 18:37:38 +01:00
Florian Müllner
0dda7b524b
Bump version to 44.beta
...
Update NEWS.
2023-02-14 16:09:12 +01:00
sunflowerskater
2d00320a4b
general: Rename "application" to "app"
...
Several places in Shell use the word "application". However,"app"
is a more common term nowadays, so update strings accordingly.
https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6202
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2614 >
2023-02-07 14:46:28 +00:00
Florian Müllner
8b00255cc3
Bump version to 43.1
...
Update NEWS.
2022-11-04 11:19:53 +01:00