Commit Graph

56 Commits

Author SHA1 Message Date
Audric Ackermann bee00157ef Merge remote-tracking branch 'yougotwill/feature/ses-379/composition-rtl-support' into feature/ses-379/composition-rtl-support 2023-08-18 15:31:25 +10:00
William Grant 83f84c26e7 feat: changed getHTMLDirection into a util hook useHTMLDirection 2023-06-29 11:41:59 +10:00
William Grant 61149a5ca3 feat: use a selector for htmlDirection and pass it down as props instead of using state
this is more inline with class component conventions
2023-06-28 16:21:06 +10:00
Audric Ackermann dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2023-06-28 06:20:45 +02:00
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2023-03-24 16:48:50 +11:00
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 2022-09-08 16:26:43 +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
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 2021-11-03 14:05:44 +11:00
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
2021-08-18 09:55:35 +10:00
audric bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric 8766cf3f8a store offset before refresh of messagesList and restore it 2021-07-22 14:40:35 +10:00
audric e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +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
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Audric Ackermann e451cdd78f
rename message props to messageProps 2021-07-06 14:22:22 +10:00
Audric Ackermann 08ce55f1a6
move LeftPane items to hooks 2021-03-16 17:22:46 +11:00
Audric Ackermann eb30c7823c
add a way to click the toast to turn on microphone to show the settings 2021-03-16 15:19:56 +11:00
Audric Ackermann db167eaf1b fix a bug preventing our avatar to be updated on restore from seed
this was due to the fact that the redux was not ready when our
conversation is created. so the events were not linked
2021-03-02 13:31:12 +11:00
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 2021-01-28 09:46:15 +11:00
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00
Audric Ackermann 135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann dc0733968d
make moderators and groupAdmins a single name 2021-01-19 13:57:05 +11:00
Audric Ackermann 6a776b56f6
fix ban of users on open group 2021-01-19 11:25:14 +11:00
Audric Ackermann 9048913332
split conversation reducer for convo logic
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
2021-01-07 10:51:20 +11:00
Audric Ackermann 1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 2020-11-18 18:48:20 +11:00
Audric Ackermann f9ab90fb71
link backbone message added to redux 2020-11-16 14:45:13 +11:00
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 2020-11-12 12:18:50 +11:00
Audric Ackermann ea617cbc57
remove stuff related to archived state for convo 2020-10-29 16:36:06 +11:00
Audric Ackermann 387f8ff391
Update props of SessionConversation to only get the currently selected convo 2020-10-29 16:23:25 +11:00
Audric Ackermann 42369cb8f2
add redux action to change section of UI 2020-10-19 10:33:40 +11:00
Audric Ackermann 1a379d2466
add theme logic to switch between dark/light theme based on redux store 2020-10-15 10:07:38 +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
Audric Ackermann 66de8d9648
remove plenty of the friend logic 2020-06-15 18:05:14 +10:00
Vincent 1d289c04ed Message reading instantaneous completed 2020-03-17 16:33:53 +11:00
Vincent c074234fcc Broken redux store 2020-03-17 12:08:38 +11:00
Vincent f9af58844c Broken mapStateToProps 2020-03-13 16:36:42 +11:00
Vincent ab414ca10e Microphone 2020-02-27 16:29:01 +11:00
Vincent 5d11ef1457 Header props 2020-02-27 10:01:18 +11:00
Vincent 752ee8a614 Message conditional rendering 2020-02-25 15:20:34 +11:00
Vincent 1689bc617e Message loading with redux 2020-02-24 14:11:54 +11:00
Vincent 3fec09a293 Redux prep for refactor 2020-02-24 10:07:51 +11:00
Vincent cdd19037ba Got it working 2020-02-21 17:57:20 +11:00
Vincent bb0279983d Partially rendered message success and root store manipulation 2020-02-21 16:14:36 +11:00
Vincent c365481aee Started boilerplate getSessionConversationInfo 2020-02-21 14:57:21 +11:00
Vincent a90cae4ac4 Started boilerplate getSessionConversationInfo 2020-02-21 14:30:17 +11:00
Vincent bf5badda3b Working conversation openning 2020-02-21 10:17:04 +11:00