Commit graph

754 commits

Author SHA1 Message Date
Serhii Tereshchenko
dbfb7f40da client: Support Dark Mode
Refs #714

Co-authored-by: Niels De Graef <nielsdegraef@gmail.com>
2025-06-09 16:25:30 +03:00
mooff
2ef32d2d2d Implement dark mode using color-scheme CSS property 2025-05-31 13:21:09 +03:00
mooff
0ab9f5a72d ui: Simplify style rules for body.plain in the composer
Setting these rules on `body.plain *` is not needed: they will cascade
quite happily on their own, with easier maintenance and readability for
humans

Also applies to rules whose values are unchanged from those on `body` -
better to keep these DRY
2025-05-31 13:21:09 +03:00
J. Alexander Alzate Olaya
daaa10a96a accounts_editor_edit_pane: Add default tooltip to undo button 2024-01-12 20:22:58 +01:00
Cédric Bellegarde
80fa9beab8 client: Always show close button in account editor
Fix #1556
2023-11-18 14:58:17 +01:00
Cédric Bellegarde
4141953cee ui: Replace anchors title if looks like an URI
Fix #1567
2023-11-18 14:46:10 +01:00
Cédric Bellegarde
a5e4764de5 client: Remove mostly unused StatusBar widget
- Message are now shown in toasts
- It's only used to hold a Spinner, moved in HeaderBar
2023-11-18 12:02:15 +00:00
Cédric Bellegarde
42cb76282e client: Ensure accounts dialog fits on small display devices
- Replace ellipsizing by wrapping
- Switch to vertical boxing if not enough space
- Fix welcome dialog
2023-10-14 11:41:18 +00:00
Cédric Bellegarde
46ec026404 client: move ComponentsInAppNotification as a toast
Fix #1207
2023-08-25 08:17:33 +02:00
Cédric Bellegarde
83bd8e0353 client: More tweaks for lower desktop resolutions 2023-08-25 08:12:26 +02:00
Cédric Bellegarde
41874dc29a client: ConversationList.Row: Rework widget internals
- Remove hover buttons
 - Move flagged icon to the right

Fix #1516
2023-08-24 06:45:50 +00:00
Niels De Graef
9fc0a999ba ui: Hide mark actions that are disabled
For example, it doesn't really make sense to show a "Mark as unread"
button when the email is already marked as unread.
2023-08-23 22:22:01 +00:00
Cédric Bellegarde
40a2c1aec4 client: Always load email once view is mapped
Remove CSS width workaround.

Fix #283 #1205
2023-08-20 21:41:24 +00:00
Cédric Bellegarde
d47e357b2c client: tweaks for lower desktop resolutions
Fix #1164 again
2023-08-20 23:05:43 +02:00
Cédric Bellegarde
186b5a6d7b client: Use natural width intead of CSS min-width
#1516
2023-08-17 19:53:30 +00:00
Cédric Bellegarde
7ec1bcf6e3 ui: Components.Inspector: fix missing icon 2023-07-12 15:10:38 +02:00
Daniel Yahalom
e84611d41d new links no longer apply to entire paragraph 2023-07-08 22:12:06 +00:00
Cédric Bellegarde
63472121d2 Revert "Fix crash when conversation scrolled window child changes."
This reverts commit 07966a1156.

This commit was needed due to an issue in GTK
https://bugzilla.gnome.org/show_bug.cgi?id=778190 (which was later
migrated to https://gitlab.gnome.org/GNOME/gtk/-/issues/749).

This was fixed since 3.24.24, so bump the meson version too.
2023-07-08 00:59:56 +02:00
Cédric Bellegarde
776b04ec9f client: Rework headerbar buttons to fit small screens
- Rework components-conversation-actions.ui
- Merge copy/move popovers
- Populate copy/move popover on the fly

Initial workaround for #1185, #1306, #1444, #1164, #1414
TODO: move to AdwBreakPoints from libadwaita
2023-07-05 13:47:02 +02:00
Cédric Bellegarde
996fa77bc2 ui: Fix typo
Fix #1488
2023-03-14 08:38:39 +01:00
Cédric Bellegarde
e275b37343 client: Add a small margin instead of manual clipping 2023-03-05 12:47:33 +00:00
Cédric Bellegarde
533a32e67b client: conversation-list: Migrate from TreeView to ListBox
- Replace ConversationListStore with ConversationListModel
- Replace GtkTreeView with GtkListBox
- Implement proper multiselection for ListBox
- Rework navigation to be touch friendly

Fork of John Renner <john@jrenner.net> merge request !698
2023-03-04 23:16:01 +00:00
Cédric Bellegarde
f1f1e90208 client: use sane default size for dialogs 2023-02-28 23:42:28 +01:00
Sabri Ünal
cf6cfbc8e2 application: Make Mail title translatable
Make Mail title translatable.
2023-02-11 13:07:25 +00:00
Sabri Ünal
2051431797 application: Add tooltip to Back buttons
Add missing Back tooltips to back buttons.
2023-02-11 13:07:25 +00:00
Sabri Ünal
73dae4e83b application: fix Keyboard Shortcuts accel entry
To comply GNOME HIG, change Primary+F1 shortcut to Primary+question.

More information: https://developer.gnome.org/hig/reference/keyboard.html
2023-02-11 13:07:25 +00:00
Cédric Bellegarde
f45afac091 components: Rework adapative layout by removing HdySwipeGroup
HdySwipeGroup is deprecated since libhandy 1.4.

- Split headerbar into 3 components
- Remove HdySwipeGroups/GtkSizeGroups used for syncing headerbar with content.
2022-09-26 08:59:44 +00:00
Cédric Bellegarde
4b49892398 ui: Use a thiner progress in message header 2022-09-21 16:57:25 +02:00
Cédric Bellegarde
864a3135e3 components: Rework Folder Popover
- Do not use tags for service providers not using this metaphor
- Do not show folders with a dedicated button: Trash, Archive, ...
- Do not show folders as an IMAP path but as a human readable path (>INBOX>Folder vs Boîte de reception/Folder)
2022-09-20 05:37:14 +00:00
Cédric Bellegarde
a14f5d4799 client: accounts: Add support for Thunderbird autoconfig
- Auto detect server settings
- Rework accounts editor add panel

Fix #1390
Fix #1350
2022-09-07 12:10:06 +00:00
Cédric Bellegarde
b3c0afddab icons: Update icons to match recent Adwaita
- Remove icons already present upstream
- Replace marker by upstream checkbox
- Update mail-archive-symbolic to match last mail-symbolic from upstream
2022-07-22 21:14:08 +00:00
Cédric Bellegarde
9f893adc47 client: Add more options for displaying images from messages
- An application setting allowing to always trust images
- An option to trust images from an email domain
- Replaces buttons by a menu in infobar
2022-07-08 22:02:18 +02:00
Cédric Bellegarde
e2d387ce32 ui: Replace text-editor-symbolic with new Adwaita icon mail-message-new-symbolic 2022-06-30 08:09:33 +02:00
Chris Heywood
357bef45e7 Show drag & drop feedback dropping message on folder
Fixes regression resulting from !401
2021-04-19 10:16:07 +09:30
Adrien Plazas
a35d867192 ui: Homogeneize the panels
This makes the right panel take 50% of the window when it is wide
enough, and make the two other panels share the remaining 50%.
2021-04-14 12:52:01 +02:00
Michael Gratton
35f57c7682 Merge branch 'bdaase/geary-saner_pane_size_defaults' into 'mainline'
ui: Use saner pane size defaults

See merge request GNOME/geary!693
2021-04-14 09:39:28 +00:00
Björn Daase
6ec89fc491 ui: Use saner pane size defaults
Related: https://gitlab.gnome.org/GNOME/geary/-/issues/1164
2021-04-14 19:15:36 +10:00
Michael Gratton
1667a7b2da client: Ensure keyboard focus is not lost when main window leaflets fold
See GNOME/libhandy#179
2021-04-14 19:08:35 +10:00
Michael Gratton
eb9cdb0c38 client: Fix conversation viewer actions visible when unfolded at startup
Both leaflets are unfolded by default, and fold down if the window is
too small, hence the conversation list's and viewer's action bar
revealers must be hidden by default to match,
2021-04-14 00:49:45 +10:00
Adrien Plazas
b75a7f3bae conversation-actions: Keep the reply buttons in the headerbar
Move the other buttons to the actionbar is the window is too narrow.
2021-04-14 00:49:45 +10:00
Adrien Plazas
c53063496c style: Style conversation action bars
Make them look a bit more like action bars by giving them a top border.
2021-04-14 00:49:45 +10:00
Michael Gratton
dbb9cc35e8 client: Simplify main window outer leaflet state change handling 2021-04-14 00:49:45 +10:00
Michael Gratton
78b3fddb6f client: Rename main window leafets and their children
Make them a bit easier to reason about.
2021-04-13 18:38:22 +10:00
Michael Gratton
4eefe3013e client: Fix packing of Component.ConversationActions 2021-04-13 18:38:19 +10:00
Michael Gratton
9e641600c3 client: Convert to using HdySqueezer for managing main toolbar actions 2021-04-13 18:36:16 +10:00
Michael Gratton
0aa8ad6a05 client: Convert from shared conversation action widget to use multiple
Convert Components.ConversationActions to a widget that encapsulates
selectively visible conversations action groups. Use multiple instances
of that in preference to a single shared instance that gets re-parented
as the responsive UI adjusts.

Flatten the custom widget hierarchy a bit by merging the
`ConversationActionBar` and `ConversationHeaderbar` widgets into
`MainToolbar` itself.
2021-04-11 11:23:13 +10:00
Michael Gratton
7b994ece1d client: Move MainToolbar into the Components name space proper 2021-04-09 21:11:41 +10:00
Michael Gratton
05ea5fbdb3 client: Revert folder list expander change
This undoes the expander-related changes introduced in !618, to fix
regressions such as #1177 and #1184.
2021-04-08 08:20:37 +10:00
Michael Gratton
946f6d786f client: Fix remote images not being loaded for remembered senders/email
Since commit 6a0ad721 landed the client can no longer reply on
pre-filling JS page state before loading the message body HTML, since
it would be cleared when the JS page state is initialised in the
window-object-cleared handler.

Instead, set the load remote flag as a GObject data property on the
WebKit.WebPage object in the web process via the extension, and consult
that when determining whether to allow loading remote content.

Fixes #1170
2021-04-05 14:14:46 +10:00
Michael Gratton
fd002c0156 client: Ensure non-image remote resources are also loaded when permitted
Update `PageState.loadRemoteResources` to process any child of the BODY
element that has a `src` or `srcset` element.
2021-04-05 11:12:18 +10:00