Commit graph

562 commits

Author SHA1 Message Date
Michael Gratton
fc799b378b Unmark Inspector test strings as being translatable
Fixes #585
2019-10-07 00:17:48 +11:00
Alex Henrie
52d010bb22 Clean up composer link insertion and deletion
Allow deleting only the selected part of a link, and modify the existing
link instead of inserting a new one if the user didn't select any text.
Also restructure the code to avoid always-true or always-false if
statements.

Fixes #591
2019-10-05 10:25:25 -06:00
Michael Gratton
52c3c42e23 Merge branch 'wip/573-white-on-white-webkitgtk' into 'mainline'
Specify default HTML colours for composer & conversation viewer

Closes #573

See merge request GNOME/geary!309
2019-09-28 13:14:24 +00:00
Michael Gratton
de6071ef60 Remove Play Sounds preference
This no longer makes sense since we don't have control over it for
notifications any more, and hence was only being used for sent mail.

Replace it with a NotificationContext signal so that a plugin could be
written to play a sound instead.
2019-09-27 20:42:58 +10:00
Michael Gratton
c7c135ce5b Remove notifications preference now it is unused 2019-09-27 19:53:58 +10:00
Michael Gratton
d5e7c05cba Move InAppNotification class to components package
It was the last class left in notifications, so not much point keeping
it there. Also take the opportunity to add it to a package proper.
2019-09-27 19:37:33 +10:00
Michael Gratton
dedcb65b10 Specify default HTML colours for composer & conversation viewer
Work around for https://bugs.webkit.org/show_bug.cgi?id=202194

Fixes #573
2019-09-25 20:43:35 +10:00
Christopher Davis
bfcee9bff7 build: Set up dual install for flatpak
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1;
Sets up dual installation for flatpaks, allowing us to
build and run geary without affecting our system install.
This will allow testing of nightlies and CI artifacts as well
via the flatpak, so we can iterate on designs and share
bundles to test with.
2019-08-26 09:38:31 -07:00
Michael Gratton
93acc93330 Make unread/read shortcut help text same for Ctrl & single keys
See https://mail.gnome.org/archives/gnome-i18n/2019-August/msg00022.html
2019-08-21 21:14:32 +10:00
Michael Gratton
2f36221b7a Fix conflicting keyboard shortcuts and update overlay
This fixes search/star and archive/select all conflicting, cleans up
mark read/unread conform to the HIG, and updates the help overlay and
fix some problems with it.
2019-08-18 21:18:15 +10:00
Michael Gratton
c5d0561c00 Update other trash/delete menu items for consistency 2019-08-04 12:51:41 +10:00
Michael Gratton
c25415ea02 Make J/K work globally, add Ctrl+] and Ctrl+[ as aliases
See #505
2019-07-22 01:26:11 +10:00
Michael Gratton
ab0e9d3a40 Add Y as a single-key shortcut for GMail compat
See https://bugzilla.gnome.org/show_bug.cgi?id=778616
2019-07-22 01:26:11 +10:00
Michael Gratton
0fa5ac7fa6 Update keyboard shortcut overlay
Reorganise and reword a bit, ensure all shortcuts are present (including
Undo), try to make more compact to fit on narrrow displays.

See #257, 447
2019-07-22 01:26:11 +10:00
Michael Gratton
c27d250032 ClientWebView: Use HTML element's height to determine preferred
Return the scroll height of the HTML element since the BODY
may have margin/border/padding and we want to know
precisely how high the widget needs to be to avoid
scrolling.
2019-07-16 12:00:04 +10:00
Michael Gratton
66fb96181c ClientWebView: Don't update preferred height on height change
Only send an updated height change when the width has changed on
receiving a JavaScript resize event to avoid getting into a feedback
loop, as was happening with email from Mastodon instances.
2019-07-16 12:00:04 +10:00
Michael Gratton
ab27f3f092 Update problem report dialog error details text
Ask people to save and attach the data now we are saving logs as they
might get quite large.
2019-07-05 13:00:11 +10:00
Michael Gratton
eb586280fd Use text label for problem dialog Save As button 2019-07-05 13:00:11 +10:00
Michael Gratton
6456e94500 Fix Inspector tooltip typo 2019-07-05 13:00:11 +10:00
Michael Gratton
b91bf818bb Convert MainWindow to use MainWindowInfoBars for status problems
Sysnthesise a problem report and use a MainWindowInfoBar for displaying
account service status problems rather than using a custom info bar.
This lets us use the same infrastructure for displaying problem reports
and will enable capturing relevant logs at the time that the error
occurred.
2019-07-05 13:00:11 +10:00
Michael Gratton
6f65062219 Convert ProblemReportDialog to use Inspector views
Aside from the code re-use, this allows including log files in problem
reports.
2019-07-05 13:00:11 +10:00
Michael Gratton
2841cb0b66 Break up Inspector's panes into seperate components for re-use
Create new InspectorLogView and InspectorSystemView classes abd UI, move
code from inspector into those and use them in the inspector.
2019-07-05 13:00:11 +10:00
Mete Can Eris
e2896f303c Move undo to in app notifications 2019-06-26 03:35:27 +00:00
Rafael Fontenelle
2509c5c4f0 Fix misspellings 2019-05-22 20:47:08 +00:00
Michael Gratton
86bf9a3687 Merge branch 'deceptive-warning' into 'mainline'
Fix deceptive warning

Closes #400

See merge request GNOME/geary!225
2019-04-28 04:14:01 +00:00
Jonathan Haas
bfe504fed3 Make sure we match the whole link text as URL and not only some part. Add some symbols to be invalid in domains. Add 3 tests. 2019-04-27 11:52:51 +02:00
Michael Gratton
b24ac8061c Switch search and main menu order back to normal
Fixes #405
2019-04-26 18:30:18 +10:00
Christopher Davis
54d2ce45d7 conversation-viewer: set searchentry width to same as inbox's
Previously our search entry for conversations was too small
for the placeholder text, and looked awkward in comparison
to the entry for searching messages.

Now we set them to have the same width-chars.

Fixes https://gitlab.gnome.org/GNOME/geary/issues/390
2019-04-18 23:19:44 -04:00
Michael Gratton
9e44188240 Merge branch 'wip/christopherdavis/full-height-separator' into 'mainline'
main-toolbar: Use a full-height, splitting separator

Closes #389

See merge request GNOME/geary!212
2019-04-19 03:16:21 +00:00
Christopher Davis
d4436fa372 main-toolbar: Use a full-height, splitting separator
Previously we used a separator in the middle of the main toolbar and extended the width of the HeaderBar in order to
special case for Ambiance.

Ambiance is no longer the default Ubuntu theme, and sticking
with GNOME design patterns should be prioritized over
special casing with a theme.

Fixes https://gitlab.gnome.org/GNOME/geary/issues/389
2019-04-18 16:31:41 -04:00
Tobias Bernard
de5df79184 ui: change conversation menu icon to view-more 2019-04-18 13:51:44 +02:00
Michael Gratton
6234405e4f Merge branch 'wip/geary-inspector' into 'mainline'
Add an Inspector to Geary

See merge request GNOME/geary!199
2019-04-08 09:26:05 +00:00
Michael Gratton
d87a2b02e0 Enable some keyboard shortcuts for the inspector 2019-04-08 18:05:03 +10:00
Michael Gratton
ccde37c20d Enable pausing/unpausing the log viewer 2019-04-08 18:05:03 +10:00
Michael Gratton
584ead9eb8 Tidy up inspector tooltips 2019-04-08 18:05:03 +10:00
Michael Gratton
6dc8b278f0 Append new log records to the inspector and scroll to them 2019-04-08 18:05:03 +10:00
Michael Gratton
e5893e1d66 Implement filtering log messages 2019-04-08 18:05:03 +10:00
Michael Gratton
b5f27dce79 Add UI and implement saving details and logs to file 2019-04-08 18:05:03 +10:00
Michael Gratton
0e4486bbf4 Make Copy button copy selected log rows, make it less prominent 2019-04-08 18:05:03 +10:00
Michael Gratton
1b121e0a8e Update the UI when the switcher pane changes 2019-04-08 18:05:03 +10:00
Michael Gratton
1f4ef0ab95 Display all known logs in inspector 2019-04-08 18:05:03 +10:00
Michael Gratton
ae4d7655b0 Add basic Geary Inspector, hook it up to Alt+Shift+I 2019-04-08 18:05:03 +10:00
Michael Gratton
433215570b Make generic account editor ListBoxRow style reusable elsewhere 2019-04-08 18:05:03 +10:00
Michael Gratton
ffaa43cbfe Tweak spoofed email warning UI 2019-04-08 10:26:04 +10:00
Michael Gratton
10051e0354 Implement spoofed email address UI for ContactsPopover 2019-04-08 10:26:04 +10:00
Michael Gratton
68b2da17c5 Separate and implement contact popover action from conversation message
This leads to a minor bit of UI string and code duplication, but
substantially reduces the complexity of implementing the popover's
actions. Hook up all remaining actions except open and save.
2019-04-08 10:26:04 +10:00
Michael Gratton
258b68b7e7 Update ContactPopover depending on if the contact is from the desktop
Show the appropriate menu and star/unstar buttons.
2019-04-08 10:26:04 +10:00
Michael Gratton
e144617b9a Update conversation message menus and actions for contact popover
Add new menu items per the design. Rename actions to match and to be
compliant with action name spec.
2019-04-08 10:22:58 +10:00
Michael Gratton
680f46c77a Add initial contact popover UI and implementation 2019-04-08 10:22:58 +10:00
Jiří Černý
1a6113efa4 Ignore style nodes while converting HTML to text 2019-04-05 09:45:14 +02:00