Commit e324cb5
feat!: add text composer and poll composer integration to the message input (#3085)
* chore: modify gh workflows
* feat: removal of StreamChatGenerics (#2993)
* feat: remove StreamChatGenerics and introduce interface merging
* fix: some of the outstanding todos
* chore: add default interfaces
* chore: remove SCG from sample app
* fix: remove redundant types
* fix: remove type module
* fix: change the way interface declaration is consumed
* fix: ignore ts complaints for interface declaration
* chore: migrate TypescriptMessagingApp away from SCG
* chore: migrate the Expo sample app away from SCG
* fix: commit missing files
* fix: revert mistaken change
* fix: add resolutions for symlinked libs
* chore: remove support for react-native-document-picker (#3000)
* BREAKING CHANGE: V7 release candidate
* chore: add rc channel
* fix: typo in branch name
* feat: trigger breaking change for v7 (#3005)
BREAKING CHANGE: Release V7
* chore: remove dryRun
* chore: bump stream-chat version to latest rc
* chore: bump stream-chat to latest
* feat: introduce expo-video support (#3010)
* feat: introduce support for expo-video
* fix: remove redundant test
* fix: add check for audio component
* fix: lint issues
* fix: different types inference with latest stream-chat changes
* chore(deps): update sample apps too
* fix: remove generics from new hook
* fix: remove remnants from SCG and fix missing types
* fix: lint issues
* fix: replace TouchableOpacity with Pressable
* fix: move to RN TouchableOpacity instead
* chore(deps): update peer deps
* chore: remove unused hooks
* chore: remove deps scope
* fix: all instances of FormatMessageResponse in respect to the new llc changes
* chore: ref branch specifically
* fix: try clearing cache
* fix: remove cache clean
* fix: remove console.log
* fix: use latest commit
* fix: use latest rc of llc
* chore: use specific commit again
* fix: SCG remnants from merge
* fix: lint issues
* fix: lint issues
* fix: unify file and image types (#3050)
* fix: unify file and image types
* fix: refine types
* fix: remove props from auto complete input
* chore: update deps
* fix: failing tests and AutoCompleteInput type
* chore: update custom data module interfaces
* fix: change RNFile to FileReference as per latest client changes (#3061)
* fix: merge conflicts
* fix: remove MessageType type from the SDK
* fix: resolve conflicts from V7 branch
* fix: broken tests
* fix: useMessageActions remove reserved fields logic
* revert: useMessageActions change
* fix: confine readBy data to Message Status component
* fix: change date separator and group styles to ref
* fix: add app changes
* feat: use new text composer for RN SDK
* fix: bump stream-chat to latest rc
* chore: bump stream-chat version to latest rc again
* fix: thread messages state not updating properly
* chore: change type to inferred one
* fix: set correct core lib versions
* chore: bump stream-chat to latest rc again
* chore: update sample app yarn.locks as well
* fix: refine the implementation
* fix: add useCallback
* fix: keyboard taking full screen issue when the prefer cross-fade transition setting is enabled (#3073)
* fix: respect the hasCommand channel prop as well
* fix: keybaord taking full screen issue when the prefer cross-fade transition setting is enabled (#3072)
* fix: keybaord taking full screen issue when the prefer cross-fade transition setting is enabled
* chore: bump stream-chat-js rc again
* chore: full reinstall after merge from develop
* fix: add back mistakenly removed mime dep
* feat: add poll composer
* feat: add emoji middleware and make text input better
* fix: add channel command middleware
* fix: add channel command middleware
* fix: remove unused values from message input context
* fix: remove unused values from message input context
* fix: code clean up
* fix: point out a bug with the ban user command
* fix: added option reordering fix
* fix: improve the emoji and command middleware and cleanup
* fix: quoted message state using the message composer
* fix: improve poll composer integration
* fix: reduce prop surface area from auto complete input
* fix: tests
* fix: poll composer crash bug
* fix: change emoji middleware name
* chore: remove workflow changes
* fix: auto complete input changes
* refactor: add improvements
* refactor: add poll changes
* fix: add back react memo
* fix: input buttons hasText optimization
* fix: commands button hastext optimization
* fix: create poll options useEffect
---------
Co-authored-by: Ivan Sekovanikj <[email protected]>
Co-authored-by: Ivan Sekovanikj <[email protected]>1 parent 0b20050 commit e324cb5
File tree
77 files changed
+1961
-8050
lines changed- examples
- ExpoMessaging
- SampleApp
- src/screens
- TypeScriptMessaging
- package
- native-package
- src
- components
- Attachment
- AutoCompleteInput
- __tests__
- Channel
- hooks
- MessageInput
- __tests__
- components
- Message
- MessageSimple
- hooks
- Poll
- components
- hooks
- Reply
- contexts
- __tests__
- channelContext
- messageInputContext
- __tests__
- hooks
- messagesContext
- pollContext
- suggestionsContext
- __tests__
- themeContext/utils
- emoji-data
- i18n
- middlewares
- types
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
77 files changed
+1961
-8050
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4070 | 4070 | | |
4071 | 4071 | | |
4072 | 4072 | | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
4073 | 4078 | | |
4074 | 4079 | | |
4075 | 4080 | | |
| |||
7441 | 7446 | | |
7442 | 7447 | | |
7443 | 7448 | | |
| 7449 | + | |
| 7450 | + | |
| 7451 | + | |
| 7452 | + | |
| 7453 | + | |
| 7454 | + | |
| 7455 | + | |
| 7456 | + | |
| 7457 | + | |
| 7458 | + | |
| 7459 | + | |
| 7460 | + | |
| 7461 | + | |
| 7462 | + | |
| 7463 | + | |
7444 | 7464 | | |
7445 | 7465 | | |
7446 | 7466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
118 | | - | |
119 | | - | |
120 | | - | |
| 123 | + | |
121 | 124 | | |
122 | | - | |
123 | | - | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
150 | 158 | | |
151 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
152 | 171 | | |
153 | 172 | | |
154 | 173 | | |
| |||
168 | 187 | | |
169 | 188 | | |
170 | 189 | | |
171 | | - | |
172 | | - | |
173 | | - | |
| 190 | + | |
174 | 191 | | |
175 | 192 | | |
176 | 193 | | |
177 | 194 | | |
178 | 195 | | |
179 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1054 | 1059 | | |
1055 | 1060 | | |
1056 | 1061 | | |
| |||
2566 | 2571 | | |
2567 | 2572 | | |
2568 | 2573 | | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
2569 | 2586 | | |
2570 | 2587 | | |
2571 | 2588 | | |
| |||
3872 | 3889 | | |
3873 | 3890 | | |
3874 | 3891 | | |
3875 | | - | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
3876 | 3898 | | |
3877 | 3899 | | |
3878 | 3900 | | |
| |||
5931 | 5953 | | |
5932 | 5954 | | |
5933 | 5955 | | |
| 5956 | + | |
| 5957 | + | |
| 5958 | + | |
| 5959 | + | |
| 5960 | + | |
5934 | 5961 | | |
5935 | 5962 | | |
5936 | 5963 | | |
| |||
7582 | 7609 | | |
7583 | 7610 | | |
7584 | 7611 | | |
| 7612 | + | |
| 7613 | + | |
| 7614 | + | |
| 7615 | + | |
| 7616 | + | |
| 7617 | + | |
| 7618 | + | |
| 7619 | + | |
| 7620 | + | |
| 7621 | + | |
| 7622 | + | |
| 7623 | + | |
| 7624 | + | |
| 7625 | + | |
| 7626 | + | |
7585 | 7627 | | |
7586 | 7628 | | |
7587 | 7629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3361 | 3361 | | |
3362 | 3362 | | |
3363 | 3363 | | |
3364 | | - | |
| 3364 | + | |
3365 | 3365 | | |
3366 | 3366 | | |
3367 | 3367 | | |
| |||
6968 | 6968 | | |
6969 | 6969 | | |
6970 | 6970 | | |
| 6971 | + | |
| 6972 | + | |
| 6973 | + | |
| 6974 | + | |
| 6975 | + | |
| 6976 | + | |
| 6977 | + | |
| 6978 | + | |
| 6979 | + | |
| 6980 | + | |
| 6981 | + | |
| 6982 | + | |
| 6983 | + | |
| 6984 | + | |
| 6985 | + | |
6971 | 6986 | | |
6972 | 6987 | | |
6973 | 6988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1819 | 1819 | | |
1820 | 1820 | | |
1821 | 1821 | | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments