Commit graph

5313 commits

Author SHA1 Message Date
Evan Hahn
45d829e439 Improved link verification logic. 2020-08-28 15:42:24 -04:00
Sidney Keese
45b9bbc837 Migrate Typing/Unsupported/Verification components to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
58844f92ab Migrate ImageGrid to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
5aac427017 Migrate StickerButton, StickerManager, StickerPicker to storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
7098c8b393 Migrate Image to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
db7aa6223f Migrate ConversationListItem to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
de72a2f6c6 Migrate SafetyNumberNotification to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
7b75f8bb2e Migrate ReactionViewer to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
fba8f7bf1e Migrate TimerNotification to storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
252c101e06 Migrate AttachmentSection to Storybook 2020-08-28 15:42:24 -04:00
Evan Hahn
098bab2d5e Update to Lodash v4.17.20 2020-08-28 15:42:24 -04:00
Evan Hahn
b0b4c04c52 Minor: remove anys from createTaskWithTimeout 2020-08-28 15:42:24 -04:00
Chris Svenningsen
812b1c5b21 Migrate ResetSessionNotification to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
58db34c5e8 Migrate LastSeenIndicator to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
15e817c3e2 Migrate Linkify to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
d27a15a3eb Migrate MessageSearchResult to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
0e79f83a42 Migrate EmbeddedContact to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
84fee07a72 Migrate LightboxGallery to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
4b0c206128 Migrate Lightbox to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
3591fa005e Migrate Spinner to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
b8cc7e8107 Migrate MainHeader to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
db1f4d107f Migrate Emojify to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
88dce16b32 Migrate MediaGridItem to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
ac28f9f13c Migrate ExpireTimer to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
6494818f76 Migrate ContactDetail to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
702913b21a Migrate LeftPane to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
b112666239 Migrate MediaGallery to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
2de4a3177a Migrate MessageBodyHighlight to storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
f1d04f4751 Migrate Intl to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
6aeaabf505 Migrate countdown to storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
1ca3ec47f8 Migrate StartNewConversation to storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
309332d943 Migrate Emoji to storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
67d2dd07c3 Migrate AttachmentList to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
3416818e01 Migrate DocumentListItem to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
8975b3473c Migrate EmptyState to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
2cd187abaf Migrate AddNewLines to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
25ab4df9cc Migrate ShortcutGuide to Storybook 2020-08-28 15:42:24 -04:00
Evan Hahn
6f4965fd5a Minor: avatars should not be selectable 2020-08-28 15:42:24 -04:00
Evan Hahn
85b74a7806 Add gradient for call screen controls 2020-08-28 15:42:24 -04:00
Sidney Keese
d1d1436fde Migrate composition input to storybook 2020-08-28 15:42:24 -04:00
Evan Hahn
3b05e9ad8f Add test for Stickers.redactPackId 2020-08-28 15:42:24 -04:00
Chris Svenningsen
cebe72ece7 Migrate AvatarPopup to Storybook 2020-08-28 15:42:24 -04:00
Chris Svenningsen
c8e8291da4 Migrate Caption Editor to Storybook 2020-08-28 15:42:24 -04:00
Sidney Keese
24dfaa4da4 Migrate composition area to storybook 2020-08-28 15:42:24 -04:00
Evan Hahn
f4c11b2e67 Minor: fix double import in textsecure.d.ts 2020-08-28 15:42:24 -04:00
Evan Hahn
49fc466fe7 Minor: remove a commented-out debugger 2020-08-28 15:42:24 -04:00
Evan Hahn
373ea0d060 Fix instructions for running libtextsecure tests 2020-08-28 15:42:24 -04:00
Evan Hahn
7aff568bf8 Fix local-development.json instructions 2020-08-28 15:42:24 -04:00
Danny Lin
c8261814fd
Add setting to toggle notification attention drawing (#4457)
In many GNU/Linux setups, drawing attention when a notification arrives
causes the Signal window to steal focus immediately and interrupt the
user from what they were doing before the notification arrived. GNOME
Shell is the most prominent example of this behavior, but there are
likely other cases as well. Suddenly stealing focus on external events
like this can even pose a security problem in some cases, e.g. if the
user is in the middle of a typing a sudo password on one monitor while a
notification arrives and focuses Signal on another monitor. See #4452
for more information.

Disabling attention drawing entirely for Linux is also problematic
because some users rely on it as the sole indication of a new message,
as seen in #3582 and #3611.

Commit f790694559 improved the situation
by adding a hidden "--disable-flash-frame" command-line argument, but
this argument is undocumented and manually adding command-line arguments
to the application's .desktop file is not user-friendly.

This commit adds a settings option for whether to draw attention when a
new notification arrives to make it easy for all Linux users to obtain
the appropriate behavior without relying on an undocumented
command-line argument.

Fixes #4452.
2020-08-24 14:45:31 -07:00
u32i64
0c9e7ced60
Fix some typos in messages.json (#4447) 2020-08-14 10:01:51 -07:00