Commit Graph

3952 Commits (aa7665e497faf6408c5416aa82f5b62fb1dbec3d)
 

Author SHA1 Message Date
Daniel Gasienica aa7665e497 Run Prettier on all source files 7 years ago
Daniel Gasienica 3796c276ba Organize ignored files 7 years ago
Daniel Gasienica f770a2ce43 ESLint: Ignore generated files 7 years ago
Daniel Gasienica 94d10147a0 Adjust ESLint rules for Prettier 7 years ago
Daniel Gasienica 39ddfd141e Override ESLint rules not applicable to Prettier 7 years ago
Daniel Gasienica 1bf3ab630c Add `eslint-config-prettier` 7 years ago
Daniel Gasienica aee84f0783
Increase attachment migration conversion speed (#2314) 7 years ago
Daniel Gasienica e4baf27fa7 Increase migration conversion speed by a factor of 3x 7 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
7 years ago
Daniel Gasienica 2e6f19da8f
Media Gallery: Phase 2 (MVP) (#2291)
- [x] Render list of document items
- [x] Add support for video in lightbox
- [x] Save attachments:
  - [x] Port the following `AttachmentView` methods to support attachment file
        saving in React:
    - [x] `getFileType`
    - [x] `suggestedName`
    - [x] `saveFile`
  - [x] Add click to save for document list entries
  - [x] Add save button for media attachment in lightbox
- [x] Run background migration based on `schemaIndex` to populate media gallery
- [x] Implement navigation in media gallery
  - [x] Previous and next buttons
  - [x] Previous and next via keyboard
- [x] Empty state
- [x] Fix layout issue in iOS theme
- [x] Don’t run attachment migration for new users
- [x] Preprocess media before rendering in React
7 years ago
Scott Nonnenberg c5935eef5d Show 'You' in Android theme quotes instead of contact name 7 years ago
Daniel Gasienica 50a0048bf2 Skip attachment migration for new users 7 years ago
Daniel Gasienica 6671228028 🎨 Format using ESLint 7 years ago
Daniel Gasienica d5fdf50fae Remove unused reference 7 years ago
Daniel Gasienica fccbf70d57 Pre-process media for `LightboxGallery` 7 years ago
Daniel Gasienica 110b58230b Only revoke object URLs we created 7 years ago
Daniel Gasienica c6599d2e14 Add another permutation of `EmptyState` 7 years ago
Daniel Gasienica b8d20052e1 Remove unnecessary `AttachmentTS` reference 7 years ago
Daniel Gasienica 55569adfb0 Fix media gallery layout in iOS theme 7 years ago
Daniel Gasienica d00fb560b0 Avoid exposing `AttachmentTS` 7 years ago
Daniel Gasienica 86e48a5713 Implement background migration using index 7 years ago
Daniel Gasienica 9ca6fd6498 Center lightbox navigation controls 7 years ago
Daniel Gasienica fa45656e8e Wire up media gallery empty state 7 years ago
Daniel Gasienica 4d01264c09 Fix layout of media gallery 7 years ago
Daniel Gasienica b284e7c682 Remove unnecessary newline 7 years ago
Daniel Gasienica 78f15b654d Add `EmptyState` component 7 years ago
Daniel Gasienica ea49f7a3b6 Implement keyboard navigation for `Lightbox` 7 years ago
Daniel Gasienica e1b620602d Display attachments from disk 7 years ago
Daniel Gasienica 407c77395b Add explicit boolean 7 years ago
Daniel Gasienica f56dc09d01 Add `getAbsoluteAttachmentPath` 7 years ago
Daniel Gasienica e2a2165d9c Remove lightbox on unload 7 years ago
Daniel Gasienica 9451dc5e41 Define `AttachmentSchemaVersion3` 7 years ago
Daniel Gasienica 21db2e7182 Use `saveURLAsFile` 7 years ago
Daniel Gasienica 394d2f0bff Fix type signature 7 years ago
Daniel Gasienica 36c609c2c3 Persist `has*Attachments` properties for incoming messages 7 years ago
Daniel Gasienica 3df8c22e44 Alphabetize `Message` properties 7 years ago
Daniel Gasienica 307ab0d3a5 Extract `saveURLAsFile` 7 years ago
Daniel Gasienica 4c0c55082f Move navigation controls to the bottom 7 years ago
Daniel Gasienica fb8d4e2421 Implement basic lightbox with gallery support 7 years ago
Daniel Gasienica 43e19f3b06 Prevent default event on icon button clicks 7 years ago
Daniel Gasienica b3d0438537 Show hand cursor on media grid items 7 years ago
Daniel Gasienica 45d6c7a5a8 Implement video support in lightbox 7 years ago
Daniel Gasienica ac04f0648a Load more documents than media 7 years ago
Daniel Gasienica 6ee56b8445 Remove newlines 7 years ago
Daniel Gasienica b86f9c0be8 Allow saving of attachments from media gallery lightbox 7 years ago
Daniel Gasienica b74b761255 Implement click to save for document list 7 years ago
Daniel Gasienica 8ca5a391af arrayBufferToObjectURL: Ensure `data` is `ArrayBuffer` 7 years ago
Daniel Gasienica b27fdd1559 Use `pointer` cursor for `DocumentListItem` 7 years ago
Daniel Gasienica 41fe50553f Replace Backbone `saveFile` with `Attachment.save` 7 years ago
Daniel Gasienica 9a76d4bcf8 Whitelist `assert` global for tests 7 years ago