Commit Graph

262 Commits

Author SHA1 Message Date
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
2022-02-03 10:58:48 +11:00
Audric Ackermann 5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
2022-02-03 10:58:42 +11:00
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2022-02-03 10:58:42 +11:00
Audric Ackermann a3be2c347d
fixup open convo on search, quote click or hit the bottom 2022-02-03 10:58:41 +11:00
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 2022-01-17 16:50:18 +11:00
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 2022-01-17 14:51:30 +11:00
audric fc916ce94c Fix attachments duplication on message syncing with current device 2022-01-14 14:56:55 +11:00
audric e97ac5d7c7 make the DL spinner a styled component 2022-01-14 14:55:12 +11:00
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 2021-12-22 11:20:29 +11:00
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 2021-11-26 15:29:57 +11:00
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 2021-11-05 13:30:18 +11:00
Audric Ackermann 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
2021-09-17 11:36:46 +10:00
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
2021-09-13 17:07:53 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +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 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 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
Warrick Corfe-Tan 398e23256d minor style tweak. 2021-07-20 11:09:27 +10:00
Warrick Corfe-Tan ee7e6e47fe applying to outgoing messages 2021-07-20 10:50:06 +10:00
Warrick Corfe-Tan c944fac426 Transparent background for images. 2021-07-20 10:08:09 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann 68f81d387f
fixed mentions overlay with attachment on back 2021-05-26 15:17:54 +10:00
Audric Ackermann e41d182972
Fix fonts sans serif (#1619)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617
2021-05-12 10:35:05 +10:00
Audric Ackermann 720e229c95
do not put DM settings on multiple lines 2021-03-04 14:22:13 +11:00
Audric Ackermann 6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 2021-01-22 11:09:34 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 1a128ab055
fix colors for caption editor 2021-01-06 10:02:08 +11:00
Audric Ackermann 766a9f9c45
fix theme for voice messages and recording 2020-12-14 14:39:39 +11:00
Audric Ackermann 4bab6cc8b4
fix typing bubbles on SessionConversation
for some reasons, they were sometimes not visible due to the message
list bottom padding
2020-12-09 14:19:24 +11:00
Audric Ackermann 46fa6e39f6 fix position of play button on right panel medias 2020-12-07 14:09:54 +11:00
Audric Ackermann cb2f90f7f7
make SessioNotificationCount a styled component 2020-12-04 18:01:51 +11:00
Audric Ackermann c128684ffe
cleanup unused svg files from Signal 2020-12-04 15:47:33 +11:00
Audric Ackermann 4c6a05c6d7
make timestamp a styled-component too 2020-12-04 15:01:50 +11:00
Audric Ackermann e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components 2020-12-04 14:48:11 +11:00
Audric Ackermann 15ae97e0a7
use OutgoingMessageStatus in ConversationListItem too
also, enable back the delivered/read status on message metadata
2020-12-04 10:53:28 +11:00
Audric Ackermann 0a6a49eda5 Add an Outgoing Message Status react component 2020-12-03 16:25:41 +11:00
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 2020-12-03 12:09:39 +11:00
Audric Ackermann f0a58b01b0
remove calculatingPow animation on msg => use the one for sending 2020-12-02 17:48:43 +11:00
Audric Ackermann 4c0a988fe5
Move the metadata badges to use react functional components 2020-12-02 16:23:51 +11:00
Audric Ackermann 29eb528d1f
remove signal gear icon, and show back ours on calculatingPow
this is used for a message in the message list and in the conversation
list item
2020-12-02 11:27:15 +11:00
Audric Ackermann f9783be764
various UI fixes
* hide borders of images in bg when in the message details view
* force color of caption edits to white, as the background is grey and
it is more readable
* fix a bug preventing to quote the same message twice when switing
between two conversation after starting to quote one
2020-12-01 11:24:07 +11:00
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 2020-11-26 15:53:52 +11:00
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
2020-11-25 13:25:08 +11:00
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
2020-11-25 11:52:20 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann 051436339d
remove unused font 2020-11-09 11:12:01 +11:00
Audric Ackermann 7058bc0319
fix metadata styles for media message without body on light mode 2020-11-06 15:17:23 +11:00
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 2020-11-04 13:44:37 +11:00
Audric Ackermann b865810cb0
fix expiretimer color for incoming message in light mode 2020-11-04 11:06:17 +11:00
Audric Ackermann 07c384aa0d
render GroupNotification messages 2020-10-30 10:24:53 +11:00
Audric Ackermann 857bea50ea
enable back keyboard navigation on message list 2020-10-28 15:16:10 +11:00
Audric Ackermann ba959f3379
link preview state moved to SessionCompositionBox 2020-10-28 13:29:45 +11:00
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 2020-10-22 16:34:41 +11:00
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann a652ec3b61
fix light theme in react refactor 2020-10-09 13:30:10 +11:00
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 2020-10-08 17:23:55 +11:00
Audric Ackermann dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public 2020-10-08 09:53:43 +11:00
Audric Ackermann 37dd7b87cc
remove right buttons on Message. use right click instead 2020-10-07 16:09:01 +11:00
Audric Ackermann f57c85dc0d
hide pubkey when not needed on conversationHeader and listItem 2020-10-06 15:45:27 +11:00
Audric Ackermann 1da4ae69c2
render NoteToSelf list item as a normal conversation 2020-09-10 15:52:36 +10:00
Audric Ackermann 531d64b4cc
Merge pull request #1331 from Bilb/fix-group-panel-with-plenty-media
fix the media panel with lots of media (bottom button hidden)
2020-09-09 13:03:02 +10:00
Audric Ackermann fae8ef8d5b
Merge pull request #1334 from Bilb/fix-left-border-blocked 2020-09-09 13:02:53 +10:00
Audric Ackermann 2aef1f3132
be sure blocked border is shown even with mention or unread 2020-09-09 10:39:55 +10:00
Audric Ackermann f43ea3d940
fix size of sent badge on message detail view 2020-09-08 16:56:56 +10:00
Audric Ackermann f682cbd9d0
fix the media panel with lots of media (bottom button hidden) 2020-09-08 16:15:03 +10:00
Audric Ackermann 252c45f635
Merge remote-tracking branch 'upstream/clearnet' into use-created-at-server-timestamp 2020-09-04 10:18:20 +10:00
Audric Ackermann 71169a56fe
fix light theme attachment doc UI 2020-09-03 14:54:17 +10:00
Audric Ackermann cb911d4db1
fix members ui for light mode 2020-09-02 12:08:31 +10:00
Audric Ackermann 00994bcb4a
make most of the app rtl compatible (text based only) 2020-08-31 14:51:59 +10:00
Audric Ackermann 5909b7c807
cleanup scss 2020-08-31 10:05:39 +10:00
Audric Ackermann 8ff53a434a
refactor quote styles 2020-08-26 16:12:07 +10:00
Audric Ackermann b1e29cc89f
refactor scss 2020-08-26 10:48:35 +10:00
Audric Ackermann 291982c2aa
cleanup css and themify missing stuff 2020-08-25 15:58:14 +10:00
Audric Ackermann 031e19df63
themify group panel 2020-08-25 12:13:43 +10:00
Audric Ackermann 9cbf21547b
cleanup scss and themify message view 2020-08-25 11:25:41 +10:00
Vincent 6078be1657 revive-ts-refactor 2020-07-08 17:12:34 +10:00
Vincent 83528f4b8d Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react 2020-07-08 16:42:30 +10:00
Mikunj 7665ecacfb Fix incorrect sent timestamps 2020-07-03 10:28:33 +10:00
Mikunj 8d11660b13 Fix attachments 2020-07-03 10:08:24 +10:00
Vincent cf05d4ff6c revivify 2020-04-24 12:18:43 +10:00
Vincent 48ce580fd4 Notification styling 2020-04-06 17:59:28 +10:00
Vincent 43772b8ee2 Timer notifications complete 2020-04-06 16:32:50 +10:00
Vincent f2ce52a3d5 Timer notifications rework 2020-04-06 15:34:35 +10:00
Vincent 01491e9c3f Convert to public sans 2020-03-30 19:56:12 +11:00
Vincent 5dc21710b8 Convert to open fonts 2020-03-30 11:37:31 +11:00
Konstantin Ullrich 18a464fc58 Add a numeric TTL Countdown if the time left is under 1 minute 2020-03-12 12:43:24 +01:00
Vincent a1e4072ec1 Stylistic updated 2020-02-14 11:55:15 +11:00
Vincent 4d65fe76ab Updating tos & privacy links 2020-02-14 11:41:59 +11:00