Commit Graph

51 Commits (a519eceb3a988977f6f0971ff1d9ca69add9d519)

Author SHA1 Message Date
Audric Ackermann 8e129e28c7 feat: add block/unblock modal 8 months ago
Ryan Miller 4ffa754802 feat: locale as args for modals and localized formatted html strings 8 months ago
Audric Ackermann 95476fba2f feat: move openUrl modal to its own as maxHeight is linked to url len 8 months ago
Audric Ackermann 718b814902 fix: toast stripped function fetch cannot run on import 8 months ago
Audric Ackermann 4f44eecd6b fix: update with latest changes from crowdin
not compiling yet
9 months ago
Ryan Miller 005efc8952 Merge branch 'unstable' into standardised_strings_merge
# Conflicts:
#	.gitignore
#	_locales/en/messages.json
#	ts/components/DebugLogView.tsx
#	ts/components/SessionWrapperModal.tsx
#	ts/components/basic/SessionHTMLRenderer.tsx
#	ts/components/basic/SessionRadio.tsx
#	ts/components/buttons/MenuButton.tsx
#	ts/components/conversation/SessionConversation.tsx
#	ts/components/conversation/SubtleNotification.tsx
#	ts/components/conversation/TimerNotification.tsx
#	ts/components/conversation/composition/CompositionBox.tsx
#	ts/components/conversation/message/message-content/MessageText.tsx
#	ts/components/conversation/message/message-item/InteractionNotification.tsx
#	ts/components/conversation/message/reactions/ReactionPopup.tsx
#	ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/DisappearingModes.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/OverlayDisappearingMessages.tsx
#	ts/components/dialog/BanOrUnbanUserDialog.tsx
#	ts/components/dialog/DeleteAccountModal.tsx
#	ts/components/dialog/EditProfileDialog.tsx
#	ts/components/dialog/ModeratorsAddDialog.tsx
#	ts/components/dialog/OnionStatusPathDialog.tsx
#	ts/components/dialog/ReactListModal.tsx
#	ts/components/dialog/SessionSeedModal.tsx
#	ts/components/dialog/SessionSetPasswordDialog.tsx
#	ts/components/dialog/UserDetailsDialog.tsx
#	ts/components/leftpane/LeftPaneSectionHeader.tsx
#	ts/components/leftpane/LeftPaneSettingSection.tsx
#	ts/components/leftpane/conversation-list-item/InteractionItem.tsx
#	ts/components/leftpane/overlay/OverlayClosedGroup.tsx
#	ts/components/leftpane/overlay/OverlayCommunity.tsx
#	ts/components/leftpane/overlay/OverlayMessage.tsx
#	ts/components/leftpane/overlay/SessionJoinableDefaultRooms.tsx
#	ts/components/leftpane/overlay/choose-action/ContactsListWithBreaks.tsx
#	ts/components/leftpane/overlay/choose-action/OverlayChooseAction.tsx
#	ts/components/menu/Menu.tsx
#	ts/components/registration/RegistrationStages.tsx
#	ts/components/registration/RegistrationUserDetails.tsx
#	ts/components/registration/SignInTab.tsx
#	ts/components/registration/SignUpTab.tsx
#	ts/components/settings/SessionSettings.tsx
#	ts/components/settings/SessionSettingsHeader.tsx
#	ts/components/settings/ZoomingSessionSlider.tsx
#	ts/components/settings/section/CategoryAppearance.tsx
#	ts/components/settings/section/CategoryHelp.tsx
#	ts/components/settings/section/CategoryPermissions.tsx
#	ts/components/settings/section/CategoryPrivacy.tsx
#	ts/hooks/useParamSelector.ts
#	ts/mains/main_renderer.tsx
#	ts/models/message.ts
#	ts/node/menu.ts
#	ts/node/tray_icon.ts
#	ts/session/constants.ts
#	ts/session/disappearing_messages/timerOptions.ts
#	ts/session/utils/Toast.tsx
#	ts/state/selectors/search.ts
#	ts/test/session/unit/selectors/conversations_test.ts
#	ts/types/LocalizerKeys.ts
#	ts/types/Util.ts
#	ts/window.d.ts
#	yarn.lock
9 months ago
yougotwill 87b922daff fix: ran formatter 9 months ago
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
9 months ago
William Grant bc196286bc Merge branch 'unstable' into feat/ses-1560/unit-tests 1 year ago
Audric Ackermann 40a1bb4417 feat: add focustrap for dialog and focus-within for buttons 1 year ago
Keejef 9b7908026f fix: enable use of escape on modals
feat: confirm modal when enter is pressed

fix: fix linter issues

fix: update rebase and fix lint issues

fix: remove duplicate code
1 year ago
Ryan Miller 0e44cc9e0c Merge branch 'standardised_strings' of github.com:Aerilym/session-desktop into standardised_strings 1 year ago
Ryan Miller 87986914c9 chore: disappearing messages string changes 1 year ago
William Grant 9be21ce879 Merge branch 'unstable' into feat/ses-897/steps-create-account 1 year ago
Audric Ackermann 2a798aed92 fix: show timer fixed when off update 1 year ago
Audric Ackermann 5b58a5194b fix: make onClickClose on confirmModal mandatory 1 year ago
William Grant 3250a2819f feat: moved spinners into new loading folder
converted session-loader sass to styled components
1 year ago
William Grant a098638bc0 refactor: remove unnecessary react imports
you don't need it from react 17
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