Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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 a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 2021-08-30 17:57:31 +10:00
audric 8ebcb2d1e1 replace SessionIcon size enum with type 2021-08-30 14:02:15 +10:00
Audric Ackermann 360cb52680
make all messages types a readable message 2021-07-30 16:26:58 +10:00
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 2021-07-29 17:27:29 +10:00
audric 12ff3379e1 add key for all messages list so we can scroll to them programnatically 2021-07-22 15:04:46 +10:00
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10: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 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 2020-11-04 13:44:37 +11:00
Audric Ackermann 6cf69a1337
make adding of attachment work on react conversation 2020-10-20 13:20:09 +11:00
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 2020-10-08 17:23:55 +11:00
Audric Ackermann 16b8fc8620
hide shortened pubkey except for public groups 2020-10-06 14:17:23 +11: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 669648d9cb Fix expire timer 2020-07-03 16:38:50 +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 5d11ef1457 Header props 2020-02-27 10:01:18 +11:00
Vincent 03df4891bd Conditional rendering of avatars 2020-02-25 17:26:45 +11:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg 19ff050b3a Show 'Off' text when disappearing messages are turned off 2018-08-01 09:24:05 -07:00
Scott Nonnenberg e80857562a Disappearing messages: show 'disabled' instead of 'set to off' 2018-07-27 09:15:57 -07:00
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
2018-07-17 15:58:07 -07:00