Commit graph

197 commits

Author SHA1 Message Date
Maximiliano Sandoval
03fe42bcdc account_add: Add mnemonic to Cancel button 2025-01-01 17:58:36 +00:00
Maximiliano Sandoval
4414718ebe account_add: Use property class in action rows 2025-01-01 17:58:36 +00:00
Maximiliano Sandoval
bc6cd9daaf details_page: Use property class in action rows 2025-01-01 17:58:36 +00:00
Maximiliano Sandoval
004a7bd664 window: Put a Clamp in beetween search bar & entry 2025-01-01 17:57:58 +00:00
Maximiliano Sandoval
c43ac99d3d window: Put SearchBar on a separate top widget
This allows the search bar to have enough space in mobile mode. We need
to remove the strict centering-policy for the title to fit on the
headerbar.

Fixes: https://gitlab.gnome.org/World/Authenticator/-/issues/440
2025-01-01 17:57:58 +00:00
DaPigGuy
88e404c7fd
Port to AdwSpinner 2024-07-19 00:11:07 -07:00
Maximiliano Sandoval
934c1dda9b
Port dialogs to adw::Dialog 2024-02-21 19:06:43 +01:00
Maximiliano Sandoval R
201c256b75
Add icon-dropshadow to StatusPages displaying logo
See https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/style-classes.html#app-icons
2023-11-04 22:13:05 +01:00
Bilal Elmoussaoui
e492339e5c camera: Set direction to top
Workaround the difficulty to switch between cameras
Fixes #375
2023-10-06 23:53:35 +02:00
Bilal Elmoussaoui
b5d5af3679 providers/page: Translate algorithm/method values 2023-10-06 22:10:47 +02:00
Bilal Elmoussaoui
2ab5f5116a details: Add same subtitles as on other pages 2023-10-06 22:10:47 +02:00
Maximiliano Sandoval R
04a1c45fd5
Use aperture 2023-10-01 13:16:42 +02:00
Maximiliano Sandoval R
ff82f1a938
provider_page: Add title
This title is not actually displayed. It helps avoiding the warning

(authenticator:2): Adwaita-WARNING **: 13:03:58.499: AdwNavigationPage 0x56251f9793d0 is missing a title. To hide a header bartitle, consider using AdwHeaderBar:show-title instead.

since we set the title after construct.
2023-10-01 13:06:11 +02:00
Maximiliano Sandoval R
d60dbdd3a7
keyring_error_dialog: Add missing translatable=yes 2023-09-17 12:29:36 +02:00
Maximiliano Sandoval R
fffb48099b app: Show error page on keyring errors
Instead of crashing.
2023-09-16 16:24:57 +00:00
Maximiliano Sandoval R
a3d3a4156f
Add placeholder-text and label to search entries 2023-09-13 23:51:25 +02:00
Maximiliano Sandoval R
cca67f6f0e
providers_dialog: Give a title to the window 2023-09-13 23:47:29 +02:00
Maximiliano Sandoval R
64cc9a8d3d
Set accessible-role=presentation on images
That do not require context.
2023-09-13 23:45:05 +02:00
Sabri Ünal
1111bb8e68 data: mark a string translatable
- Account details
2023-08-30 10:30:09 +03:00
Bilal Elmoussaoui
d475fa4bdc account row: Disable markup 2023-08-12 01:30:30 +02:00
Bilal Elmoussaoui
16d198e556 preferences: Replace GtkSwitch with AdwSwitchRow 2023-07-08 12:41:47 +02:00
Bilal Elmoussaoui
1dd0406338 cleanup: Remove useless GtkSizeGroup 2023-07-08 01:57:20 +02:00
Bilal Elmoussaoui
9877014e82 Switch to using AdwSpinRow 2023-07-08 01:52:45 +02:00
Maximiliano Sandoval R
960f54dafc
camera: Make headerbar transparent
We add a bit of black so that the buttons are visible. We also increase
the size of the floating button.
2023-06-20 23:24:26 +02:00
Maximiliano Sandoval R
0f176cc80b
Stop using titlebar css class on headerbars
It is not needed.
2023-06-20 22:57:58 +02:00
Maximiliano Sandoval R
387cef8972
providers_list: Move expand into list box
No need to have them on the top level.
2023-06-20 22:55:59 +02:00
Maximiliano Sandoval R
e8fd57abae
window: Set min size
Also remove width and height request from sub widgets.
2023-06-20 22:48:18 +02:00
Maximiliano Sandoval R
8a53a25d50
providers_dialog: Use destroy-with-parent 2023-06-20 22:26:26 +02:00
Maximiliano Sandoval R
065c7c2c50
account_details_page: Do not vexpand the clamp
This is not necessary.
2023-06-20 22:22:01 +02:00
Maximiliano Sandoval R
36bbcaf0ef
camera: Use AdwToolbarView 2023-06-20 22:21:54 +02:00
Maximiliano Sandoval R
9189d2dd3e
preferences_window: Use push_subpage apis
For this we subclass navigation page in both pages.
2023-06-20 22:18:00 +02:00
Maximiliano Sandoval R
fe3c153efa
account_add_dialog: Use newer widgets
We use AdwToolbarView and AdwNavigationView.

Notes:
- We replace the back button with a Cancel button to close the dialog
- Set minimum size of 360x294
- Stop camera only once the camera page is hidden
- Set hscrollbar policy to never
2023-06-20 21:53:45 +02:00
Maximiliano Sandoval R
f483735bce
window: Use AdwNavigationView
Instead of leaflet for the accounts view.
2023-06-20 21:45:22 +02:00
Maximiliano Sandoval R
16da28f680
account_details_page: Use AdwToolbarView
And subclass navigation page.
2023-06-20 21:25:22 +02:00
Maximiliano Sandoval R
259fdbce11
providers_dialog: Use a regular search bar 2023-06-20 21:19:24 +02:00
Maximiliano Sandoval R
388a82c621
providers_page: Set end button's halign=center 2023-06-20 21:19:21 +02:00
Maximiliano Sandoval R
ba67968d25
providers_dialog: Port to AdwNavigationSplitView 2023-06-20 21:19:20 +02:00
Maximiliano Sandoval R
c5631c244f
providers_page: Use AdwToolbarView
We also subclass AdwNavigationPage instead of GtkBox.
2023-06-20 20:45:32 +02:00
Maximiliano Sandoval R
cb32f77052
window: Use toolbar view for accounts page
We also set the title centering policy to strict. This is only needed
since the title is in a stack.
2023-06-20 20:30:50 +02:00
Maximiliano Sandoval R
b92dba6090
window: Use toolbar view on empty page 2023-06-20 20:29:51 +02:00
Maximiliano Sandoval R
86961b7616
window: Use status page in locked view
This ensures the view fits in a mobile screen and uses the standard
style.
2023-06-20 20:25:57 +02:00
Maximiliano Sandoval R
8533e4df48
window: Use toolbarview on unlock screen 2023-06-20 20:24:03 +02:00
Felipe Kinoshita
8a9273b447 general: Use standard tooltip for back buttons 2023-04-12 08:27:09 +00:00
Maximiliano Sandoval R
e887e0a56c
Remove dark mode setting
It does not make sense to keep supporting this.
2023-04-10 11:58:26 +02:00
Bilal Elmoussaoui
b31c342fba accounts/details: Drop Editable widgets
They are basically useless, so switch to Adw equivalents where possible
Note our provider selection widget is still very bad :(
2023-04-10 04:51:19 +02:00
Bilal Elmoussaoui
d442324992 account/add: Allow opening a QR code image
The actual fix for this issue would be to fix the camera support
on pipewire/libcamera side but for now, we would provide a workaround
for allowing the user to load the QR code from an image file

Fixes #368
2023-04-09 03:33:21 +02:00
Bilal Elmoussaoui
d4810bb6f9 models: Rename OTPMethod to Method 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
ed01da7f0c Drop usage of gtk-macros 2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
6b6921de16 Mark main menu as primary
Fixes #361
2023-04-07 01:45:13 +02:00
Bilal Elmoussaoui
80d8ea71a4 Multi cameras support 2022-12-27 14:07:10 +01:00