Commit graph

103 commits

Author SHA1 Message Date
audric
dbf6a0183f remove unread top banner on scroll to bottom 2021-07-26 11:30:53 +10:00
audric
bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric
588ae85cda fix at lat types for attachment 2021-07-22 16:13:22 +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
c8f0150aaf fix unread banner position when first unread is visible 2021-07-22 12:30:01 +10:00
audric
c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
2021-07-22 10:20:09 +10:00
audric
e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
audric
6d34a60f94 improve performance by not loading all unread messages 2021-07-21 13:40:21 +10:00
audric
4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
audric
b7df0788c2 move mentions state to the ConversationState 2021-07-20 17:14:04 +10:00
audric
23e9a6d31c move some actions to redux in hooks 2021-07-20 16:58:51 +10:00
Audric Ackermann
0e4d7ec21a
WIP 2021-07-16 09:34:32 +10:00
Audric Ackermann
a54345a42e
put back quote a message logic with hook 2021-07-14 16:36:55 +10:00
Audric Ackermann
511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann
4ca5a4f093
fixup selected message in redux logic 2021-07-14 11:48:57 +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
Brice-W
adab2b4506 add Notifications in conversations context menu 2021-07-13 15:14:43 +10:00
Audric Ackermann
5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-12 13:01:23 +10:00
Audric Ackermann
f0fad6edfa
uniformized props for Message 2021-07-08 16:43:32 +10:00
Audric Ackermann
ee4a0b9b1e
cleanedup redux action openConversationExternal 2021-07-08 16:12:58 +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
4fbb0d48f2
remove index as key 2021-07-07 10:40:02 +10:00
Brice-W
c3bf2a4e96 fixes and tests 2021-07-06 17:16:05 +10:00
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00
Brice-W
75a20e5de7 simplification by using derived data 2021-07-06 15:02:29 +10:00
Audric Ackermann
e451cdd78f
rename message props to messageProps 2021-07-06 14:22:22 +10:00
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Brice-W
4ddc00c9b6 set a limit numer to pinned conversations 2021-07-06 13:34:39 +10:00
Audric Ackermann
f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +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
6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Warrick Corfe-Tan
49415e3bf0 Yarn formatting and linting. 2021-06-29 16:21:45 +10:00
Warrick Corfe-Tan
6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 2021-06-29 10:52:55 +10:00
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Audric Ackermann
93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann
c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 2021-06-17 14:55:25 +10:00
Audric Ackermann
dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Audric Ackermann
f3768a674a
short error on no network for retry sending message 2021-06-03 14:30:58 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +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
a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann
1f509e003d
add a markAllAsRead option on menus 2021-03-19 15:50:46 +11:00
Audric Ackermann
08ce55f1a6
move LeftPane items to hooks 2021-03-16 17:22:46 +11:00
Audric Ackermann
553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
2021-03-05 13:48:58 +11:00
Audric Ackermann
5f862e4c08
remove uneeded passing of models to Data calls 2021-03-05 13:47:46 +11:00