Commit Graph

1379 Commits

Author SHA1 Message Date
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
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 2021-11-05 13:30:18 +11:00
Audric Ackermann 62e8150021
add padding to qr code for easy scanning in dark mode
Relates #2004
2021-11-04 16:38:46 +11:00
Audric Ackermann 864d710460
add a handle to resize the inconvo call video 2021-11-03 16:05:59 +11:00
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 2021-11-03 14:05:44 +11:00
Warrick Corfe-Tan 84e12ff42f Alter request button item positioning. 2021-10-26 10:57:51 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 2021-10-21 17:07:57 +11:00
Audric Ackermann 6eb6f00c62
make sure messages do not take more than 75% of the list width 2021-10-21 13:09:50 +11:00
Warrick Corfe-Tan c3f20aceb2 WIP message requesting. Banner styling finished. 2021-10-20 17:49:14 +11:00
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 2021-10-14 14:22:37 +11:00
Audric Ackermann 3f1e55b787
add basic code markup 2021-10-04 10:57:15 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Audric Ackermann 87aa4dfbf4
center ip and countries in onion path dialog 2021-09-22 13:35:36 +10:00
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 2021-09-22 11:18:11 +10:00
Audric Ackermann ce4037f43f
do not justify content for messages text 2021-09-20 17:23:50 +10:00
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 Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
2021-09-17 16:41:04 +10: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 2fdafb8fba
Out of sync message sync (#1923)
* 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
2021-09-17 11:36:36 +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 Ackermann 48090b4b25
Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
2021-09-08 13:45:56 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric bf02b85043 finish rework registration page 2021-09-02 17:20:44 +10:00
audric ba35a8cb24 update design of registration page 2021-09-02 16:38:37 +10:00
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
2021-09-02 15:08:39 +10:00
audric 0d90248450 fix scrolling jumping to bottom on new messages 2021-09-02 10:31:08 +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 a53392853f make the CompositionBox closer to the mobile UI 2021-08-30 15:11:26 +10:00
audric e85f351540 cleanup theme object 2021-08-30 14:26:58 +10:00
audric ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +10:00
audric 4968244491 fix tooltip error in debug run related to memory leak 2021-08-25 15:29:13 +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
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 2021-08-19 13:51:12 +10:00
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
2021-08-19 13:45:49 +10:00
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 2021-08-18 11:14:06 +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
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 2021-08-16 09:27:29 +10:00
Warrick Corfe-Tan bfed4a88dd removing comments 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 81969ae12f applying linting and formatting. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 986fc16e7d Adding animation to briefly scale up send button after recording is made. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 32f7dcc811 testing shake addition to send button on finished recording. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 81ffb96530 adjusting alignment of buttons. increasing pulse for recording light, increasing hover over effect. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 8fca989736 Fixing delete button JSX evaluating to NaN 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan 9eb1847da5 WIP removing NaN dsiaply timer text. 2021-08-12 09:21:48 +10:00