Commit Graph

187 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
Audric Ackermann 894349e710
cleanup props passing of avatar and name with a custom hook 2021-11-23 16:18:27 +11:00
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 2021-11-23 15:18:46 +11:00
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 2021-11-18 11:36:14 +11:00
Audric Ackermann cca1b4dabe
add a button to start a video call 2021-11-08 15:33:49 +11:00
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 2021-11-08 11:03:08 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
2021-10-20 15:54:26 +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 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
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 1fb3f74f6e disable drag on images 2021-08-04 15:39:14 +10:00
Audric Ackermann a1ab816076
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 2021-08-02 14:41:57 +10:00
Warrick Corfe-Tan 2e05ed0922 removing comment. Running yarn ready. 2021-08-02 11:56:25 +10:00
Warrick Corfe-Tan a8a15e3f88 adding PR changes. 2021-08-02 10:52:53 +10:00
Warrick Corfe-Tan 1a973f6573 remove unused import 2021-07-30 15:47:17 +10:00
Warrick Corfe-Tan 31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 2021-07-30 15:07:52 +10:00
audric bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 2021-07-13 17:00:20 +10:00
Brice-W 5d7d58fe05 move NotificationForConvoOption declaration + getConversationNotificationSettingType created as used twice 2021-07-13 15:34:56 +10:00
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Audric Ackermann 97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00
Audric Ackermann 87a8385629
move timerOptions to redux 2021-07-06 14:40:45 +10:00
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann 4a98d911a2
add a HeaderOption to change the notification settings for each convo 2021-06-07 14:20:07 +10:00
Warrick cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
2021-05-12 10:40:49 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 2021-03-26 16:31:27 +11:00
Audric Ackermann 1f509e003d
add a markAllAsRead option on menus 2021-03-19 15:50:46 +11:00
Audric Ackermann 13df6c476e remove isClosable for convo as it is unused 2021-01-27 18:04:32 +11:00
Audric Ackermann fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann 21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
Remove prekeys message and Session managment.
2021-01-19 15:43:01 +11:00
Audric Ackermann 3476b54d43
fix add/remove moderators dialog and open groups name avatar dialog 2021-01-18 15:51:56 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann 8e9de59a42
remove isOnline unused 2021-01-13 12:38:41 +11: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 d729e49840
update to latest major version of react-contexify 2020-12-01 10:32:56 +11:00
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann 8ac2011682
render triple dots menu on header only when not on default viewmode 2020-11-25 09:14:38 +11:00
Audric Ackermann 291d4682e4
fix some tests 2020-11-25 09:14:22 +11:00
Audric Ackermann c8e8d851f9
fix verified change saving of messages, and ctx menu for header 2020-11-17 10:21:24 +11:00
Audric Ackermann f166ec814e
pass selectiomMode without selectedMessage props to ConversationHEader 2020-10-26 09:59:56 +11:00