Commit graph

17 commits

Author SHA1 Message Date
Marco Trevisan (Treviño)
d517a092aa user-accounts: Implement new designed fingerprint dialog
Implement the new designed interface for fingerprint enrollment, so that the
dialog is now based on a stack of views:
 - A list of devices to choose (shown only if multiple are available)
 - A gallery of enrolled prints available where manage them
 - An enrollment progress view when enrolling a new finger

Move part of the logic into a new FingerprintManager (to manage gdbus proxies
generated via gdbus-codegen) that is created when configuring the current
user and that tracks the devices states, while move most of the UI into a new
CcFingerprintDialog that does all the operations in async way.

Due to fprintd lack of APIs, there are few features missing, compared to
the final design (none is a regression):
 - Identify the finger when the enroll dialog is visible
 - Delete a single fingerprint
 - Highlight the finger when the sensor is touched during enrollment
 - Add customized labels to fingerprints
 - Devices hotpluging

However most of the code has been written considering these, and so they could
be easily implemented in future re-iterations once newer APIs are defined for
such bits.

Closes https://gitlab.gnome.org/Teams/Design/settings-mockups/-/issues/18
2020-06-26 01:54:04 +00:00
Robert Ancell
eb7bbae2cd user-accounts: Rename UmPhotoDialog to CcAvatarChooser
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
262baed6a1 user-accounts: Rename UmCarousel to CcCarousel
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
112b61c0ff user-accounts: Rename UmAccountDialog to CcAddUserDialog
Um is a naming hangover from before this was part of g-c-c.
2018-11-10 09:24:33 +13:00
Robert Ancell
3eaf71065e user-accounts: Rename UmHistoryDialog to CcLoginHistoryDialog
Um is a naming hangover from before this was part of g-c-c.
2018-11-08 13:17:13 +00:00
Robert Ancell
c2940dd426 user-accounts: Convert UmHistoryDialog to GtkTemplate 2018-11-08 13:17:12 +00:00
Robert Ancell
8029b3e7be user-accounts: Rename UmPasswordDialog to CcPasswordDialog
Um is a naming hangover from before this was part of g-c-c.
2018-11-07 12:37:51 +13:00
Robert Ancell
ad44ad4367 user-accounts: Convert UmPasswordDialog to GtkTemplate 2018-11-07 09:30:25 +13:00
Robert Ancell
ec529e8566 user-accounts: Use GtkTemplate
Switch from GtkBuilder to using GtkTemplate.
Rename .[ch] and .ui files to standard names.
Rename widget IDs to be more readable.
Drop widget IDs that are not used.
Move code into the .ui file that can be.
Connect signals in swapped form.
2018-10-25 11:28:53 +00:00
Felipe Borges
169a0b3d56 user-accounts: Introduce a UI template for UmPhotoDialog
https://bugzilla.gnome.org/show_bug.cgi?id=766670
2018-02-05 16:18:24 +01:00
Ondrej Holy
4cad3ca408 user-accounts: Change colors of password strength indicator
Use red-yellow- green colors for strength indicator levels.

https://bugzilla.gnome.org/show_bug.cgi?id=780002
2017-05-03 11:39:44 +02:00
Felipe Borges
3a84720fb0 user-accounts: Draw arrow in UmCarousel
The arrow is drawn using CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Felipe Borges
d740a9ac98 user-accounts: Introduce UmCarousel
UmCarousel is an horizontal container that contains UmCarouselItem
children. These items are paginated 3 at 3 at the time.

UmCarousel intents to act as controller for content containers. It
emitis the "item-activated" signal whenever an UmCarouselItem gets
activated (clicked).

It automatically activates the first UmCarouselItem of the current
vsible page.

The visibility of the go-back and go-next button is automatically
set based on the number of children.

These changes are according to the new User Accounts panel mockups
at https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Felipe Borges
de0de51406 user-accounts: split join-dialog from account-dialog
The UmAccountDialog class will be ported to gtk widget templates,
in doing so, we are decoupling here the gtkbuilder dependend ui
code from what will be the class code in the port.

Nothing changed in the join-dialog ui code itself.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-14 11:25:45 +02:00
Rui Matos
d8620d3bc1 user-accounts: Remove no longer used .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:04 +02:00
Ondrej Holy
324d1cef8a user-accounts: Add history dialog
https://bugzilla.gnome.org/show_bug.cgi?id=681772
2013-01-09 14:14:19 +01:00
Cosimo Cecchi
eb573a72e5 user-accounts: use a GResource for GtkBuilder UI definition and icons
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:23 +01:00