Commit Graph

4062 Commits (47adbe4358e67856cbc7f3d50cb85bafc63fc39e)
 

Author SHA1 Message Date
Scott Nonnenberg 8fa0912fb3
Receive quoted replies, collapsed iOS bubbles (#2244)
Complete support for receiving quoted replies, and a big change to the iOS theme. Instead of attachments showing up in a separate bubble from their associated caption, they are now in the same bubble.
7 years ago
Scott Nonnenberg e3d15d80f6
Quote.md: Fix image example, add examples for attachment + reply 7 years ago
Scott Nonnenberg bb9859ca61
Make iOS quote theming apply in the message detail screen 7 years ago
Scott Nonnenberg 000dc3a159
Handle attachment load failure for quoted message 7 years ago
Scott Nonnenberg f1ff040842
Finish type definition for _mapQuotedAttachments 7 years ago
Scott Nonnenberg 73e1498403
messages.json: Fix typo in replacement string 7 years ago
Scott Nonnenberg 4e9abdf348
MessageView: Call the proper render method on change event 7 years ago
Scott Nonnenberg 7bd747a796
ConversationContext: conversationType => type
And a group conversation example to messages.md
7 years ago
Scott Nonnenberg d8d803d36d
Center and limit the size of non-square thumbnails in quotes 7 years ago
Scott Nonnenberg 3bbbf65a6b
Fix iOS: tail, blue partial border, extra attachment space
Turns out that display: inline on the img tag resulted in a mysterious
3px of space added below it.
7 years ago
Scott Nonnenberg feb68b24b4
Fix lint issues in message_receiver.js 7 years ago
Scott Nonnenberg a806f32675
Fix message_receiver 7 years ago
Scott Nonnenberg 04d186c05a
Conversation.loadQuoteThumbnail: Be resilient to no attachments 7 years ago
Scott Nonnenberg a6467d4fda
Constrain 'start recording' event listener to capture-audio only
(it was firing when clicking on a microphone icon in quotation!)
7 years ago
Scott Nonnenberg 06c70b0ff4
Don't fail message load if we can't load quote thumbnail 7 years ago
Scott Nonnenberg 3bbb9f535a
Load thumbnail even if we have the full message in hand
This is important for now, when we aren't generating our own thumbnails
7 years ago
Scott Nonnenberg c283ba1a12
Remove pointer cursor when clicking on quote won't do anything 7 years ago
Scott Nonnenberg 9ad55c803f
Fix handling attachment thumbnails using thumbnail key 7 years ago
Scott Nonnenberg 6413e75f82
iOS: Handle portrait image that doesn't fill message box
It would have rounded corners inside of the bubble, which is not what
we want. This makes the bubble itself have the rounded corners, and then
it cuts off anything that would extend past its edges.
7 years ago
Scott Nonnenberg fce9bb7342
Move to central MIME functions, remove some console.log
And generally address PR feedback.
7 years ago
Scott Nonnenberg f255cbcbe3
Move to white background for ios replies, hairline bottom border 7 years ago
Scott Nonnenberg 32925ed026
Load attachment data for quotedMessages, processMessage on add
Not ideal that it loads it twice, but AttachmentView is so selfish with
its blob and objectUrl!
7 years ago
Scott Nonnenberg d91f40177e
Quote.tsx: Fix tslint errors
I really need to get tslint editor integration in place.
7 years ago
Scott Nonnenberg 557ea55531
Quotes/iOS: Fix bug where large quote content would smoosh icon 7 years ago
Scott Nonnenberg a0b1dea693
Introduce a bit of color to the message/attachment style guide 7 years ago
Scott Nonnenberg c747c55b37
MessageReceiver: Translate from BigNumber to number for quote id 7 years ago
Scott Nonnenberg 0100e279f5
MessageView: Make Quotes resilient to re-renders 7 years ago
Scott Nonnenberg b458c7d449
android-dark: Constrain light play icon to with peer image 7 years ago
Scott Nonnenberg bdaebc24ae
A few tweaks for the android-dark theme 7 years ago
Scott Nonnenberg 087dd0f758
Support for iOS theme 7 years ago
Scott Nonnenberg 644bc9e6fb
Fix problem of squished quote icons and images 7 years ago
Scott Nonnenberg 127a90c4f6
Removed unused aspect ratio mixin 7 years ago
Scott Nonnenberg 5412ce051e
preload.js: Fix quote support, load Quote properly 7 years ago
Scott Nonnenberg fc330ef854
Quote loading: Check for in-memory message until we get one 7 years ago
Scott Nonnenberg 92a89a8e41
Fix MessageView test: p -> div 7 years ago
Scott Nonnenberg 2243e348f1
Wire up fake window.Signal.HTML because it's captured on load 7 years ago
Scott Nonnenberg 0f8dd7e2db
Fix a number of lint failures 7 years ago
Scott Nonnenberg 1cc0633786
Full support for quotations in Android theme 7 years ago
Scott Nonnenberg 47a3acd5c9
Remove models/messages + models/messages from jscs run 7 years ago
Scott Nonnenberg 5602241a0c
Eliminate eslint-generated triple-parents 7 years ago
Scott Nonnenberg 5c2936bdd6
Turns out that we call validateNumber() on group conversations! 7 years ago
Scott Nonnenberg d5043eb9cf
MessageReceiver: Can't use arrow function if it is to be new'd 7 years ago
Scott Nonnenberg e99192dca7
Unleash eslint on models/messages.js
Fun fact: eslint was not running on this file, despite the eslint
directives previously in the file!
7 years ago
Scott Nonnenberg 33ef967dd7
Unleash eslint on models/conversations.js 7 years ago
Scott Nonnenberg 054d3887a1
Quotes: The full pipeline into the database
1. MessageReceiver always pulls down thumbnails included in quotes
2. Message.upgradeSchema has a new schema that puts all thumbnails on
   disk just like happens with full attachments.
3. handleDataMessage pipes quote from dataMessage into the final message
   destined for the database
7 years ago
Scott Nonnenberg e69586200a
Unleash eslint on message_receiver.js - lots of change 7 years ago
Scott Nonnenberg 21bf02c94d
Fixed examples in Quote.md, rough Android visuals 7 years ago
Scott Nonnenberg 6653123671
Move quote-related examples from Message.md to Quote.md 7 years ago
Scott Nonnenberg b4ce79cac0
Reply -> Quote 7 years ago
Scott Nonnenberg 2def6afe45
message_view.js: eslint fixes and a bit of fixup 7 years ago