Audric Ackermann
bafe00b9f2
Merge pull request #2766 from yougotwill/feat/no-ref/github-templates-update
...
feat: updated pr and bug report template and added feature request form
2 years ago
William Grant
16b394dbee
fix: SES-597 quoting your own message now works correctly in communities
2 years ago
Audric Ackermann
db9fa14213
fix: don't update state on updates already included in our syncmessage
2 years ago
William Grant
3dc809783c
feat: added quotesProps to fetchmessage results types
2 years ago
Emily
088a1e1e74
Fixes delete account from swarm test to check for contacts or conversations
2 years ago
William Grant
279642dff3
fix: resolves SES-583 left alignment of outgoing messages on smaller screens
2 years ago
William Grant
bc55a2db1b
rename Attachment type in Quote.tsx to QuotedAttachmentThumbnailType to be more explicit
2 years ago
William Grant
025b844cce
fix: moved referencedMessageNotFound to first in quoteNotFound because it is the most likely to happen
2 years ago
William Grant
3fce414e7c
fix: remove unnecessary else in onQuoteClick
2 years ago
William Grant
db5f2d8534
feat: created util funciton lookupQuote to read from the quote lookup map
...
this consolidates the key lookup logic to one place for future proofing
2 years ago
William Grant
70156c33b3
fix: simplify checking isFromMe for communities in getMessageQuoteProps selector
2 years ago
William Grant
391db5590e
fix: replace controller lookup with redux conversation lookup in getMessageQuoteProps
...
this is more performance and relies on the latest redux state
2 years ago
William Grant
e8b5f399f7
fix: made sure items in getMessagesBySenderAndSentAt are unique
2 years ago
William Grant
9b1be604b1
fix: removed redundant empty string check on quote author
2 years ago
William Grant
4d874d2738
fix: use --font-size-md for quote author size
2 years ago
William Grant
feb8f46966
fix: removed redundant document check from getTypeLabel
2 years ago
William Grant
5b503d32cc
fix: use isUsAnySogsFromCache instead of getOurPubKeyStrFromCache in useQuoteAuthorName
...
this gives proper blinded key support
2 years ago
William Grant
ca6463da02
fix: make sure to show the quoted message above quotes that only have attachments and no text
2 years ago
William Grant
5111a141c8
feat: remove QUOTED_TEXT_MAX_LENGTH and sliceQuoteText
2 years ago
William Grant
a204464723
fix: move quote not found comment for better context
2 years ago
William Grant
fb51b20096
fix: cleanup TODOS
2 years ago
William Grant
d60d2c8c75
feat: quotes will show the authors name where possible
...
cleaned up extra author props on quote and created a hook instead
2 years ago
William Grant
e1a6f8e3fc
feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
...
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant
9b110df1aa
chore: add .vscode to eslint and prettier ignore
2 years ago
William Grant
92ed15c6c4
feat: pass yarn ready
2 years ago
William Grant
aa3855e49f
feat: getConversationQuotes selector for memoising quotes lookup state
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant
3bc187fa5e
feat: performance improvements to quote lookup
...
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant
1ff2969750
refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
...
its more clear what parameters are needed
2 years ago
William Grant
d706ecdead
fix: show authorName in reply ui
2 years ago
William Grant
1da8fd9f96
feat: load quote images correctly on first render
2 years ago
William Grant
acdeabf306
feat: fixed click on a quote to go to the original message
...
added animation support to attachments when opening it via a quote
2 years ago
William Grant
ab028307f4
fix: show play button in video quote attachments
2 years ago
William Grant
6b2047b5c6
fix: Show correct attachment type in reply ui
2 years ago
William Grant
761a536b32
feat: removed unneeded quote stylesheet and QuoteGenericFile
2 years ago
William Grant
98e4474e75
feat: use quoteicon component in quoteimage
...
make sure to load message text is it exists for all quotes
2 years ago
William Grant
b1cc6ad85e
fix: fix rendering of of text that has been emojified
2 years ago
William Grant
ff4366002b
feat: converted quoteiconcontainer and to styled components
...
added support for generic file icon with consistent design. Still need to support know file types and metdata from the generic file component
2 years ago
William Grant
bdbdb477da
feat: pass in all props to quote component
...
converted quote primary text to styled components
2 years ago
William Grant
f0aeb59d54
feat: converted quote image to styled components
...
remove border on quote if there is an attachment
2 years ago
William Grant
bf170e6e77
fix: fixed QuoteText type labels
...
show message not found in correct context
2 years ago
William Grant
23b6c9d25e
feat: converted quote to styled components
2 years ago
William Grant
3249d2ff4c
feat: converted quote author and text to styled components
2 years ago
William Grant
d7bc8213d6
fix: community quotes now dont break the app
2 years ago
William Grant
1d413a2f76
fix: moved QuoteIcon component into QuoteIconContainer
2 years ago
William Grant
1609ebfe32
feat: separated quote components
...
removed reference warning component since it is no longer needed
2 years ago
William Grant
a962ef2228
feat: getMessageQuoteProps now loads data from conversation.quotes state and loads correctly into the Quote
2 years ago
William Grant
ab1cf7a658
feat: added propsForQuote to message model props
2 years ago
William Grant
331a4e1e12
fix: resolved object is not extensible bug
...
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
2 years ago
William Grant
a83bc64d0a
feat: added quote source data to the conversation state as a separate object
...
this should help performance when loading quotes in the UI since individual db lookups will no longer be required
2 years ago