Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) ( #1891 )
...
* WIP unsending message.
* retrieving message with hash from db on receiving unsend request.
* outgoing messages hashes updated on message sent success
* unsend messaging
* unsend message - deleting messages and marking as isDeleted.
* add msg hash to unprocessed records.
* Message unsending working for closed groups provided the message has been updated with a hash from server.
* adding 2-stage confirmation modal for message deletion
* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.
* Adding logging
* debugging.
* outgoing only saved for sync message instead of regular message.
* deleting locally
* adding post unsend deletioncode.
* starting adding feature flag.
* Added feature flag.
* addding mandatory messageHash pollling pipeline methods swarm polling.
* Conversation list item message preview showing deletion placeholder text if deleted.
* add condition to drop unsend requests not send by message author
* refactoring deleteMessage. Saving response hash for closed group message sending
* running yarn ready
* removing logging.
* Adding PR fixes
* Minor changes and running yarn ready
* fix typo
* Moved feature flag to lokiFeatureFlags. Fixing linting errors
Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
audric
bd7d88e170
remove theme from css and used variables instead
2021-09-01 14:29:04 +10:00
audric
f9988119f9
major UI rewrite of messages view with redux improvements
2021-08-25 15:01:19 +10:00
audric
ee4ed2e075
fix attachment logic with ui redesign
2021-08-24 13:23:23 +10:00
audric
f7b0c6c7e1
make conversation screen closer to mobile UI part1
2021-08-23 16:32:21 +10:00
Brice-W
a89c6710fb
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
2021-08-16 15:10:17 +10:00
Brice-W
f6d3715dab
add a link icon when there is no image available or when media download is not allowed
2021-08-16 14:46:31 +10:00
audric
4db85a3c01
make background of messages only if there is no text
2021-08-10 16:49:53 +10:00
audric
5d6c2d94ff
fix emoji being inserted into mentions identifier
...
if the cursor is before the first mention => insert it correctly
if the cursor is after the last mention => insert it correctly
if the cursor is between those two => insert it at the end of the
composition box
2021-08-04 14:56:00 +10:00
audric
bea704ecf0
bump react to 17
2021-08-04 10:52:24 +10:00
Audric Ackermann
2c174bdac7
fix audio message autoplay as broken with perf improvements
...
fix bug making "trust contact" first audio message being played on click
to trust
2021-08-02 14:32:38 +10:00
Audric Ackermann
360cb52680
make all messages types a readable message
2021-07-30 16:26:58 +10:00
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks
2021-07-30 16:12:36 +10:00
Audric Ackermann
119b6e1baf
keep scrolled position when adding messages at the bottom
2021-07-29 17:27:29 +10:00
Audric Ackermann
12d09bc896
preload messages when switching conversation
2021-07-29 15:29:32 +10:00
Audric Ackermann
e5bbfc8c1e
transparency disabled if png and text are present
2021-07-29 14:01:43 +10:00
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
2021-07-29 13:44:38 +10:00
Brice-W
9c61defc0b
small update
2021-07-27 10:33:35 +10:00
Brice-W
bec9bd553e
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages
2021-07-26 12:19:20 +10:00
Brice-W
751d0b9348
clearTimout call added to checkExpired to avoid multiple calls to setExpired
2021-07-26 11:12:42 +10:00
Brice-W
beca14982c
manage expired nessage deletion in setExpired
2021-07-26 10:43:12 +10:00
audric
588ae85cda
fix at lat types for attachment
2021-07-22 16:13:22 +10:00
audric
12ff3379e1
add key for all messages list so we can scroll to them programnatically
2021-07-22 15:04:46 +10:00
audric
c8f0150aaf
fix unread banner position when first unread is visible
2021-07-22 12:30:01 +10:00
audric
e72885944b
use selector to sort and add first of serie flag
2021-07-21 17:14:14 +10:00
audric
6d34a60f94
improve performance by not loading all unread messages
2021-07-21 13:40:21 +10:00
audric
4f5072ee65
Merge remote-tracking branch 'upstream/clearnet' into perf-improv
2021-07-21 09:47:10 +10:00
audric
23e9a6d31c
move some actions to redux in hooks
2021-07-20 16:58:51 +10:00
Audric Ackermann
6df84fbd1e
Merge pull request #1778 from Brice-W/focus-issue
...
Fix for focus issue
2021-07-20 15:20:09 +10:00
Warrick Corfe-Tan
4cdc852ea3
cherry-pick conflicts.
2021-07-20 10:55:13 +10:00
Brice-W
c38d2a5ea7
revert prev changes + marking read now based on received_at
2021-07-15 16:48:54 +10:00
Audric Ackermann
a54345a42e
put back quote a message logic with hook
2021-07-14 16:36:55 +10:00
Audric Ackermann
9a380b716b
put saveAttachemntToDisk outside of component
2021-07-14 15:57:03 +10:00
Audric Ackermann
4ca5a4f093
fixup selected message in redux logic
2021-07-14 11:48:57 +10:00
Audric Ackermann
787e3a32d0
remove count of unread in unread message banner
2021-07-14 11:30:02 +10:00
Audric Ackermann
16d34a7137
moved conversations reducer to createSlice
2021-07-14 10:53:03 +10:00
Audric Ackermann
63b81b4c8e
cleanup SessionMessageList p1
2021-07-13 17:00:20 +10:00
Brice-W
151fc758c0
format
2021-07-12 16:44:31 +10:00
Brice-W
2af9d9e15d
use of a custom hook to detect focus
2021-07-12 14:35:43 +10:00
Audric Ackermann
f0fad6edfa
uniformized props for Message
2021-07-08 16:43:32 +10:00
Brice-W
936f9a3efc
don't mark message as read if app isn't focused
2021-07-08 15:03:27 +10:00
Audric Ackermann
f0db797a9a
fix loading of messages props
2021-07-05 17:09:17 +10:00
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg
2021-07-05 15:54:35 +10:00
Audric Ackermann
d686076ba8
Merge remote-tracking branch 'upstream/clearnet' into play-custom-speed-button
2021-06-25 16:33:06 +10:00
Audric Ackermann
9bdd6ad139
add button to control speed playback on the player
2021-06-25 16:19:16 +10:00
Warrick Corfe-Tan
fc31f8d2b1
Merge branch 'clearnet' into audio-messages-play-all
2021-06-25 09:10:44 +10:00
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
2021-06-24 16:37:37 +10:00
Warrick Corfe-Tan
856ced056a
Minor tidying.
2021-06-24 14:00:07 +10:00
Warrick Corfe-Tan
d35f3f9e62
WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables.
2021-06-24 13:43:52 +10:00
Audric Ackermann
013df7fa2c
Merge remote-tracking branch 'upstream/clearnet' into fix-onion-path-light-orange
2021-06-21 15:18:47 +10:00