Commit Graph

35 Commits (87986914c908b504311863384d90a2be103d9482)

Author SHA1 Message Date
Ryan Miller 87986914c9 chore: disappearing messages string changes 1 year ago
Audric Ackermann 5b58a5194b fix: make onClickClose on confirmModal mandatory 1 year ago
Audric Ackermann 5f0888d144 fix: make sure all dialog "cancel" cancel the dialog 1 year ago
Audric Ackermann 24887dd05b Merge branch 'feature/ses-145/leave-conversation-update' into userconfig_disappearingmessage 1 year ago
William Grant dbd95fbf35 fix: sessionconfirm on click callback accepts arguments
now delete modal supports delete for me or everyone
1 year ago
William Grant 28517b7624 feat: sessionradio now supports being positioned on the right
used in delete message modal
1 year ago
William Grant 5dd62f7dd7 feat: started adding options to session confirm modal
for delete button in more message info
1 year ago
Audric Ackermann 36c297f368 chore: wrap text of dialog desc when more than 90c long 1 year ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant e7f3bb5abf fix: if there is no last message, we still want to display the interaction status
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant ad08372f2a feat: added headerReverse prop to SessionConfirm modal
adjusted styling and rendering of confirmation text and sub text
2 years ago
William Grant 45ed2d5c05 fix: rename useConversationInteractionState to useConversationInteractionPropsById
extracted useLastMessageFromConvo to param selectors and renamed to useLastMessage, moved InteractionItem into MessageItem
2 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
William Grant c492fad4ee feat: added support for tracking the confirmation process status and its type
attempting to show this status inside of the ConversationListItem message section, show confirmation modal when leaving private chats
2 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 51e03cf4e5 fix: rerender loop of react list modal
update redux related libraries
and update imports to use the RTK ones
3 years ago
William Grant 8fae1f979b feat: themed confirm and react modals 3 years ago
William Grant 27e19f3afa feat: updated SessionIconButton to support themes 3 years ago
William Grant 073a41b6aa feat: updated calls UI
except for background color, waiting on designs
3 years ago
William Grant 5ab28bb60e refactor: rename SessionButton2 to SessionButton and remove old version 3 years ago
William Grant 87b66794ed feat: updated all session buttons to use new button
small style fixes and sass cleanup
3 years ago
William Grant 1bb5c9752e feat: updated all modal buttons 3 years ago
William Grant 9876e8824c feat: settings page now uses new session button 3 years ago
Audric Ackermann 3fd6c570c7 fix: click on a link preview shows the dialog to open or copy url 3 years ago
Audric Ackermann 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 3 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
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>
4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric 9f7e20b8b8 showExitIcon in link click dialog 4 years ago
audric 9018ae3009 Allow to copy an url on click on it via dialog
Relates #1842
4 years ago
audric 79c8fada6e move all dialogs to a subfolder 4 years ago