Commit graph

20 commits

Author SHA1 Message Date
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2023-08-02 07:55:45 +02:00
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2023-07-26 11:26:46 +02:00
William Grant 5b44565b5f Merge branch 'clearnet' into theming 2022-10-12 16:49:43 +11:00
Audric Ackermann 51e03cf4e5 fix: rerender loop of react list modal
update redux related libraries
and update imports to use the RTK ones
2022-10-06 15:35:26 +11:00
William Grant 8fae1f979b feat: themed confirm and react modals 2022-10-05 19:45:06 +11:00
William Grant 27e19f3afa feat: updated SessionIconButton to support themes 2022-09-19 16:34:36 +10:00
William Grant 073a41b6aa feat: updated calls UI
except for background color, waiting on designs
2022-09-16 16:37:46 +10:00
William Grant 5ab28bb60e refactor: rename SessionButton2 to SessionButton and remove old version 2022-09-16 13:43:49 +10:00
William Grant 87b66794ed feat: updated all session buttons to use new button
small style fixes and sass cleanup
2022-09-16 13:39:19 +10:00
William Grant 1bb5c9752e feat: updated all modal buttons 2022-09-15 15:27:59 +10:00
William Grant 9876e8824c feat: settings page now uses new session button 2022-09-15 13:11:15 +10:00
Audric Ackermann 3fd6c570c7 fix: click on a link preview shows the dialog to open or copy url 2022-08-29 17:49:34 +10:00
Audric Ackermann 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 2022-05-18 13:21:40 +10:00
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>
2022-05-17 13:22:13 +10:00
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
2021-12-14 15:15:12 +11: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 350f00283b move tsx and theme to css variables part1 2021-08-31 13:58:34 +10:00
audric 9f7e20b8b8 showExitIcon in link click dialog 2021-08-16 16:25:26 +10:00
audric 9018ae3009 Allow to copy an url on click on it via dialog
Relates #1842
2021-08-11 14:16:27 +10:00
audric 79c8fada6e move all dialogs to a subfolder 2021-08-06 11:09:14 +10:00
Renamed from ts/components/session/SessionConfirm.tsx (Browse further)