signal-desktop/ts/util
Fedor Indutny 12d7f24d0f New UI for audio playback and global audio player
Introduce new UI and behavior for playing audio attachments in
conversations. Previously, playback stopped unexpectedly during window
resizes and scrolling through the messages due to the row height
recomputation in `react-virtualized`.

With this commit we introduce `<GlobalAudioContext/>` instance that
wraps whole conversation and provides an `<audio/>` element that
doesn't get re-rendered (or destroyed) whenever `react-virtualized`
recomputes messages. The audio players (with a freshly designed UI) now
share this global `<audio/>` instance and manage access to it using
`audioPlayer.owner` state from the redux.

New UI computes on the fly, caches, and displays waveforms for each
audio attachment. Storybook had to be slightly modified to accomodate
testing of Android bubbles by introducing the new knob for
`authorColor`.
2021-03-19 16:57:35 -04:00
..
lint New UI for audio playback and global audio player 2021-03-19 16:57:35 -04:00
ringrtc Group calling participants refactor 2020-12-02 10:14:03 -08:00
arrayBufferToObjectURL.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
assert.ts Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
assignWithNoUnnecessaryAllocation.ts Avoid unnecessary re-render on CHECK_NETWORK_STATUS 2020-12-17 12:12:52 -05:00
batcher.ts Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
callingNotification.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
callingPermissions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
callingTones.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
canvasToArrayBuffer.ts New Group administration: update title and avatar 2021-03-19 16:57:35 -04:00
characters.ts New Group administration: update title and avatar 2021-03-19 16:57:35 -04:00
cleanSearchTerm.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
combineNames.ts Group calling enhancements 2020-11-23 14:45:44 -05:00
deconstructLookup.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
deleteForEveryone.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
downloadAttachment.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
ExpirationTimerOptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
formatDuration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
formatRelativeTime.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
getAccessControlOptions.ts Improvements to Group Settings screen 2021-03-19 16:53:51 -04:00
getAnimatedPngDataIfExists.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
getInitials.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
getMessageTimestamp.ts Improve cold start performance 2021-03-19 16:57:35 -04:00
getMuteOptions.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
getOwn.ts Add getOwn utility function 2020-11-04 11:56:49 -08:00
getStringForProfileChange.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
getTextWithMentions.ts Send @mentions 2020-11-04 13:03:13 -06:00
getUserAgent.ts Add OS to User-Agent 2020-11-12 15:29:54 -08:00
GoogleChrome.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
grapheme.ts Disallow group names longer than 32 extended graphemes 2021-03-19 16:57:35 -04:00
hasExpired.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
hooks.ts Group calling: add overflow area 2021-01-25 18:28:59 -08:00
imageToBlurHash.ts Upgrade TypeScript to the latest version, v4.1.3 2021-01-25 18:28:57 -08:00
incrementMessageCounter.ts Improve cold start performance 2021-03-19 16:57:35 -04:00
index.ts Improve cold start performance 2021-03-19 16:57:35 -04:00
isConversationUnread.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
isConversationUnregistered.ts Add "new conversation" composer for direct messages 2021-03-19 16:53:51 -04:00
isFileDangerous.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
isGroupCallingEnabled.ts Put group calling behind a remote feature flag 2020-12-07 14:35:14 -06:00
isIterable.ts Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
isMuted.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
isNotNil.ts Move SignalProtocolStore to TypeScript 2021-03-19 16:53:52 -04:00
isPathInside.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
isWindowDragElement.ts macOS: make conversation and main header draggable 2021-03-19 16:57:35 -04:00
JobQueue.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
LatestQueue.ts Group calling: Peek into a group call 2020-11-23 14:49:32 -05:00
libphonenumberInstance.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
longRunningTaskWrapper.ts background.ts/conversation_view.ts modules, Whisper.View/ToastView in TS 2021-03-19 16:53:51 -04:00
makeLookup.ts makeLookup: Allow for key of zero 2021-01-27 14:39:45 -08:00
mapToSupportLocale.ts Automatic session reset 2021-03-19 16:53:51 -04:00
messageBatcher.ts Fix for missing replacement text in bodyRanges 2021-03-19 16:57:35 -04:00
migrateColor.ts Clean up migrateColor utility 2021-01-25 18:28:59 -08:00
missingCaseError.ts Improve missingCaseError error message 2020-11-12 10:09:39 -08:00
multiRef.ts Disallow group names longer than 32 extended graphemes 2021-03-19 16:57:35 -04:00
parseIntOrThrow.ts Support for creating New Groups 2021-03-19 16:53:52 -04:00
parseIntWithFallback.ts Support for creating New Groups 2021-03-19 16:53:52 -04:00
parseRemoteClientExpiration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
reallyJsonStringify.ts Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
registration.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
safetyNumber.ts Move getPlaceholder to component that needs it 2021-03-19 16:53:51 -04:00
scrollToBottom.ts In <ContactPills>, use new "scrollToBottom" helper 2021-03-19 16:57:35 -04:00
sessionTranslation.ts Support for translating Desktop sessions to libsignal-client sessions 2021-03-19 16:57:35 -04:00
sgnlHref.ts Create group link previews; don't open Signal links in browser first; allow ephemeral download of previously-error'd pack 2021-02-10 16:39:26 -06:00
sleep.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
sniffImageMimeType.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
sortByTitle.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Sound.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
theme.ts Dark theme for calling device selection 2020-12-04 15:03:01 -08:00
timer.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
toggleMaximizedBrowserWindow.ts Hide title bar on macOS 2021-02-01 12:01:25 -08:00
version.ts Put group calling behind a remote feature flag 2020-12-07 14:35:14 -06:00
waitBatcher.ts Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
webSafeBase64.ts Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
windowsZoneIdentifier.ts Add license headers across the project 2020-11-04 13:03:13 -06:00
zkgroup.ts Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00