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
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
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
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
Romain Vigier
77bd26fe07
extensions-app: Enable/disable an extension by activating the row
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
859ded5790
extensions-app: Remove extension row revealer
...
Make all the actions (open website, open preferences, remove extension) and
information (description, version number) readily available.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
db39b792c2
extensions-app: Change lists style class to .boxed-list
...
The previous `.content` style class is deprecated.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
bd82a335f3
extensions-app: Move headerbar content to the main view
...
With the new borderless style of libadwaita, the global switch in the headerbar
did not look good. Moving it to the main view is the opportunity to also move
the content of the information popover.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
ab5977713b
extensions-app: Use AdwPreferencesPage and AdwPreferencesGroup
...
Give consistent styling and sizing to extensions lists.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
1359cedc00
extensions-app: Vertically center updates bar text
...
With the new stylesheet, the text is too close to the bar border.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
e0f2674d8b
extensions-app: Replace empty views with AdwStatusPage
...
AdwStatusPage provides consistent styling for empty views.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
35b26229bc
extensions-app: Use .content
class for lists
...
Since the `.content` class comes with its own separators, we
don't need the property `use-separators` on the list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
ec0ee7eaec
extensions-app: Use .heading
class for headings
...
Don't hardcode headings styling.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
891978b4eb
extensions-app: Use AdwApplication
...
Initialize libadwaita, which loads the libadwaita stylesheet
and allow following the dark style preference of the system.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 14:33:35 +01:00
Florian Müllner
edd34c50d9
Port extensions app and portal to GTK4
...
With the previous preparations in place, it is time to take the plunge.
As both the app and the portal use the same small library for handling
external windows, port everything at once to avoid the hassle of building
and installing two versions of the library.
With the portal using GTK4 now, all extensions must port their preference
widgets as well.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
3af90918a3
extensions-app: Stop using :margin shortcut
...
The property has been removed in GTK4, so prepare for a port by
setting the four individual margin properties instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
ad6fbaa245
extensions-app: Don't use deprecated margin-left/right properties
...
Use the text-direction-aware start/end variants instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
8eb1792d39
extensions-app: Use consistent style for property names
...
GtkBuilder understands both dashes and underscores in property names,
and we currently use a mix of both. The actual properties use dashes,
so settle on that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
20a68a609c
extensions-app: Set title on window instead of headerbar
...
GTK4 will remove the GtkHeaderBar:title property, so stop using it
and set the window's title property instead, as that's what headbars
use in both GTK3 and GTK4 unless explicitly overridden.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
c9c7629753
extensions-app: Remove stray angle brackets
...
Not sure how those sneaked in. GtkBuilder apparently ignores them,
but that's no reason for keeping them.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495 >
2021-01-14 13:03:21 +00:00
Florian Müllner
9ef59b3b4f
extensions-app: Add extension filtering
...
It's possible for the list of installed extension to get long
enough to make searching more convenient than scrolling.
Support that by implementing the standard search pattern[0]
with a hidden search bar and a toggle in the headerbar.
[0] https://developer.gnome.org/hig/stable/search.html.en
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3382
2020-11-12 22:05:46 +00:00
Florian Müllner
9cad7ae975
extensions-app: Indicate extension errors
...
Currently there is no indication that an extension had an error except
for the sensitivity of the switch (which may have a different cause).
This is useful information to users, so add a small error indicator
alongside the updates icon and show the actual error in the details.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2337
2020-05-21 21:45:04 +00:00
Florian Müllner
d2583aa47b
extensions-app: Reset switch handle when it becomes insensitive
...
Currently the switches handle position reflects the requested
extension state (as in: the user (de)activated the switch),
while the actual extension state is reflected by the underlying
state.
That doesn't work well when the switch is insensitive though (for
example on error), because the desaturation neuters the color
that reflects the state.
Address this by resetting the switch handle to the state when
making it insensitive.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1263
2020-05-21 21:29:31 +00:00
AsciiWolf
05485fe04c
extensions-app: Fix translatable string
...
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1231
2020-05-01 14:14:35 +02:00
Florian Müllner
0a4974ac8c
extensions-app: Do not expand headerbar switch
...
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2563
2020-04-03 02:29:55 +00:00
Florian Müllner
39e6375aff
extensions-app: Move Extensions app to new subproject
...
The Extensions app code is now independent enough from the rest of the code
base to move it to its own subprojects, like we did for the extensions-tool.
This allows for stand-alone builds of the app, which we are about to use
for distributing it as flatpak.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1133
2020-03-27 23:33:30 +00:00