Commit Graph

243 Commits (496ebf2a47b9f2f5652fa66cb41dacbde8eb4243)

Author SHA1 Message Date
Daniel Gasienica d349dd903d Add `AttachmentSection` to style guide 8 years ago
Daniel Gasienica 121bb0ecef Style guide: Fix empty state 8 years ago
Daniel Gasienica f19e6ea93d Wrap JSX siblings in container 8 years ago
Daniel Gasienica a8cd0b782e Rename `DocumentListItem::isLast` to `shouldShowSeparator` 8 years ago
Daniel Gasienica 05f67dc04a Hide separator for last document list entry 8 years ago
Daniel Gasienica fd883b2896 Fix `LightboxGallery` style guide entry 8 years ago
Daniel Gasienica bfe7eb7d5e Consolidate styles 8 years ago
Daniel Gasienica 90329a2764 Display icon for unsupported file formats
Still allows users to download media.
8 years ago
Daniel Gasienica 623bdd9284 Port `colorSVG` from Sass to TypeScript (React) 8 years ago
Daniel Gasienica 16bc1d34c6 Message schema 6: Change classification of media and documents
For an easier implementation, we change our original definition of
`initializeAttachmentMetadata`. This means we have to re-run it marked as
version 6 and mark schema version 5 as deprecated as its definition has changed.
8 years ago
Daniel Gasienica f4a5bc9907 Add new MIME types 8 years ago
Daniel Gasienica 63bd9dcc61 Add tests for `Attachment.isVisualMedia` 8 years ago
Daniel Gasienica 53918d68de Add `Attachment.isFile` definition 8 years ago
Daniel Gasienica 20246c4d07 Classify all images and videos as visual media
Even if we can’t play it back. Handle that in the lightbox.

Also: Exclude voice messages.
8 years ago
Scott Nonnenberg 0282635142 Remove Object.assign still hanging around in typescript 8 years ago
Scott Nonnenberg 1918a88722 Drop ifTruthy suffix 8 years ago
Scott Nonnenberg 1fd487be3f Refactor to remove duplicated code, lint/prettier fixes 8 years ago
Scott Nonnenberg f628df1035 Eliminate arrows in the standalone Lightbox component examples 8 years ago
Scott Nonnenberg 8beeef4d10 Show contact name when you reply to message with a contact 8 years ago
Scott Nonnenberg 9d1847a7e5 Pull all setup in preload.js into signal.js. goal: webpackable 8 years ago
Scott Nonnenberg 30cb673405 Fix style guide for LightboxGallery component 8 years ago
Scott Nonnenberg 37821e5a1b Wire up all contact behaviors, refactor Contact type/selector 8 years ago
Scott Nonnenberg 41be7f126b Visuals for embedded contacts as well as contact detail screen 8 years ago
Daniel Gasienica daa4a3d63f Compile all protocol buffers 8 years ago
Daniel Gasienica 15759f0db5 Normalize package naming 8 years ago
Daniel Gasienica f88ebdf8b7 Compile protocol buffers as part of `yarn grunt dev` 8 years ago
Daniel Gasienica 38f3ad6518 Use `SignalService` vs `textsecure` for protobuf 8 years ago
Daniel Gasienica 6589247750 Expose `SignalService` to style guide 8 years ago
Daniel Gasienica 86346ee239 Expose `Signal.Types.Attachment` to style guide 8 years ago
Daniel Gasienica 5789b3eb75 Add `Attachment.isVoiceMessage` 8 years ago
Daniel Gasienica fa4c3fda2b Extract common MIME types 8 years ago
Daniel Gasienica 8a4f062120 Add `MIME.APPLICATION_OCTET_STREAM` 8 years ago
Daniel Gasienica 5d230d3778 Add `Settings.isNotificationGroupingSupported`
See: https://github.com/electron/electron/issues/11189
8 years ago
Daniel Gasienica ecf23b6b2e Disable audio notifications on Windows 7 and lower 8 years ago
Daniel Gasienica a102016ed8 Port `Settings` and `OS` to TypeScript 8 years ago
Daniel Gasienica c591c3ca55 Use native notifications on all platforms 8 years ago
Daniel Gasienica 4e6a03a91c Log whether OS supports native notifications 8 years ago
Daniel Gasienica d5b391757d Add `Notifications.getStatus` 8 years ago
Scott Nonnenberg 322d307655 Turn on prettier support for markdown files, update all files 8 years ago
Daniel Gasienica 87d374ea78 Remove `@prettier` pragmas 8 years ago
Daniel Gasienica 1dd87ad197 Format all source code using Prettier 8 years ago
Scott Nonnenberg 82e2fe93a5
Show 'You' in Android theme quotes instead of contact name (#2312)
Show 'You' in Android theme quotes instead of contact name
8 years ago
Scott Nonnenberg c5935eef5d Show 'You' in Android theme quotes instead of contact name 8 years ago
Daniel Gasienica fccbf70d57 Pre-process media for `LightboxGallery` 8 years ago
Daniel Gasienica 110b58230b Only revoke object URLs we created 8 years ago
Daniel Gasienica c6599d2e14 Add another permutation of `EmptyState` 8 years ago
Daniel Gasienica 9ca6fd6498 Center lightbox navigation controls 8 years ago
Daniel Gasienica fa45656e8e Wire up media gallery empty state 8 years ago
Daniel Gasienica 4d01264c09 Fix layout of media gallery 8 years ago
Daniel Gasienica 78f15b654d Add `EmptyState` component 8 years ago
Daniel Gasienica ea49f7a3b6 Implement keyboard navigation for `Lightbox` 8 years ago
Daniel Gasienica e1b620602d Display attachments from disk 8 years ago
Daniel Gasienica 407c77395b Add explicit boolean 8 years ago
Daniel Gasienica 9451dc5e41 Define `AttachmentSchemaVersion3` 8 years ago
Daniel Gasienica 21db2e7182 Use `saveURLAsFile` 8 years ago
Daniel Gasienica 307ab0d3a5 Extract `saveURLAsFile` 8 years ago
Daniel Gasienica 4c0c55082f Move navigation controls to the bottom 8 years ago
Daniel Gasienica fb8d4e2421 Implement basic lightbox with gallery support 8 years ago
Daniel Gasienica 43e19f3b06 Prevent default event on icon button clicks 8 years ago
Daniel Gasienica b3d0438537 Show hand cursor on media grid items 8 years ago
Daniel Gasienica 45d6c7a5a8 Implement video support in lightbox 8 years ago
Daniel Gasienica ac04f0648a Load more documents than media 8 years ago
Daniel Gasienica 6ee56b8445 Remove newlines 8 years ago
Daniel Gasienica b74b761255 Implement click to save for document list 8 years ago
Daniel Gasienica 8ca5a391af arrayBufferToObjectURL: Ensure `data` is `ArrayBuffer` 8 years ago
Daniel Gasienica b27fdd1559 Use `pointer` cursor for `DocumentListItem` 8 years ago
Daniel Gasienica 4a5e61eaf4 Implement `Attachment.save` 8 years ago
Daniel Gasienica f8119be97b Include videos in media gallery 8 years ago
Daniel Gasienica 37d73accde Show ‘Documents’ tab 8 years ago
Daniel Gasienica 96c44094e3 Implement `Conversation.fetchFileAttachments` 8 years ago
Scott Nonnenberg ccf14710a3 styleguide: Make filesize and Signal.Util.GoogleChrome available 8 years ago
Daniel Gasienica f36f206a01 Use `IndexablePresence` for `hasFileAttachments` and `hasVisualMediaAttachments`
Reduces index size, makes it easier to debug using IndexedDB inspector, and
hopefully improves lookup performance.
8 years ago
Daniel Gasienica b65370c8d7 Prefer `GoogleChrome.is*` over `MIME.is*` 8 years ago
Daniel Gasienica 64c3d604aa Fix type errors 8 years ago
Daniel Gasienica cd6912f0dd 🎨 Autoformat code 8 years ago
Daniel Gasienica 823a58f98a Prevent NPE 8 years ago
Daniel Gasienica 96be0df8c7 Show lightbox controls based on presence of handlers 8 years ago
Daniel Gasienica 59650035ec Use 🇺🇸 spelling 8 years ago
Daniel Gasienica feff820cd4 Prefer custom styles over `strong` 8 years ago
Daniel Gasienica fca8de16c8 Add required `Message.id: string` 8 years ago
Daniel Gasienica dd7e51e697 🎨 Fix formatting 8 years ago
Daniel Gasienica 74582de2d1 Clarify naming 8 years ago
Daniel Gasienica 6330a8d9f3 Simplify expression 8 years ago
Daniel Gasienica f99e6306c3 Simplify `withSection` 8 years ago
Daniel Gasienica d98d08a7e0 Remove obsolete TODO 8 years ago
Daniel Gasienica e97b078088 Use `componentWillUnmount` 8 years ago
Daniel Gasienica 9abf1f0fcd Use `dash-case` for CSS class names 8 years ago
Daniel Gasienica 2e121310e4 🎨 Fix lint error 8 years ago
Daniel Gasienica 4d04638358 Document changes for MVP 8 years ago
Daniel Gasienica c3e04ecf87 Remove use of `LoadingIndicator` 8 years ago
Daniel Gasienica 6d5d0df1c0 🎨 Fix TSLint errors 8 years ago
Daniel Gasienica 8b9516de72 Update test for attachment metadata 8 years ago
Daniel Gasienica f240269d7b MVP: Only show images in media gallery 8 years ago
Daniel Gasienica b4e3749c88 MVP: Only show media tab
Until we support showing documents.
8 years ago
Daniel Gasienica 60ed82b728 Show all lightbox controls in style guide 8 years ago
Daniel Gasienica a7ed21a811 Add `shouldShowSaveAsButton` option 8 years ago
Daniel Gasienica 0d676a65b8 Open media gallery item in lightbox 8 years ago
Daniel Gasienica a9f7f18721 Add `ItemClickEvent` 8 years ago
Daniel Gasienica d634a414c3 Make visibility of previous/next buttons opt-in 8 years ago
Daniel Gasienica 142236640e Click lightbox to close 8 years ago