Commit graph

12 commits

Author SHA1 Message Date
Allan Day
f3e64dd720 firmware: Tweak status strings
The descriptions for the levels of protection were very similar.
This makes them more distinct.
2023-02-07 13:39:06 +00:00
Kate Hsuan
c68b840be4 panels: firmware-security: simplify the technical descriptions and panel
To reduce the amount of technical information to ordinary users, the panel
and technical descriptions are simplified and reduced. The major revision is
shown as follows:

1. The result of the check items view is removed and the detailed information can
be found by copying them to the clipboard and pasting them to any place the users want.
2. The security status is only shown in the security dialog. All the bottoms are
removed.
3. The loading spinner is added when the panel is launched.
4. A "status unavailable" page is added for the system which fwupd is unable
to determine the security level.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-12-08 18:25:55 +08:00
Alexander Mikhaylenko
53fd0d69e2 firmware-security: Don't use .view on rows
I'm not sure what the intention was here, but it didn't work. It made rows
white in light variant (same as other rows), but even darker than they were
before in dark.
2022-09-22 15:34:56 +00:00
Kate Hsuan
ac74cf695c firmware-security: hide expander arrow when event description is unavailable
Showing an arrow for an empty expander row for the event confuses the user.
The user may misunderstand there is the information behind the arrow and then
the user will click it but will not get any response from the panel.
Therefore, to prevent confusing the user, the expander will be hidden for a
event with an empty description.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2031

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-08-29 16:11:14 +00:00
Richard Hughes
be3d9752bc firmware-security: Handle platforms that do not have a valid set of HSI tests
This affects aarch64 and older AMD devices.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2014
2022-08-24 14:39:58 +01:00
Kate Hsuan
82b6e2c7bb firmware-security: Tweak panel style
Fix the spacing issues of several widgets, including the status icon,
label, and subtitle in a expander row.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1999
Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-08-10 16:31:26 -03:00
Kate Hsuan
784f83eb44 panels: firmware-security: new panel UX design implementation
The new UX implementation includes
1. Showing the security level using a number.
2. Showing descriptions of events and HSI checking items.
3. Change the style of the security level number.
4. Add the status icon and label for each HSI checking item.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-08-04 19:46:28 +00:00
Richard Hughes
e0d599bb40 firmware-security: Do not show the 'Processor Supported' attribute
This is really just saying "the HSI tests make sense" and is not really
useful to show in the UI.
2022-08-01 19:53:15 +00:00
Kate Hsuan
68ca4e5a3f Show a description for each event
Show the HSI event description to improve the UX and match the new mockups.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1938

Signed-off-by: Kate Hsuan <hpa@redhat.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2022-07-29 07:35:30 +01:00
Kate Hsuan
d38a570efa firmware-security: Set the HSI row icon correctly for higher HSI levels
Set icon image to "emblem-default-symbolic" for higher HSI value.
2022-07-20 15:58:07 +00:00
Richard Hughes
5954dffda4 firmware-security: Set the HSI row colors correctly for higher HSI levels
If we get HSI-2 then the HS1-2 row should be 'success', as should HSI-1.
2022-07-20 15:58:07 +00:00
Kate Hsuan
69598b9e08 Add Firmware Security panel
The Firmware Security panel exposes the host security levels
and details. The information is generated by fwupd. The panel
also exposes hardware configuration changes to pinpoint the
configuration changing time.

Currently this panel shows:

 - HSI and secure boot status
 - Details of HSI and secure boot
 - Configuration changelog
 - Digested security level
 - Extended protection
2022-06-27 13:53:30 -03:00